mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[misc] upgrade build scripts to version 3.11.0 and cleanup packages
``` npm uninstall prettier-eslint-cli eslint-plugin-standard eslint-plugin-jsx-a11y eslint-plugin-react eslint-config-standard-jsx eslint-config-standard-react babel-eslint npm dedupe ```
This commit is contained in:
parent
8cd225cd2f
commit
95df66924a
6 changed files with 1080 additions and 2152 deletions
|
@ -3,9 +3,9 @@
|
||||||
// https://github.com/sharelatex/sharelatex-dev-environment
|
// https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
|
"eslint:recommended",
|
||||||
"standard",
|
"standard",
|
||||||
"prettier",
|
"prettier",
|
||||||
"prettier/standard"
|
|
||||||
],
|
],
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 2018
|
"ecmaVersion": 2018
|
||||||
|
|
2
services/spelling/.github/dependabot.yml
vendored
2
services/spelling/.github/dependabot.yml
vendored
|
@ -20,4 +20,4 @@ updates:
|
||||||
# future if we reorganise teams
|
# future if we reorganise teams
|
||||||
labels:
|
labels:
|
||||||
- "dependencies"
|
- "dependencies"
|
||||||
- "Team-Magma"
|
- "type:maintenance"
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
# Instead run bin/update_build_scripts from
|
# Instead run bin/update_build_scripts from
|
||||||
# https://github.com/sharelatex/sharelatex-dev-environment
|
# https://github.com/sharelatex/sharelatex-dev-environment
|
||||||
{
|
{
|
||||||
|
"arrowParens": "avoid",
|
||||||
"semi": false,
|
"semi": false,
|
||||||
"singleQuote": true
|
"singleQuote": true,
|
||||||
|
"trailingComma": "es5",
|
||||||
|
"tabWidth": 2,
|
||||||
|
"useTabs": false
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,4 +6,4 @@ spelling
|
||||||
--env-pass-through=
|
--env-pass-through=
|
||||||
--node-version=12.21.0
|
--node-version=12.21.0
|
||||||
--public-repo=False
|
--public-repo=False
|
||||||
--script-version=3.8.0
|
--script-version=3.11.0
|
||||||
|
|
3188
services/spelling/package-lock.json
generated
3188
services/spelling/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -18,9 +18,10 @@
|
||||||
"compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests && npm run compile:smoke_tests",
|
"compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests && npm run compile:smoke_tests",
|
||||||
"nodemon": "nodemon --config nodemon.json",
|
"nodemon": "nodemon --config nodemon.json",
|
||||||
"compile:smoke_tests": "[ ! -e test/smoke/coffee ] && echo 'No smoke tests to compile' || coffee -o test/smoke/js -c test/smoke/coffee",
|
"compile:smoke_tests": "[ ! -e test/smoke/coffee ] && echo 'No smoke tests to compile' || coffee -o test/smoke/js -c test/smoke/coffee",
|
||||||
"lint": "node_modules/.bin/eslint --max-warnings 0 .",
|
"lint": "eslint --max-warnings 0 --format unix .",
|
||||||
"format": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --list-different",
|
"format": "prettier --list-different $PWD/'**/*.js'",
|
||||||
"format:fix": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --write"
|
"format:fix": "prettier --write $PWD/'**/*.js'",
|
||||||
|
"lint:fix": "eslint --fix ."
|
||||||
},
|
},
|
||||||
"version": "0.1.4",
|
"version": "0.1.4",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -38,21 +39,20 @@
|
||||||
"underscore": "1.13.1"
|
"underscore": "1.13.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "4.2.0",
|
"chai": "^4.2.0",
|
||||||
"eslint": "^6.8.0",
|
"chai-as-promised": "^7.1.1",
|
||||||
"eslint-config-prettier": "^6.10.0",
|
"eslint": "^7.21.0",
|
||||||
"eslint-config-standard": "^14.1.0",
|
"eslint-config-prettier": "^8.1.0",
|
||||||
"eslint-plugin-chai-expect": "^2.1.0",
|
"eslint-config-standard": "^16.0.2",
|
||||||
"eslint-plugin-chai-friendly": "^0.5.0",
|
"eslint-plugin-chai-expect": "^2.2.0",
|
||||||
"eslint-plugin-import": "^2.20.1",
|
"eslint-plugin-chai-friendly": "^0.6.0",
|
||||||
"eslint-plugin-mocha": "^6.3.0",
|
"eslint-plugin-import": "^2.22.1",
|
||||||
"eslint-plugin-node": "^11.0.0",
|
"eslint-plugin-mocha": "^8.0.0",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
"eslint-plugin-prettier": "^3.1.2",
|
"eslint-plugin-prettier": "^3.1.2",
|
||||||
"eslint-plugin-promise": "^4.2.1",
|
"eslint-plugin-promise": "^4.2.1",
|
||||||
"eslint-plugin-standard": "^4.0.1",
|
"mocha": "^8.3.2",
|
||||||
"mocha": "^7.1.1",
|
"prettier": "^2.2.1",
|
||||||
"prettier": "^2.0.0",
|
|
||||||
"prettier-eslint-cli": "^5.0.0",
|
|
||||||
"sandboxed-module": "2.0.4",
|
"sandboxed-module": "2.0.4",
|
||||||
"sinon": "^9.0.1"
|
"sinon": "^9.0.1"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue