Skip to content

Commit

Permalink
feat(frontend): optimize frontend package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
eighteenzheng authored and misitebao committed Feb 23, 2022
1 parent 63573b3 commit ec24d92
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/package.tmpl.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit ec24d92

Please sign in to comment.