mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(scripts): use npm run start to run project
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
## React Demo
|
||||
|
||||
To run, run `./run.sh`
|
||||
To run, run `npm run start`.
|
||||
@@ -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"
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
cp -R ./node_modules/@ionic/core/dist ./public/dist
|
||||
npm run start
|
||||
Reference in New Issue
Block a user