diff options
author | silverwind <me@silverwind.io> | 2019-12-05 04:41:38 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-12-05 11:41:38 +0800 |
commit | d9c67a8c903fa9927bad28f5fcb816f89f8200eb (patch) | |
tree | b652427ec0da37baf13ea27fd5e0a99ed5c656ec /package.json | |
parent | e80fe201c0e7b1f7a73aa932d4a02068e044f0ce (diff) | |
download | gitea-d9c67a8c903fa9927bad28f5fcb816f89f8200eb.tar.gz gitea-d9c67a8c903fa9927bad28f5fcb816f89f8200eb.zip |
Add Node.js build dep, remove built js/css files (#9114)
- 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
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 1f379fe977..4b3fb2af6f 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "license": "MIT", "private": true, "engines": { - "node": ">=8" + "node": ">=10" }, "devDependencies": { "@babel/core": "7.7.2", |