|
7 | 7 | "test": "npm run lint && npm run testonly",
|
8 | 8 | "testonly": "jest --verbose",
|
9 | 9 | "tdd": "jest --watch",
|
| 10 | + "commitmsg": "commitlint -e $GIT_PARAMS", |
10 | 11 | "build": "rimraf lib && babel src --out-dir lib && npm run build:dist && cp README.md LICENSE ./lib",
|
11 | 12 | "build:docs": "npm -C www run build",
|
12 | 13 | "build:dist": "rimraf lib/dist && webpack && NODE_ENV=production webpack -p",
|
|
17 | 18 | "deploy-docs": "npm -C www run deploy",
|
18 | 19 | "start": "npm -C www run develop",
|
19 | 20 | "storybook": "start-storybook -p 6006",
|
20 |
| - "build-storybook": "build-storybook" |
| 21 | + "build-storybook": "build-storybook", |
| 22 | + "travis-deploy-once": "travis-deploy-once", |
| 23 | + "semantic-release": "semantic-release" |
21 | 24 | },
|
22 | 25 | "repository": {
|
23 | 26 | "type": "git",
|
24 |
| - "url": "git+https://github.com/reactjs/react-transition-group.git" |
| 27 | + "url": "https://github.com/reactjs/react-transition-group.git" |
25 | 28 | },
|
26 | 29 | "keywords": [
|
27 | 30 | "react",
|
|
52 | 55 | "react-dom": ">=15.0.0"
|
53 | 56 | },
|
54 | 57 | "dependencies": {
|
| 58 | + "@semantic-release/github": "^4.2.8", |
55 | 59 | "dom-helpers": "^3.2.0",
|
56 | 60 | "loose-envify": "^1.3.1",
|
57 | 61 | "prop-types": "^15.5.8"
|
58 | 62 | },
|
59 | 63 | "devDependencies": {
|
| 64 | + "@commitlint/cli": "^6.1.3", |
| 65 | + "@commitlint/config-angular": "^6.1.3", |
| 66 | + "@commitlint/prompt": "^6.1.3", |
| 67 | + "@commitlint/prompt-cli": "^6.1.3", |
| 68 | + "@commitlint/travis-cli": "^6.1.3", |
| 69 | + "@semantic-release/changelog": "^2.0.1", |
| 70 | + "@semantic-release/git": "^4.0.1", |
| 71 | + "@semantic-release/npm": "^3.2.4", |
60 | 72 | "@storybook/addon-actions": "^3.2.11",
|
61 | 73 | "@storybook/react": "^3.2.11",
|
62 | 74 | "babel-cli": "^6.24.0",
|
|
87 | 99 | "react-test-renderer": "^16.0.0",
|
88 | 100 | "release-script": "^1.0.2",
|
89 | 101 | "rimraf": "^2.6.1",
|
| 102 | + "semantic-release": "^15.1.4", |
| 103 | + "semantic-release-alt-publish-dir": "^2.1.0", |
90 | 104 | "sinon": "^2.1.0",
|
| 105 | + "travis-deploy-once": "^4.4.1", |
91 | 106 | "webpack": "^3.6.0",
|
92 | 107 | "webpack-atoms": "^3.0.2"
|
93 | 108 | },
|
94 |
| - "release-script": { |
95 |
| - "altPkgRootFolder": "lib" |
| 109 | + "release": { |
| 110 | + "pkgRoot": "lib", |
| 111 | + "verifyConditions": [ |
| 112 | + "@semantic-release/changelog", |
| 113 | + "semantic-release-alt-publish-dir", |
| 114 | + "@semantic-release/git", |
| 115 | + "@semantic-release/github" |
| 116 | + ], |
| 117 | + "prepare": [ |
| 118 | + "@semantic-release/changelog", |
| 119 | + "semantic-release-alt-publish-dir", |
| 120 | + "@semantic-release/npm", |
| 121 | + "@semantic-release/git" |
| 122 | + ] |
96 | 123 | },
|
97 | 124 | "browserify": {
|
98 | 125 | "transform": [
|
|
0 commit comments