|
|
@@ -9,10 +9,13 @@
|
|
|
"react",
|
|
|
"stage-2"
|
|
|
],
|
|
|
- "plugins": ["react-hot-loader/babel"]
|
|
|
+ "plugins": [
|
|
|
+ "react-hot-loader/babel"
|
|
|
+ ]
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
"babel-core": "^6.25.0",
|
|
|
+ "babel-jest": "^20.0.3",
|
|
|
"babel-loader": "^7.1.0",
|
|
|
"babel-preset-es2015": "^6.24.1",
|
|
|
"babel-preset-react": "^6.24.1",
|
|
|
@@ -25,6 +28,7 @@
|
|
|
"eslint-plugin-jsx-a11y": "^5.0.3",
|
|
|
"eslint-plugin-react": "^7.1.0",
|
|
|
"husky": "^0.14.1",
|
|
|
+ "jest": "^20.0.4",
|
|
|
"lint-staged": "^4.0.0",
|
|
|
"react-test-renderer": "^15.6.1",
|
|
|
"webpack": "^3.0.0",
|
|
|
@@ -33,7 +37,8 @@
|
|
|
"scripts": {
|
|
|
"start": "webpack-dev-server --colors --hot --config ./webpack.config.js",
|
|
|
"build": "webpack --progress -p && cp ./public/* ./build",
|
|
|
- "precommit": "lint-staged"
|
|
|
+ "precommit": "lint-staged",
|
|
|
+ "test": "jest --watch"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"prop-types": "^15.5.10",
|