Skip to content

Commit 0d7b77c

Browse files
authored
ready package.json for npm publish
1 parent dc256a0 commit 0d7b77c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

package.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
2-
"name": "backkit-bee",
3-
"version": "1.0.0",
2+
"name": "@backkit/bee",
3+
"version": "0.0.1",
44
"description": "",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1",
8-
"postinstall": "node ./configure.js"
7+
"test": "exit 0",
8+
"postinstall": "node configure.js",
9+
"preversion": "test `git rev-parse --abbrev-ref HEAD` = \"main\" && exit 0 || exit 1",
10+
"postversion": "git push && git push --tags"
911
},
1012
"repository": {
1113
"type": "git",
@@ -22,5 +24,8 @@
2224
"inquirer": "^6.2.0",
2325
"js-beautify": "^1.8.8",
2426
"js-yaml": "^3.12.0"
27+
},
28+
"publishConfig": {
29+
"access": "public"
2530
}
2631
}

0 commit comments

Comments
 (0)