File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - " 5 "
3
+ - " 8 "
4
4
- " 6"
5
- before_install :
6
- # Repo for newer Node.js versions
7
- - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
8
- # Repo for Yarn
9
- - sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
10
- - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
11
- - sudo apt-get update -qq
12
- - sudo apt-get install -y -qq yarn
13
- cache :
14
- directories :
15
- - $HOME/.yarn-cache
5
+ cache : yarn
16
6
install :
17
7
- yarn
18
8
script :
Original file line number Diff line number Diff line change 21
21
"url" : " https://github.com/coobaha/postcss-variables-loader"
22
22
},
23
23
"scripts" : {
24
- "audit" : " nsp check package " ,
24
+ "audit" : " nsp check" ,
25
25
"build" : " babel -d ./ ./src" ,
26
26
"check" : " npm run audit" ,
27
27
"coverage" : " nyc --reporter=lcov --reporter=text --reporter=html npm test" ,
28
28
"coveralls" : " npm run coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage" ,
29
29
"lint" : " eslint src test" ,
30
30
"test" : " ava --require babel-core/register -T 7s test/index.js" ,
31
31
"validate" : " npm run lint && npm test" ,
32
- "prepare" : " npm run build && npm run validate"
32
+ "prepare" : " npm run build && npm run validate && nsp check "
33
33
},
34
34
"author" : {
35
35
"name" : " Alexander Ryzhikov" ,
You can’t perform that action at this time.
0 commit comments