Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit 4d1ec08

Browse files
committed
setup semantic release
1 parent a692a01 commit 4d1ec08

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

package.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cypress/webpack-preprocessor",
33
"description": "Cypress preprocessor for bundling JavaScript via webpack",
4-
"version": "0.0.1",
4+
"version": "0.0.0-development",
55
"author": "Chris Breiding <chris@cypress.io>",
66
"bugs": "https://github.com/cypress-io/cypress-webpack-preprocessor/issues",
77
"engines": {
@@ -30,24 +30,29 @@
3030
"secure": "nsp check",
3131
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
3232
"test": "mocha",
33-
"test-watch": "chokidar '*.js' 'test/*.js' -c 'npm test'"
33+
"test-watch": "chokidar '*.js' 'test/*.js' -c 'npm test'",
34+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
3435
},
3536
"devDependencies": {
3637
"babel-preset-env": "1.6.0",
3738
"babel-preset-react": "6.24.1",
3839
"ban-sensitive-files": "1.9.0",
3940
"chai": "4.1.2",
4041
"chokidar-cli": "1.2.0",
42+
"condition-circle": "1.5.0",
4143
"dependency-check": "2.9.1",
4244
"deps-ok": "1.2.1",
4345
"dont-crack": "1.2.1",
4446
"eslint": "4.6.1",
4547
"eslint-plugin-cypress-dev": "1.0.0",
4648
"eslint-plugin-mocha": "4.11.0",
49+
"github-post-release": "1.13.1",
4750
"license-checker": "13.0.3",
4851
"mocha": "3.5.0",
4952
"mockery": "2.1.0",
5053
"nsp": "2.7.0",
54+
"semantic-release": "8.2.0",
55+
"simple-commit-message": "3.3.1",
5156
"sinon": "3.2.1",
5257
"sinon-chai": "2.13.0"
5358
},
@@ -57,5 +62,14 @@
5762
"bluebird": "3.5.0",
5863
"debug": "3.0.1",
5964
"webpack": "3.6.0"
65+
},
66+
"release": {
67+
"verifyConditions": "condition-circle",
68+
"analyzeCommits": "simple-commit-message",
69+
"generateNotes": "github-post-release",
70+
"verifyRelease": {
71+
"path": "dont-crack",
72+
"test-against": []
73+
}
6074
}
6175
}

0 commit comments

Comments
 (0)