Skip to content

Commit

Permalink
package.json start scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Alyssa Kwan committed Dec 18, 2016
1 parent 261461c commit 6e260d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
5 changes: 3 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "mentoring__react_redux_d3__frontend",
"name": "mentoring__react_redux_d3__client",
"version": "0.0.0",
"private": true,
"author": "Alyssa Kwan <[email protected]>",
Expand All @@ -21,5 +21,6 @@
},
"devDependencies": {
"react-scripts": "0.8.4"
}
},
"proxy": "http://localhost:3001"
}
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "mentoring__react_redux_d3__backend",
"name": "mentoring__react_redux_d3__server",
"version": "0.0.0",
"description": "",
"private": true,
Expand All @@ -11,6 +11,9 @@
},
"repository": "alyssackwan/mentoring__react_redux_d3",
"scripts": {
"start": "concurrently \"npm run start-server\" \"npm run start-client\"",
"start-server": "babel-node server.js",
"start-client": "babel-node start-client.js",
"test": "mocha --compilers js:babel-core/register --recursive",
"test:watch": "npm test -- --watch"
},
Expand All @@ -19,9 +22,12 @@
"babel-core": "^6.21.0",
"babel-preset-es2015": "^6.18.0",
"chai": "^3.5.0",
"concurrently": "^3.1.0",
"mocha": "^3.2.0"
},
"babel": {
"presets": ["es2015"]
"presets": [
"es2015"
]
}
}

0 comments on commit 6e260d4

Please sign in to comment.