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;
|
||||
npm test;
|
||||
else
|
||||
npm run lint && npm test;
|
||||
npm run test:lint && npm test;
|
||||
fi
|
||||
cache:
|
||||
directories:
|
||||
|
@ -38,6 +38,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test",
|
||||
"test:lint": "eslint lib/marked.js test/index.js",
|
||||
"bench": "node test --bench",
|
||||
"lint": "eslint --fix lib/marked.js test/index.js",
|
||||
"build": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user