Skip to content

Commit 0d92807

Browse files
Update webite, edit npm scripts and add config key module.
1 parent 09a947e commit 0d92807

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,17 @@
1919
"url": "https://github.com/robertoentringer/animations.js/issues",
2020
"email": "r.entringer@gmail.com"
2121
},
22-
"homepage": "https://github.com/robertoentringer/animations.js",
22+
"homepage": "https://animations.now.sh",
2323
"main": "src/animations.js",
24+
"module": "src/animations.js",
2425
"unpkg": "dist/animations.js",
2526
"files": [
26-
"src/animations.js",
2727
"dist/**/*.js"
2828
],
2929
"scripts": {
30-
"lint": "eslint --fix src/**",
30+
"lint": "eslint --fix src/**/*.js",
3131
"build": "parcel build src/animations.js --out-dir dist --detailed-report --no-source-maps --no-cache --global animations.js",
32-
"prepare": "npm run lint",
33-
"prepublishOnly": "npm run build",
34-
"preversion": "npm run lint",
32+
"prepack": "npm run lint && npm run build",
3533
"version": "npm run lint && git add -A src",
3634
"postversion": "git push && git push --tags"
3735
},

0 commit comments

Comments
 (0)