Skip to content

Commit ac992d6

Browse files
committed
only run patch-package locally
1 parent 159ca90 commit ac992d6

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
@@ -5,11 +5,10 @@
55
"main": "dist/index.js",
66
"repository": "developit/workerize-loader",
77
"scripts": {
8-
"postinstall": "patch-package",
98
"build": "microbundle --format cjs --no-compress --inline none src/*.js",
109
"prepublishOnly": "npm run build",
11-
"dev": "karmatic watch --no-headless",
12-
"test": "npm run build && karmatic && NODE_ENV=production karmatic -p",
10+
"dev": "patch-package && karmatic watch --no-headless",
11+
"test": "patch-package && npm run build && karmatic && NODE_ENV=production karmatic -p",
1312
"release": "npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
1413
},
1514
"browserslist": [

0 commit comments

Comments
 (0)