We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d390307 commit b91b5c9Copy full SHA for b91b5c9
3 files changed
.travis.yml
@@ -6,5 +6,9 @@ node_js:
6
cache:
7
npm: true
8
9
+script:
10
+ - npm run lint
11
+ - npm run test
12
+
13
after_success:
14
- npm run coveralls
bin/cli.js
@@ -3,6 +3,6 @@
3
4
require('codemod-cli').runTransform(
5
__dirname,
- process.argv[2] /* transform name */,
+ process.argv[2] /* transform name */,
process.argv.slice(3) /* paths or globs */
-)
+);
package.json
@@ -22,6 +22,7 @@
22
"scripts": {
23
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",
24
"deploy": "npm version patch && git push && git push --tags && npm publish",
25
+ "lint": "eslint . --cache",
26
"test": "codemod-cli test --coverage"
27
},
28
"jest": {
0 commit comments