File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 44 - node
55 - 6
66 - 4
7+ script :
8+ - npm run ci
79after_success :
810- ' ./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ install:
1515test_script :
1616 - node --version
1717 - npm --version
18- - npm test
18+ - npm run ci
Original file line number Diff line number Diff line change 1010 "postcss" : " ./bin/postcss"
1111 },
1212 "scripts" : {
13+ "ci" : " eslint . && nyc ava -v" ,
1314 "clean" : " node test/helpers/clean.js" ,
14- "lint " : " eslint ." ,
15- "pretest" : " npm run clean && npm run lint " ,
15+ "format " : " eslint . --fix " ,
16+ "pretest" : " npm run clean && npm run format " ,
1617 "test" : " nyc ava -v"
1718 },
1819 "dependencies" : {
3738 "eslint-config-problems" : " 0.0.2" ,
3839 "eslint-plugin-prettier" : " ^2.1.2" ,
3940 "nyc" : " ^11.0.2" ,
41+ "per-env" : " ^1.0.2" ,
4042 "postcss-import" : " ^10.0.0" ,
4143 "prettier" : " ^1.5.3" ,
4244 "standard" : " ^10.0.2" ,
You can’t perform that action at this time.
0 commit comments