chore(scripts): use npm run start to run project

This commit is contained in:
Dan Bucholtz
2018-01-04 13:00:38 -06:00
parent 365b80bedb
commit ebfb54ff21
3 changed files with 4 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
## React Demo
To run, run `./run.sh`
To run, run `npm run start`.

View File

@@ -10,7 +10,9 @@
"react-scripts": "1.0.17"
},
"scripts": {
"start": "react-scripts start",
"start-original": "react-scripts start",
"copy": "cp -R ./node_modules/@ionic/core/dist ./public/dist",
"start": "npm run copy && npm run start-original",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"

View File

@@ -1,2 +0,0 @@
cp -R ./node_modules/@ionic/core/dist ./public/dist
npm run start