Skip to content

Commit 2844536

Browse files
committed
fix: use npm instead of yarn
1 parent 35421ce commit 2844536

File tree

6 files changed

+17570
-11046
lines changed

6 files changed

+17570
-11046
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ stages:
2323
- name: demo
2424
if: type != pull_request AND branch = master
2525
- name: release
26-
if: type != pull_request AND branch = master
26+
if: type != pull_request AND branch = master
2727

2828
jobs:
2929
include:
3030
- stage: test
3131
script:
3232
- npx danger ci
33-
- yarn lint
34-
- yarn test:unit --runInBand
35-
- yarn test:e2e --headless
33+
- npm run lint
34+
- npm run test:unit --runInBand
35+
- npm run test:e2e --headless
3636

3737
- stage: demo
38-
script: yarn build:demo
38+
script: npm run build:demo
3939
deploy:
4040
skip_cleanup: true
4141
provider: surge
@@ -44,5 +44,5 @@ jobs:
4444

4545
- stage: release
4646
script:
47-
- yarn build
47+
- npm run build
4848
- npx semantic-release

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,31 @@ Check out the [demo](http://vue-live.surge.sh) for alernative syntaxes to write
3737

3838
## How to contribute
3939

40-
```
41-
yarn install
40+
```sh
41+
npm ci
4242
```
4343

4444
### Compiles and hot-reloads for development
4545

46-
```
47-
yarn serve
46+
```sh
47+
npm run start
4848
```
4949

5050
### Compiles and minifies library for production using rollup
5151

52-
```
53-
yarn build
52+
```sh
53+
npm run build
5454
```
5555

56-
### Run your tests
56+
### Run unit and e2e tests
5757

58-
```
59-
yarn test:unit
58+
```sh
59+
npm run test:unit
60+
npm run test:e2e
6061
```
6162

6263
### Lints and fixes files
6364

64-
```
65-
yarn lint
65+
```sh
66+
npm run lint
6667
```

0 commit comments

Comments
 (0)