Skip to content

Commit

Permalink
chore: use yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
xingbofeng committed May 7, 2017
1 parent 80fa0e6 commit f745104
Show file tree
Hide file tree
Showing 4 changed files with 5,861 additions and 9 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ git clone https://github.com/xingbofeng/douban-movie.git
cd douban-movie
npm install
yarn install
node server/index.js
yarn run server
```
Then open your browser, and go to http://localhost:3000/ to enjoy it!

Expand All @@ -36,9 +36,9 @@ git clone https://github.com/xingbofeng/douban-movie.git
cd douban-movie
npm install
yarn install
npm run dev
yarn run dev
```
Then open your browser, and go to http://localhost:8080/ to enjoy it!

Expand All @@ -52,6 +52,7 @@ Then open your browser, and go to http://localhost:8080/ to enjoy it!
- `iView` UI components library
- `vue-lazyload` help us lazyload images
- `rem` + `flex` + `grid` responsive layout in mobile
- `yarn` package manager.
- `postman` test our interface

## What's this?
Expand Down
8 changes: 4 additions & 4 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ git clone https://github.com/xingbofeng/douban-movie.git
cd douban-movie
npm install
yarn install
node server/index.js
yarn run server
```
打开浏览器访问http://localhost:3000/ 体验!

Expand All @@ -42,9 +42,9 @@ git clone https://github.com/xingbofeng/douban-movie.git
cd douban-movie
npm install
yarn install
npm run dev
yarn run dev
```
打开浏览器访问http://localhost:8080/ 体验!

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"build": "node build/build.js",
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
"test": "npm run unit",
"lint": "eslint --ext .js,.vue src test/unit/specs"
"lint": "eslint --ext .js,.vue src test/unit/specs",
"server": "node server/index.js"
},
"dependencies": {
"express": "^4.15.2",
Expand Down
Loading

0 comments on commit f745104

Please sign in to comment.