This repository has been archived by the owner on Apr 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.93 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
41
42
43
44
45
{
"name": "wesleyb-sample-docker-autofill",
"version": "1.0.0",
"description": "An auto-fill web service",
"main": "main.js",
"scripts": {
"start": "npm-run-all --sequential build serve",
"start:cached": "npm-run-all --sequential build:cached serve",
"build": "npm-run-all --parallel api client server",
"build:cached": "npm-run-all --parallel api-cached client-cached",
"serve": "npm run server:start",
"serve:docs": "npx http-server dist/docs",
"docs": "npm-run-all --parallel docs:client docs:api",
"docs:opt:setup": "mkdir -p dist/docs",
"docs:client": "npm-run-all --sequential client:opt:setup client:docs",
"docs:api": "npm-run-all --sequential api:opt:setup api:docs",
"test": "npm-run-all --parallel client:test api:test",
"api": "npm-run-all --sequential api:**",
"api-cached": "npm-run-all --sequential api:*",
"api:opt:setup": "cd api && npm ci",
"api:docs": "npm run docs:opt:setup && shx rm -rf dist/docs/api && cd api && npm run docs && shx cp -r docs ../dist/docs/api",
"api:test": "cd api && npm run test",
"client": "npm-run-all --sequential client:**",
"client-cached": "npm-run-all --sequential client:*",
"client:opt:setup": "cd client && npm ci",
"client:build": "shx rm -rf dist/public && cd client && npm run build && shx cp -r build ../dist/public",
"client:docs": "npm run docs:opt:setup && shx rm -rf dist/docs/client && cd client && npm run docs && shx cp -r docs ../dist/docs/client",
"client:test": "cd client && npm run test -- --watchAll=false",
"server": "cd server && npm ci",
"server:start": "cd server && npm run start"
},
"author": "[email protected]",
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "https://github.com/wesleyboar/wesleyb-sample-docker-autofill.git"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"shx": "^0.3.2"
},
"dependencies": {
"koa-router": "^7.4.0"
}
}