chore: add prepare npm-script

This commit is contained in:
Micael Levi L. Cavalcante 2022-05-11 19:30:48 -04:00 committed by GitHub
parent 93a2f49fe7
commit d66ed162cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",