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}}",
"private": true,
"version": "0.1.0",
"description": "",
"main": "",
"scripts": {
"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}}",
"license": "ISC",
"workspaces": ["JS", "TS"],
"engines": {
"npm": ">=7.0.0",
"node": ">=15.0.0"
"node": ">=15.0.0",
"npm": ">=7.0.0"
}
}