Skip to content

Commit

Permalink
Update publish:np script in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsmaerten committed May 2, 2024
1 parent 607d355 commit 309d67f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -86,5 +87,9 @@
"resolutions": {
"minimist": "^1.2.7"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"np": {
"testScript": "yarn package:rebuild && yarn test",
"cleanup": false
}
}

0 comments on commit 309d67f

Please sign in to comment.