Skip to content

Commit e3c86dc

Browse files
Bootstrap step-1
1 parent 115fcac commit e3c86dc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

step-1/package.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,20 @@
1111
"babel-preset-es2015": "6.6.0",
1212
"babel-preset-react": "6.5.0",
1313
"babel-register": "6.7.2",
14+
"chai": "3.5.0",
1415
"eslint": "2.4.0",
1516
"eslint-plugin-react": "4.2.3",
17+
"jsdom": "8.1.0",
18+
"mocha": "2.4.5",
19+
"react-addons-test-utils": "0.14.7",
1620
"webpack": "1.12.14",
1721
"webpack-dev-server": "1.14.1"
1822
},
1923
"scripts": {
20-
"lint": "eslint src",
24+
"lint": "eslint src tests",
25+
"test": "mocha --compilers js:babel-register tests/index.js",
2126
"bundle": "webpack -p --colors --progress",
2227
"start": "webpack-dev-server -d --colors --inline --content-base public",
23-
"build": "npm run lint && npm run bundle"
28+
"build": "npm run test && npm run lint && npm run bundle"
2429
}
2530
}

0 commit comments

Comments
 (0)