Skip to content

Commit 58c37a6

Browse files
authored
fix: correct publish script (#13)
1 parent 004aad3 commit 58c37a6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@
1818
"format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier",
1919
"format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier",
2020
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier",
21-
"prepublishOnly": "prepublishOnly:*",
22-
"prepublishOnly:transpile": "npm-run-all -l -s clean build",
23-
"prepublishOnly:checkout": "git checkout main",
24-
"prepublishOnly:pull": "git pull",
25-
"prepublishOnly:install": "npm ci",
26-
"prepublishOnly:test": "npm test",
21+
"prepublishOnly": "run-s publish:pull publish:install clean build test",
22+
"publish:pull": "git pull",
23+
"publish:install": "npm ci",
24+
"publish:test": "npm test",
2725
"test": "run-s build:demo test:jest",
2826
"test:jest": "jest",
2927
"prepare": "npm run build",

0 commit comments

Comments
 (0)