Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 502ad8d

Browse files
committed
Changing prepublish script to build lib before testing
1 parent 4dc4dbf commit 502ad8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build:lib": "babel src --out-dir lib",
1818
"analyze": "webpack src/index.js dist/index.js --config webpack.config.prod.js --json > stats.json",
1919
"preversion": "npm run test && npm run lint",
20-
"prepublish": "npm test && npm run lint && npm run build && npm run tsdef",
20+
"prepublish": "npm run build:lib && npm test && npm run lint && npm run build:umd && npm run tsdef",
2121
"postversion": "git push && git push --tags",
2222
"publish:beta": "npm publish --tag beta",
2323
"tsdef": "cp -f immutable.d.ts lib/",

0 commit comments

Comments
 (0)