Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Commit 2c43dd5

Browse files
committed
fix(scripts): fix publish script via npm and add script shortcut commit message after lint
1 parent 284b5f7 commit 2c43dd5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
"dev": "node server.js",
1313
"lint": "npx prettier --write .",
1414
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
15-
"postpublish": "yarn publish-npm",
16-
"publish-npm": "yarn publish --access public --ignore-scripts --@andatoshiiki:registry='https://registry.npmjs.org'"
15+
"postpublish": "npm publish-npm",
16+
"publish-npm": "npm publish --access public --ignore-scripts --@andatoshiiki:registry='https://registry.npmjs.org'",
17+
"lint-commit": "git commit -m 'chore(lint): lint all files in project via prettier'"
1718
},
1819
"repository": {
1920
"type": "git",

0 commit comments

Comments
 (0)