|
2 | 2 | "name": "react-radial-progress", |
3 | 3 | "version": "0.0.0-semantically-released", |
4 | 4 | "description": "a radial progress bar in react js and SVG", |
5 | | - "main": "src/index.js", |
| 5 | + "main": "dist/index.js", |
6 | 6 | "scripts": { |
| 7 | + "prebuild": "rm -rf dist && mkdir dist", |
| 8 | + "build": "babel src/RadialProgress.js -o dist/index.js", |
7 | 9 | "commit": "git-cz", |
8 | | - "test": "mocha src/index_test.js -w", |
9 | | - "test:single": "mocha src/index_test.js", |
| 10 | + "check-coverage": "istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100", |
| 11 | + "report-coverage": "cat ./coverage/lcov.info | codecov", |
| 12 | + "test": "mocha src/index_test.js -w --compilers js:babel/register", |
| 13 | + "test:single": "istanbul cover -x *_test.js _mocha -- -R spec src/index_test.js --compilers js:babel/register", |
10 | 14 | "semantic-release": "semantic-release pre && npm publish && semantic-release post" |
11 | 15 | }, |
12 | 16 | "repository": { |
|
27 | 31 | }, |
28 | 32 | "homepage": "https://github.com/samidarko/react-radial-progress#readme", |
29 | 33 | "devDependencies": { |
| 34 | + "babel": "5.8.21", |
30 | 35 | "chai": "3.4.0", |
| 36 | + "codecov": "1.0.1", |
31 | 37 | "commitizen": "2.3.0", |
32 | 38 | "cz-conventional-changelog": "1.1.4", |
33 | 39 | "ghooks": "0.3.2", |
| 40 | + "istanbul": "0.4.0", |
34 | 41 | "mocha": "2.3.3", |
| 42 | + "react": "0.14.1", |
| 43 | + "react-addons-test-utils": "0.14.1", |
35 | 44 | "semantic-release": "^4.3.5" |
36 | 45 | }, |
37 | 46 | "czConfig": { |
|
0 commit comments