Skip to content

Commit c32d8a0

Browse files
committed
update the release options in package.json
1 parent 80c8da2 commit c32d8a0

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

package.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"test-storybook": "test-storybook",
1212
"build-lib": "rollup -c",
1313
"watch-lib": "rollup -c --watch",
14-
"release": "release-it"
14+
"release": "release-it",
15+
"release:beta": "release-it --preRelease=beta",
16+
"release:dry": "release-it --dry-run --no-npm"
1517
},
1618
"repository": {
1719
"type": "git",
@@ -20,7 +22,8 @@
2022
"keywords": [
2123
"webstore",
2224
"component",
23-
"library"
25+
"library",
26+
"scientist"
2427
],
2528
"author": "Alisha Evans",
2629
"license": "MIT",
@@ -90,9 +93,36 @@
9093
"react-dom": "^18.2.0"
9194
}
9295
},
96+
"contributors": [
97+
"Alisha Evans (https://github.com/alishaevn)",
98+
"Summer Cook (https://github.com/summer-cook)"
99+
],
93100
"publishConfig": {
101+
"access": "public",
94102
"ignore": [
95103
".eslintrc"
96104
]
105+
},
106+
"release-it": {
107+
"git": {
108+
"commitMessage": "chore: release v${version}",
109+
"push": true,
110+
"commit": true,
111+
"tag": true,
112+
"requireCommits": false,
113+
"requireCleanWorkingDir": true
114+
},
115+
"npm": {
116+
"publish": true,
117+
"ignoreVersion": false,
118+
"allowSameVersion": false
119+
},
120+
"hooks": {
121+
"before:init": "npx eslint './**'",
122+
"after:release": "echo Successfully released ${name} v${version}."
123+
}
124+
},
125+
"npm": {
126+
"publishPath": "dist"
97127
}
98128
}

0 commit comments

Comments
 (0)