-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.87 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "knightapp",
"version": "1.0.0",
"description": "Knightapp is a web app to find possible moves for a knight in a chess game. Created using AEboilerplate.",
"scripts": {
"\n# AEboilerplate commands": "",
"aeboilerplate": "npm i && rimraf .git && npm run api-npm i && npm run docker-stop && npm run generator && rimraf generator",
"generator": "cd generator && npm i && npm run create && cd ../client && prettier --write */*.tsx --loglevel silent",
"\n# API commands": "",
"build-api": "npm i --prefix api",
"api-npm": "docker-compose run --rm api npm",
"api-start": "docker-compose up api",
"api-test-watch": "docker-compose -f docker-compose.test.yml up --remove-orphans",
"atw": "npm run api-test-watch",
"migrate": "npm run migrate --prefix api",
"seed": "npm run seed --prefix api",
"\n# Client commands": "",
"build-client": "npm i --prefix client && npm i --prefix client --only=dev && npm run build --prefix client",
"client-npm": "docker-compose run --rm site npm",
"client-test": "npm run test --prefix client",
"ctw": "npm run client-test",
"\n# Container commands": "",
"docker-stop": "docker-compose stop",
"dstop": "npm run stop-containers",
"docker-ps": "docker ps --format 'table {{.ID}}\t{{.Names}}\t{{.Status}}\t{{.Ports}}'",
"dps": "npm run docker-ps",
"docker-stop-all": "docker stop $(docker ps -q) || true && docker rm $(docker ps -aq) || true",
"dsa": "npm run docker-stop-all",
"docker-prune-network": "docker network prune",
"\n# General commands": "After executing the `npm run aeboilerplate` command, run `npm build && npm start` to use the built version",
"install-dependencies": "npm i && npm run client-npm && npm run api-npm-i && npm run stop-containers",
"i": "npm run install-dependencies",
"build": "npm i && npm run build-client && npm run build-api",
"heroku-postbuild": "npm run build",
"dev": "docker-compose up --remove-orphans",
"start": "npm run migrate && ts-node ./server/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/agencyenterprise/ae-node-boilerplate.git"
},
"author": {
"name": "AE Studio",
"url": "https://ae.studio/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/agencyenterprise/ae-node-boilerplate/issues"
},
"homepage": "https://github.com/agencyenterprise/ae-node-boilerplate#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,scss,md,css,json,yml}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"@types/node": "^8.10.29",
"express": "^4.16.3",
"rimraf": "^2.6.2",
"ts-node": "^7.0.1",
"typescript": "^3.0.3"
},
"devDependencies": {
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"tslint": "^5.15.0"
}
}