mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add linting tasks to package.json
This commit is contained in:
parent
35d050a49c
commit
230baef8fa
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@
|
|||
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
||||
"start": "node $NODE_APP_OPTIONS app.js",
|
||||
"nodemon": "nodemon --config nodemon.json",
|
||||
"lint": "eslint -f unix .",
|
||||
"format": "prettier-eslint \"$(pwd)/**/*.js\" --list-different",
|
||||
"format:fix": "prettier-eslint \"$(pwd)/**/*.js\" --write",
|
||||
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 30000 --exit $@ test/acceptance/js",
|
||||
"test:unit:_run": "mocha --recursive --reporter spec --exit $@ test/unit/js"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue