Skip to content

Commit

Permalink
add npm files list + prepublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Feb 7, 2022
1 parent f6fe07c commit 6bc2757
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@
"amd": true
}
},
"files": [
"suncalc.js"
],
"scripts": {
"pretest": "eslint suncalc.js test.js",
"test": "node test.js"
"test": "node test.js",
"prepublishOnly": "npm test"
},
"jshintConfig": {
"quotmark": "single",
Expand Down

0 comments on commit 6bc2757

Please sign in to comment.