|
|
@@ -13,11 +13,12 @@
|
|
|
"test:unit": "npm run test:unit:_run -- --grep=$MOCHA_GREP",
|
|
|
"start": "node $NODE_APP_OPTIONS app.js",
|
|
|
"nodemon": "nodemon --config nodemon.json",
|
|
|
- "lint": "node_modules/.bin/eslint --max-warnings 0 .",
|
|
|
- "format": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --list-different",
|
|
|
- "format:fix": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --write",
|
|
|
+ "lint": "eslint --max-warnings 0 --format unix .",
|
|
|
+ "format": "prettier --list-different $PWD/'**/*.js'",
|
|
|
+ "format:fix": "prettier --write $PWD/'**/*.js'",
|
|
|
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
|
|
- "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js"
|
|
|
+ "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js",
|
|
|
+ "lint:fix": "eslint --fix ."
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"@overleaf/metrics": "^3.5.1",
|
|
|
@@ -41,26 +42,23 @@
|
|
|
"devDependencies": {
|
|
|
"@google-cloud/storage": "^5.1.2",
|
|
|
"aws-sdk": "^2.718.0",
|
|
|
- "babel-eslint": "^10.1.0",
|
|
|
- "chai": "4.2.0",
|
|
|
+ "chai": "^4.2.0",
|
|
|
"chai-as-promised": "^7.1.1",
|
|
|
"disrequire": "^1.1.0",
|
|
|
- "eslint": "^6.8.0",
|
|
|
- "eslint-config-prettier": "^6.10.0",
|
|
|
- "eslint-config-standard": "^14.1.0",
|
|
|
- "eslint-plugin-chai-expect": "^2.1.0",
|
|
|
- "eslint-plugin-chai-friendly": "^0.5.0",
|
|
|
- "eslint-plugin-import": "^2.20.1",
|
|
|
- "eslint-plugin-mocha": "^6.3.0",
|
|
|
- "eslint-plugin-node": "^11.0.0",
|
|
|
+ "eslint": "^7.21.0",
|
|
|
+ "eslint-config-prettier": "^8.1.0",
|
|
|
+ "eslint-config-standard": "^16.0.2",
|
|
|
+ "eslint-plugin-chai-expect": "^2.2.0",
|
|
|
+ "eslint-plugin-chai-friendly": "^0.6.0",
|
|
|
+ "eslint-plugin-import": "^2.22.1",
|
|
|
+ "eslint-plugin-mocha": "^8.0.0",
|
|
|
+ "eslint-plugin-node": "^11.1.0",
|
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
|
"eslint-plugin-promise": "^4.2.1",
|
|
|
- "eslint-plugin-standard": "^4.0.1",
|
|
|
- "mocha": "7.2.0",
|
|
|
+ "mocha": "^8.3.2",
|
|
|
"mongodb": "^3.5.9",
|
|
|
- "prettier": "^2.0.0",
|
|
|
+ "prettier": "^2.2.1",
|
|
|
"prettier-eslint": "^9.0.2",
|
|
|
- "prettier-eslint-cli": "^5.0.0",
|
|
|
"sandboxed-module": "2.0.4",
|
|
|
"sinon": "9.0.2",
|
|
|
"sinon-chai": "^3.5.0",
|