forked from lukeautry/ts-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.78 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
76
77
78
79
80
{
"name": "ts-app",
"version": "1.0.0",
"description": "Boilerplate project for a TypeScript API (Express, tsoa) + UI (React/TSX)",
"repository": "https://github.com/lukeautry/ts-app",
"author": "Luke Autry <[email protected]>",
"license": "MIT",
"scripts": {
"start": "ts-node -P tsconfig-base.json ./dev/start.ts",
"build:api": "yarn tsc -p ./api/tsconfig.json",
"start:api": "yarn build:api && yarn tsoa:gen && node ./api/dist/start-server.js",
"tsoa:gen": "yarn tsoa swagger -c ./api/tsoa.json && yarn tsoa routes -c ./api/tsoa.json",
"start:web": "cross-env TS_NODE_PROJECT=./web/tsconfig.json webpack-dev-server --config web/webpack.config.ts",
"build:web": "cross-env TS_NODE_PROJECT=./web/tsconfig.json webpack --config web/webpack.config.ts",
"typeorm": "ts-node -P ./api/tsconfig.json ./node_modules/.bin/typeorm",
"db:migrate": "ts-node -P ./tsconfig-base.json ./dev/db/migrate.ts",
"db:update": "yarn typeorm migration:run",
"test": "cross-env TS_NODE_PROJECT=./api/tsconfig.json mocha -t 15000 -r ts-node/register \"./api/**/*.spec.ts\""
},
"dependencies": {
"body-parser": "^1.18.3",
"chalk": "^2.4.2",
"express": "^4.16.4",
"ioredis": "^4.9.0",
"method-override": "^3.0.0",
"moment": "^2.24.0",
"pg": "^7.9.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"reflect-metadata": "^0.1.13",
"superagent": "^5.0.2",
"tsoa": "^2.3.81",
"typeorm": "^0.2.16"
},
"devDependencies": {
"@types/body-parser": "^1.17.0",
"@types/chai": "^4.1.7",
"@types/chalk": "^2.2.0",
"@types/chokidar": "^2.1.3",
"@types/express": "^4.16.1",
"@types/html-webpack-plugin": "^3.2.0",
"@types/ioredis": "^4.0.10",
"@types/method-override": "^0.0.31",
"@types/mini-css-extract-plugin": "^0.2.0",
"@types/minimatch": "^3.0.3",
"@types/mocha": "^5.2.6",
"@types/node": "^11.13.0",
"@types/react": "^16.8.12",
"@types/react-dom": "^16.8.3",
"@types/readline-sync": "^1.4.3",
"@types/superagent": "^4.1.1",
"@types/webpack": "^4.4.27",
"@types/webpack-dev-server": "^3.1.5",
"chai": "^4.2.0",
"chokidar": "^2.1.5",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
"docker-compose": "^0.14.2",
"html-webpack-plugin": "^3.2.0",
"keypress": "^0.2.1",
"mini-css-extract-plugin": "^0.5.0",
"minimatch": "^3.0.4",
"mocha": "^6.0.2",
"node-sass": "^4.11.0",
"openapi-ts-client-gen": "^1.0.4",
"readline-sync": "^1.4.9",
"sass-loader": "^7.1.0",
"ts-loader": "^5.3.3",
"ts-node": "^8.0.3",
"tslint": "^5.15.0",
"tslint-loader": "^3.5.4",
"typescript": "^3.4.2",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1"
},
"resolutions": {
"@types/webpack": "4.4.27"
}
}