Skip to content

Commit 2b582aa

Browse files
committed
Make sure we test and build before publishing. Now without the pre- script because it doesn't work well with Pika.
1 parent 41cc649 commit 2b582aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@
2929
"test:forwards": "npm i react@next react-dom@next --no-save && npm test",
3030
"test:latest": "npm i react@latest react-dom@latest --no-save && npm test",
3131
"test:compat": "npm run test:backwards && npm run test:forwards && npm run test:latest",
32-
"build": "pack build",
33-
"publish": "pack publish",
34-
"prepublishOnly": "npm run lint && npm run test:compat && npm run build"
32+
"build": "npm run lint && npm run test:compat && npm i && pack build",
33+
"publish": "npm run build && pack publish"
3534
},
3635
"dependencies": {},
3736
"peerDependencies": {

0 commit comments

Comments
 (0)