Skip to content

Commit 5ef1687

Browse files
committed
chore: add prepare script and releases key to configure semantic-release
1 parent fd61a81 commit 5ef1687

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

package.json

+15-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"build:es6": "rollup --config",
1616
"build:standalone:es5": "STANDALONE=yes ENABLE_BABEL=yes rollup --config",
1717
"build:standalone:es6": "STANDALONE=yes rollup --config",
18-
"test": "NODE_ENV='test' jest"
18+
"test": "NODE_ENV='test' jest --silent",
19+
"prepare": "npm run-script build"
1920
},
2021
"repository": {
2122
"type": "git",
@@ -52,5 +53,18 @@
5253
},
5354
"dependencies": {
5455
"qs": "^6.5.2"
56+
},
57+
"release": {
58+
"branches": [
59+
"master",
60+
{
61+
"name": "beta",
62+
"prerelease": true
63+
},
64+
{
65+
"name": "alpha",
66+
"prerelease": true
67+
}
68+
]
5569
}
5670
}

0 commit comments

Comments
 (0)