Slightly simplify scripts & README
This commit is contained in:
Родитель
42fc87564a
Коммит
e7e4ea466c
|
@ -67,14 +67,13 @@ Thinking about integrating with:
|
|||
```bash
|
||||
git clone https://github.com/CatalystCode/ibex-dashboard.git
|
||||
cd ibex-dashboard
|
||||
npm install -g create-react-app
|
||||
npm install -g yarn
|
||||
yarn install
|
||||
yarn
|
||||
```
|
||||
|
||||
### Dev
|
||||
```bash
|
||||
yarn run start:dev
|
||||
yarn start:dev
|
||||
```
|
||||
|
||||
### Test Watcher
|
||||
|
@ -82,12 +81,12 @@ Runs the test watcher in an interactive mode.
|
|||
By default, runs tests related to files changes since the last commit.
|
||||
|
||||
```bash
|
||||
npm test
|
||||
yarn test
|
||||
```
|
||||
|
||||
### Build for Production
|
||||
```bash
|
||||
npm run build
|
||||
yarn build
|
||||
```
|
||||
|
||||
## What’s Inside?
|
||||
|
|
|
@ -44,12 +44,12 @@
|
|||
},
|
||||
"scripts": {
|
||||
"css:build": "node-sass src/ -o src/",
|
||||
"css:watch": "yarn run css:build && node-sass src/ -o src/ --watch --recursive",
|
||||
"css:watch": "yarn css:build && node-sass src/ -o src/ --watch --recursive",
|
||||
"server:start": "yarn start",
|
||||
"client:start": "react-scripts-ts start",
|
||||
"start:dev": "npm-run-all -p css:watch server:start client:start",
|
||||
"start": "node server",
|
||||
"build": "npm run css:build && react-scripts-ts build",
|
||||
"build": "yarn css:build && react-scripts-ts build",
|
||||
"test": "react-scripts-ts test --env=jsdom"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче