-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.68 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "doatask",
"version": "1.0.0",
"description": "learning tool",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "npm run docker:clean || npm run node:clean",
"docker:clean": "docker-clean.cmd",
"node:clean": "node-clean.cmd",
"install:client": "cd client && npm install",
"install:server": "cd server && npm install",
"install": "npm run install:client && npm run install:server",
"start:pg": "node test-env.js && cd server && npm run docker:pg",
"start:dev": "concurrently \"cd server && npm run start:dev\" \"cd client && npm run dev\"",
"start:docker": "node test-env.js && cd server && npm run docker",
"docker": "npm install && npm run build:client && npm run start:docker",
"start": "cd server && npm run start:prod",
"prebuild:client": "shx rm -rf server/client",
"build:client": "cd client && npm run build",
"postbuild:client": "shx cp -r client/dist server/client",
"build:server": "cd server && npm run build",
"build": "npm run build:client && npm run build:server",
"docs:dev": "vitepress dev docs-src",
"docs:build": "vitepress build docs-src",
"docs:serve": "vitepress serve docs-src",
"docs:genapi": "widdershins --environment ./docs-src/.widdershins/env.json ./server/swagger-spec.json -o ./docs-src/reference/api.md",
"predocs:build": "npm run docs:genapi",
"postdocs:build": "shx cp -r docs-src/.vitepress/dist/* docs"
},
"author": "Thomas Kretschmer",
"license": "MIT",
"devDependencies": {
"concurrently": "^6.3.0",
"shx": "^0.3.3",
"vitepress": "^0.19.2",
"widdershins": "^4.0.1",
"shelljs": "^0.8.4"
}
}