Skip to content

Commit e5636ee

Browse files
nickservmihar-22
authored andcommitted
chore: replace yarn with npm
1 parent 08f1a9b commit e5636ee

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

Diff for: .npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

Diff for: .travis.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
sudo: false
22
language: node_js
3-
cache:
4-
yarn: true
5-
directories:
6-
- "~/.npm"
73
notifications:
84
email: false
95
node_js:
106
- '10'
117
- '12'
12-
env:
13-
global:
14-
- PATH=$HOME/.yarn/bin:$PATH
15-
before_install:
16-
- curl -o- -L https://yarnpkg.com/install.sh | bash
17-
install: yarn
18-
script: yarn validate
8+
script: npm run validate
199
jobs:
2010
include:
2111
- stage: release
2212
node_js: '12'
2313
deploy:
2414
provider: script
25-
script: yarn test:update && npx codecov && npx semantic-release
15+
script: npm run test:update && npx codecov && npx semantic-release
2616
skip_cleanup: true
2717
branches:
2818
only: master

Diff for: package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,17 @@
9090
},
9191
"lint-staged": {
9292
"README.md": [
93-
"yarn toc",
93+
"npm run toc",
9494
"prettier --parser markdown --write",
9595
"git add"
9696
],
9797
".all-contributorsrc": [
98-
"yarn contributors:generate",
98+
"npm run contributors:generate",
9999
"git add"
100100
],
101101
"**/*.js": [
102-
"yarn lint",
103-
"yarn test",
102+
"npm run lint",
103+
"npm test",
104104
"git add"
105105
]
106106
},

0 commit comments

Comments
 (0)