Skip to content

Commit c2a25e8

Browse files
committed
feat(app): Add a jsbeautify script command in package.json
1 parent 7e584d0 commit c2a25e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
"pretest": "npm run lint",
7777
"test": "mocha",
7878
"travis": "npm run cover -- --report lcovonly",
79-
"lint": "node_modules/eslint/bin/eslint.js lib",
80-
"jsbeautify": "node_modules/js-beautify/js/bin/js-beautify.js lib/**/*.js -r",
79+
"lint": "eslint lib",
80+
"jsbeautify": "js-beautify --indent-with-tabs --end-with-newline --space-after-anon-function=false lib/**/*.js -r",
8181
"precover": "npm run lint",
8282
"cover": "istanbul cover -x *.runtime.js node_modules/mocha/bin/_mocha",
8383
"publish-patch": "mocha && npm version patch && git push && git push --tags && npm publish"

0 commit comments

Comments
 (0)