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 6e260d4 commit 01b9865
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ npm-debug.log

.DS_Store
.env

.python-version
1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "mentoring__react_redux_d3__client",
"version": "0.0.0",
"description": "",
"private": true,
"author": "Alyssa Kwan <[email protected]>",
"license": "Unlicense",
Expand Down
Empty file added server.js
Empty file.
9 changes: 9 additions & 0 deletions start-client.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const childProcess = require('child_process');

const args = ['start'];
const opts = {
stdio: 'inherit',
cwd: 'client',
shell: true
}
childProcess.spawn('npm', args, opts);

0 comments on commit 01b9865

Please sign in to comment.