|
1 | 1 | { |
2 | 2 | "name": "react-library-skeleton", |
3 | | - "version": "5.0.0", |
| 3 | + "version": "0.0.0-development", |
4 | 4 | "description": "my personal skeleton for React library NPM packages", |
5 | 5 | "main": "lib/index.js", |
6 | 6 | "scripts": { |
|
14 | 14 | "copy-flow-files": "cd src; copy *.js.flow **/*.js.flow ../lib", |
15 | 15 | "build": "rimraf lib && babel src --out-dir lib", |
16 | 16 | "test": "NODE_ENV=production BABEL_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha", |
| 17 | + "test:watch": "mocha --watch $npm_package_config_mocha", |
17 | 18 | "commitmsg": "validate-commit-msg", |
18 | 19 | "precommit": "npm run lint && flow", |
19 | 20 | "prepush": "npm test", |
20 | 21 | "prepublish": "npm run lint && flow && npm test && npm run build && npm run copy-flow-files", |
21 | | - "storybook": "start-storybook -p 6006", |
22 | | - "build-storybook": "build-storybook", |
23 | | - "open:coverage": "open coverage/lcov-report/index.html" |
| 22 | + "open:coverage": "open coverage/lcov-report/index.html", |
| 23 | + "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
24 | 24 | }, |
25 | 25 | "config": { |
26 | 26 | "mocha": "--compilers js:babel-core/register -r jsdom-global/register ./test/**.js", |
|
74 | 74 | "copy": "^0.3.0", |
75 | 75 | "coveralls": "^2.11.15", |
76 | 76 | "enzyme": "^2.7.0", |
77 | | - "eslint": "^3.13.0", |
78 | | - "eslint-plugin-flowtype": "^2.29.2", |
| 77 | + "babel-cli": "^6.22.2", |
| 78 | + "babel-core": "^6.22.1", |
| 79 | + "babel-eslint": "^7.1.1", |
| 80 | + "babel-plugin-istanbul": "^4.0.0", |
| 81 | + "babel-plugin-transform-runtime": "^6.22.0", |
| 82 | + "babel-preset-es2015": "^6.22.0", |
| 83 | + "babel-preset-flow": "^6.23.0", |
| 84 | + "babel-preset-stage-1": "^6.22.0", |
| 85 | + "babel-register": "^6.22.0", |
| 86 | + "babel-runtime": "^6.22.0", |
| 87 | + "chai": "^3.5.0", |
| 88 | + "copy": "^0.3.0", |
| 89 | + "coveralls": "^2.11.16", |
| 90 | + "eslint": "^3.13.1", |
| 91 | + "eslint-plugin-flowtype": "^2.30.0", |
79 | 92 | "eslint-plugin-react": "^6.8.0", |
80 | 93 | "eslint-watch": "^3.0.0", |
81 | 94 | "flow-bin": "^0.41.0", |
|
85 | 98 | "jsdom": "^9.9.1", |
86 | 99 | "jsdom-global": "^2.1.1", |
87 | 100 | "mocha": "^3.2.0", |
88 | | - "nyc": "^10.0.0", |
| 101 | + "nyc": "^10.1.2", |
89 | 102 | "react": "^15.4.2", |
90 | 103 | "react-addons-test-utils": "^15.4.2", |
91 | 104 | "react-dom": "^15.4.2", |
92 | 105 | "react-hot-loader": "^3.0.0-beta.2", |
93 | 106 | "rimraf": "^2.5.4", |
| 107 | + "semantic-release": "^6.3.6", |
94 | 108 | "validate-commit-msg": "^2.8.2" |
95 | 109 | }, |
96 | 110 | "peerDependencies": { |
|
0 commit comments