Skip to content

Commit 60b7e18

Browse files
committed
Only publish built files
1 parent fe18398 commit 60b7e18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
"build": "node node_modules/webpack-cli/bin/cli.js --config webpack.prod.js",
1111
"watch": "node node_modules/webpack-cli/bin/cli.js watch --config webpack.dev.js",
1212
"test": "node node_modules/jest/bin/jest.js",
13-
"docs": "node node_modules/documentation/bin/documentation.js build -f html -o docs src/index.js"
13+
"docs": "node node_modules/documentation/bin/documentation.js build -f html -o docs src/index.js",
14+
"prepublishOnly": "yarn && yarn build"
1415
},
16+
"files": ["dist/"],
1517
"dependencies": {
1618
"eventemitter3": "^5.0.1"
1719
},

0 commit comments

Comments
 (0)