Skip to content

Commit a73c960

Browse files
committed
build(package.json): add script to release beta to npm
1 parent 916a050 commit a73c960

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"editor.formatOnSave": true,
3-
"editor.tabSize": 2
3+
"editor.tabSize": 2,
4+
"files.insertFinalNewline": true
45
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"prerelease": "npm run lint",
1313
"release": "np --no-publish",
1414
"postrelease": "npm run build && npm publish dist",
15+
"release-beta": "np --no-publish --any-branch",
16+
"postrelease-beta": "npm run build && npm publish dist --tag beta",
1517
"test": "tsc --noEmit",
1618
"prettier": "prettier \"lib/**/*.ts\" --config \"./.prettierrc.json\" -l",
1719
"prettier-fix": "prettier \"**/*.ts\" --config \"./.prettierrc.json\" --write",

0 commit comments

Comments
 (0)