Skip to content

Commit 4eeb26a

Browse files
committed
add codecov and yarn
1 parent e815a2e commit 4eeb26a

File tree

3 files changed

+5146
-1
lines changed

3 files changed

+5146
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
2+
coverage
23
*dist
34
npm-debug.log

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@
1212
"dev-server": "node ./example/dist/server",
1313
"gh-pages": "NODE_ENV=production webpack --progress --colors",
1414
"test": "BABEL_ENV=test jest",
15+
"test:watch": "BABEL_ENV=test jest --watch",
1516
"prettier": "prettier --tab-width 4 --single-quote --trailing-comma es5 --print-width 80 --write \"{src,examples,__tests__}/**/**/**/*.js\"",
1617
"prepublish": "babel ./src --out-dir ./lib --presets es2015,react,stage-0 --plugins babel-plugin-add-module-exports"
1718
},
1819
"jest": {
1920
"modulePaths": [
2021
"<rootDir>/src/"
21-
]
22+
],
23+
"coverageDirectory": "./coverage/",
24+
"collectCoverage": true
2225
},
2326
"keywords": [
2427
"react",
@@ -43,6 +46,7 @@
4346
"babel-preset-es2015": "^6.24.1",
4447
"babel-preset-react": "^6.23.0",
4548
"babel-preset-stage-0": "^6.24.1",
49+
"codecov": "^3.0.0",
4650
"cross-env": "^3.1.4",
4751
"css-loader": "^0.28.0",
4852
"express": "^4.14.1",

0 commit comments

Comments
 (0)