test lint instead of fixing it in travis
This commit is contained in:
parent
56d1bcf183
commit
2953012840
@ -9,7 +9,7 @@ script: |
|
|||||||
sed -i s/0o755/0755/ test/index.js;
|
sed -i s/0o755/0755/ test/index.js;
|
||||||
npm test;
|
npm test;
|
||||||
else
|
else
|
||||||
npm run lint && npm test;
|
npm run test:lint && npm test;
|
||||||
fi
|
fi
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node test",
|
"test": "node test",
|
||||||
|
"test:lint": "eslint lib/marked.js test/index.js",
|
||||||
"bench": "node test --bench",
|
"bench": "node test --bench",
|
||||||
"lint": "eslint --fix lib/marked.js test/index.js",
|
"lint": "eslint --fix lib/marked.js test/index.js",
|
||||||
"build": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",
|
"build": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user