Skip to content
This repository was archived by the owner on Apr 9, 2022. It is now read-only.

Commit 3c62e87

Browse files
committed
use yarn
1 parent fc6f60b commit 3c62e87

File tree

4 files changed

+7758
-11
lines changed

4 files changed

+7758
-11
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PYTHON_BIN = $(shell cd server && pipenv --venv)/bin/python
33
python_bin:
44
pushd server; pipenv install --dev; popd;
55

6-
database: python_bin
6+
database: python_bin
77
$(PYTHON_BIN) ./server/manage.py makemigrations api --noinput
88
$(PYTHON_BIN) ./server/manage.py migrate --noinput
99

@@ -15,10 +15,10 @@ server-dev: python_bin
1515
$(PYTHON_BIN) ./server/manage.py runserver --settings=server.settings
1616

1717
client/node_modules:
18-
npm --prefix=./client install
18+
yarn --cwd=./client install
1919

2020
client-dist: client/node_modules
21-
npm --prefix=./client run build
21+
yarn --cwd=./client run build
2222

2323
clean:
2424
find . -name \*.pyc -o -name -delete

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ An example [Vue.js](https://github.com/vuejs/vue) project featuring an unstyled
99
- python 3.6
1010
- pipenv 11.10.0
1111
- node 8.9.0
12-
- npm 5.6.0
12+
- yarn 1.6.0+

client/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
``` bash
44
# install dependencies
5-
npm install
5+
yarn install
66

77
# serve with auto-reload at localhost:8080
8-
npm run dev
8+
yarn run dev
99

1010
# build for production with minification
11-
npm run build
11+
yarn run build
1212

1313
# build for production and view the bundle analyzer report
14-
npm run build --report
14+
yarn run build --report
1515

1616
# run unit tests
17-
npm run unit
17+
yarn run unit
1818

1919
# run e2e tests
20-
npm run e2e
20+
yarn run e2e
2121

2222
# run all tests
23-
npm test
23+
yarn test
2424
```
2525

2626
For more details on the build setup see [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

0 commit comments

Comments
 (0)