2020-10-23 21:50:02 +00:00
|
|
|
# getbible
|
|
|
|
|
2020-10-23 23:55:18 +00:00
|
|
|
# install dependencies
|
2020-10-23 21:50:02 +00:00
|
|
|
```
|
2020-10-23 23:55:18 +00:00
|
|
|
npm install
|
2020-10-23 21:50:02 +00:00
|
|
|
```
|
2020-10-23 23:55:18 +00:00
|
|
|
# run electron server
|
2020-10-23 21:50:02 +00:00
|
|
|
```
|
2020-11-02 12:33:25 +00:00
|
|
|
npm run getbible:serve
|
2020-10-23 21:50:02 +00:00
|
|
|
```
|
2020-10-23 23:55:18 +00:00
|
|
|
# serve with hot reload at localhost:8080
|
2020-10-23 21:50:02 +00:00
|
|
|
```
|
2020-10-23 23:55:18 +00:00
|
|
|
npm run dev
|
2020-10-23 21:50:02 +00:00
|
|
|
```
|
2020-10-23 23:55:18 +00:00
|
|
|
# build for production with minification
|
2020-10-23 21:50:02 +00:00
|
|
|
```
|
2020-10-23 23:55:18 +00:00
|
|
|
npm run build
|
|
|
|
```
|
|
|
|
# build for production and view the bundle analyzer report
|
|
|
|
```
|
|
|
|
npm run build --report
|
|
|
|
```
|
|
|
|
# run unit tests
|
|
|
|
```
|
|
|
|
npm run unit
|
|
|
|
```
|
|
|
|
# run all tests
|
|
|
|
```
|
|
|
|
npm test
|
2020-10-23 21:50:02 +00:00
|
|
|
```
|
|
|
|
### Customize configuration
|
|
|
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|