-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
22 lines (22 loc) · 934 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "wikibreeze",
"version": "v1.1.1-beta.1",
"type": "module",
"scripts": {
"prepare": "node -v",
"build": "rimraf ./Wikibreeze && npm run build:backend && npm run build:frontend",
"cp:src": "mkdirp Wikibreeze/src && ncp ./BackEnd/src ./Wikibreeze/src && ncp ./BackEnd/testContent.json ./Wikibreeze/testContent.json",
"build:backend": "cd BackEnd && go build -ldflags \"-s -w\" -o ../Wikibreeze/ && npm run cp:src",
"cp:template": "mkdirp Wikibreeze/src && ncp ./Template/template.css ./Wikibreeze/src/template.css",
"build:frontend": "cd FrontEnd && npm run build && cd ../ && npm run cp:template",
"install": "cd FrontEnd && npm install && cd ../BackEnd && go install"
},
"dependencies": {
"mkdirp": "^3.0.1",
"ncp": "^2.0.0",
"rimraf": "^5.0.1"
},
"devDependencies": {
"@types/node": "^20.6.0"
}
}