Skip to content

Commit a0fe71f

Browse files
committed
Merge branch 'cmd.exe' of github.com:rofrol/reactjs_koans into merge_rolof_pr
2 parents f7ed86a + 16badeb commit a0fe71f

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
"description": "React.js Koans",
55
"main": "index.js",
66
"scripts": {
7-
"compile": "babel exercises --out-dir src > /dev/null 2>&1",
7+
"compile": "babel exercises --out-dir src",
88
"setup": "npm install && ncp koans/ exercises/",
9-
"start": "npm run compile > /dev/null 2>&1 && nodemon server.js",
10-
"test": "npm run compile > /dev/null 2>&1 && mocha -b --compilers js:babel/register -r test/helpers.js test/**/*.js || true",
9+
"nodemon": "nodemon",
10+
"start": "npm run compile && npm run nodemon server.js",
11+
"mocha": "mocha",
12+
"test": "npm run compile && npm run mocha",
1113
"watch": "onchange exercises/*.jsx -- npm run test"
1214
},
1315
"repository": {

test/mocha.opts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--compilers js:babel/register
2+
--require test/helpers.js
3+
--bail

0 commit comments

Comments
 (0)