forked from Shiloh/githaven
d9c67a8c90
- Added Node.js as build dependency and removes build files from git. - Added version checks for both Go and Node.js. - Overhauled the js/css make target to only run when needed. - Merged the `generate` make target into `build` as per suggestion. Fixes: https://github.com/go-gitea/gitea/issues/6782 Fixes: https://github.com/go-gitea/gitea/issues/9216
37 lines
875 B
JSON
37 lines
875 B
JSON
{
|
|
"license": "MIT",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.7.2",
|
|
"@babel/plugin-transform-runtime": "7.6.2",
|
|
"@babel/preset-env": "7.7.1",
|
|
"@babel/runtime": "7.7.2",
|
|
"autoprefixer": "9.7.1",
|
|
"babel-loader": "8.0.6",
|
|
"core-js": "3.4.1",
|
|
"css-loader": "3.2.0",
|
|
"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",
|
|
"style-loader": "1.0.0",
|
|
"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"
|
|
]
|
|
}
|