-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update publish:np script in package.json
- Loading branch information
1 parent
607d355
commit 309d67f
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,8 @@ | |
"build": "tsc", | ||
"package": "yarn pkg ./dist/index.js --config ./package.json", | ||
"package:rebuild": "yarn build && yarn package", | ||
"publish:np": "yarn build && np --no-cleanup && yarn package --compress Brotli", | ||
"publish:np": "yarn np", | ||
"postpublish": "yarn package --compress Brotli", | ||
"test": "jest", | ||
"lint:fix": "yarn prettier ./src --write", | ||
"lint": "yarn prettier ./src --check" | ||
|
@@ -86,5 +87,9 @@ | |
"resolutions": { | ||
"minimist": "^1.2.7" | ||
}, | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"np": { | ||
"testScript": "yarn package:rebuild && yarn test", | ||
"cleanup": false | ||
} | ||
} |