Skip to content

Commit 561f1ea

Browse files
committed
Fix file dist
1 parent f29b47b commit 561f1ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
"description": "Easily wait for an element to complete it's transition using native vanilla JavaScript",
55
"main": "dist/wait-for-element-transition.js",
66
"types": "dist/wait-for-element-transition.d.ts",
7+
"files": [
8+
"dist/**/*"
9+
],
710
"scripts": {
811
"test": "karma start karma.conf.js && npm run lint",
912
"test-server": "karma start karma.conf.js --single-run=false",
1013
"preversion": "npm test",
1114
"minify": "uglifyjs dist/wait-for-element-transition.js -o dist/wait-for-element-transition.min.js",
1215
"build": "rm -rf dist/* && rollup -c && npm run minify",
1316
"banner": "banner-cli dist/*.js",
14-
"version": "npm run build && npm run banner && git add -A dist",
17+
"version": "npm run build && npm run banner",
1518
"postversion": "git push && git push --tags",
1619
"start": "rollup -c --watch",
1720
"lint": "npm run lint:scripts && npm run lint:format",

0 commit comments

Comments
 (0)