chore: add prepare
npm-script
This commit is contained in:
parent
93a2f49fe7
commit
d66ed162cf
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
"build": "rimraf -rf dist && tsc -p tsconfig.json",
|
"build": "rimraf -rf dist && tsc -p tsconfig.json",
|
||||||
"format": "prettier --write \"{lib}/**/*.ts\"",
|
"format": "prettier --write \"{lib}/**/*.ts\"",
|
||||||
"lint": "eslint 'lib/**/*.ts' --fix",
|
"lint": "eslint 'lib/**/*.ts' --fix",
|
||||||
|
"prepare": "npm run build",
|
||||||
"prepublish:npm": "npm run build",
|
"prepublish:npm": "npm run build",
|
||||||
"publish:npm": "npm publish --access public",
|
"publish:npm": "npm publish --access public",
|
||||||
"publish:beta": "npm publish --access public --tag beta",
|
"publish:beta": "npm publish --access public --tag beta",
|
||||||
|
|
Loading…
Reference in a new issue