feat(frontend): optimize frontend package.json

This commit is contained in:
crushonyou18 2022-02-23 12:23:54 +08:00 committed by Misitebao
parent 63573b3ee3
commit ec24d9281c

View File

@ -1,17 +1,18 @@
{ {
"name": "{{.ProjectName}}", "name": "{{.ProjectName}}",
"private": true,
"version": "0.1.0", "version": "0.1.0",
"description": "", "description": "",
"main": "", "main": "",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "cp -f index.js.html JS/index.html & cp -f index.ts.html TS/index.html && rm -rf *.html" "postinstall": "((cp -f index.js.html JS/index.html) & (cp -f index.ts.html TS/index.html))& rm -rf *.html"
}, },
"author": "{{.AuthorName}}", "author": "{{.AuthorName}}",
"license": "ISC", "license": "ISC",
"workspaces": ["JS", "TS"], "workspaces": ["JS", "TS"],
"engines": { "engines": {
"npm": ">=7.0.0", "node": ">=15.0.0",
"node": ">=15.0.0" "npm": ">=7.0.0"
} }
} }