Skip to content

Commit d5b17b8

Browse files
committed
Added bin fields + bump/publish scripts
1 parent 023d6c6 commit d5b17b8

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

generate-pw/package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,18 @@
1010
"homepage": "https://github.com/adamlui/js-utils",
1111
"license": "MIT",
1212
"main": "generate-pw.js",
13+
"bin": {
14+
"generatepw": "generate-pw.js",
15+
"generate-pw": "generate-pw.js"
16+
},
1317
"scripts": {
14-
"test": "echo \"Error: no test specified\" && exit 1"
18+
"test": "echo \"Error: no test specified\" && exit 1",
19+
"bump:patch": "bash utils/bump.sh patch",
20+
"bump:minor": "bash utils/bump.sh minor",
21+
"bump:major": "bash utils/bump.sh major",
22+
"publish:patch": "bash utils/bump.sh patch --publish",
23+
"publish:minor": "bash utils/bump.sh minor --publish",
24+
"publish:major": "bash utils/bump.sh major --publish"
1525
},
1626
"repository": {
1727
"type": "git",

0 commit comments

Comments
 (0)