mirror of
https://github.com/go-gitea/gitea
synced 2025-08-14 05:28:27 +00:00
modernize js and use babel (#8973)
* modernize js and use babel - add babel toolchain to transform modern JS to ES5 - extend eslint config for modern rules - fixes linting issues via `eslint --fix` and manual fixes * run 'make css' to satisfy CI * code style tweaks and set js indendation to 2 in .editorconfig * regenerate js
This commit is contained in:
17
package.json
17
package.json
@@ -5,14 +5,21 @@
|
||||
"node": ">=8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "9.6.1",
|
||||
"eslint": "6.3.0",
|
||||
"@babel/core": "7.7.2",
|
||||
"@babel/preset-env": "7.7.1",
|
||||
"autoprefixer": "9.7.1",
|
||||
"babel-loader": "8.0.6",
|
||||
"core-js": "3.4.1",
|
||||
"eslint": "6.6.0",
|
||||
"eslint-config-airbnb-base": "14.0.0",
|
||||
"eslint-plugin-import": "2.18.2",
|
||||
"less": "3.10.3",
|
||||
"less-plugin-clean-css": "1.5.1",
|
||||
"postcss-cli": "6.1.3",
|
||||
"stylelint": "10.1.0",
|
||||
"stylelint-config-standard": "18.3.0",
|
||||
"updates": "8.5.3",
|
||||
"stylelint": "11.1.1",
|
||||
"stylelint-config-standard": "19.0.0",
|
||||
"terser-webpack-plugin": "2.2.1",
|
||||
"updates": "9.0.1",
|
||||
"webpack": "4.41.2",
|
||||
"webpack-cli": "3.3.10"
|
||||
},
|
||||
|
Reference in New Issue
Block a user