mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 19:19:39 +08:00
3621944c2d
* 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
33 lines
739 B
JSON
33 lines
739 B
JSON
{
|
|
"license": "MIT",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"devDependencies": {
|
|
"@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": "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"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 firefox versions",
|
|
"last 2 safari versions",
|
|
"ie 11"
|
|
]
|
|
}
|