Merge pull request #17 from micalevisk/master
chore: add `prepare` npm-script to build the code
This commit is contained in:
commit
75714d77e8
2 changed files with 3 additions and 2 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "nestjs-http-promise",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.3",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "nestjs-http-promise",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"keywords": [
|
||||
"nestjs",
|
||||
"http",
|
||||
|
@ -19,6 +19,7 @@
|
|||
"build": "rimraf -rf dist && tsc -p tsconfig.json",
|
||||
"format": "prettier --write \"{lib}/**/*.ts\"",
|
||||
"lint": "eslint 'lib/**/*.ts' --fix",
|
||||
"prepare": "npm run build",
|
||||
"prepublish:npm": "npm run build",
|
||||
"publish:npm": "npm publish --access public",
|
||||
"publish:beta": "npm publish --access public --tag beta",
|
||||
|
|
Loading…
Reference in a new issue