Merge pull request #17 from micalevisk/master

chore: add `prepare` npm-script to build the code
This commit is contained in:
benhason1 2022-05-14 09:03:15 +03:00 committed by GitHub
commit 75714d77e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{ {
"name": "nestjs-http-promise", "name": "nestjs-http-promise",
"version": "1.2.1", "version": "1.2.3",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View file

@ -1,6 +1,6 @@
{ {
"name": "nestjs-http-promise", "name": "nestjs-http-promise",
"version": "1.2.2", "version": "1.2.3",
"keywords": [ "keywords": [
"nestjs", "nestjs",
"http", "http",
@ -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",