-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.57 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
{
"name": "lcpt-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node dist/web",
"start:dev": "ts-node-dev -r tsconfig-paths/register src/index.ts",
"start:dev-fresh": "npm run db && npm run start:dev",
"db": "npm run postgresql && npm run redis && npm run migrations:run",
"db:no-migration": "npm run postgresql && npm run redis",
"postgresql:start": "docker run -p 5432:5432 -e POSTGRES_PASSWORD=lcpt-test -e POSTGRES_USER=lcpt-test -d postgres:10",
"postgresql:kill": "docker ps | grep postgres | awk '{print $1}' | xargs -I {} docker kill {}",
"postgresql": "npm run postgresql:kill && npm run postgresql:start",
"redis:start": "docker run -p 6379:6379 --name redis-lcpt -d redis",
"redis:kill": "docker rm -f redis-lcpt || :",
"redis": "npm run redis:kill && npm run redis:start",
"build": "rm -rf dist && npx webpack --config webpack.config.js",
"migrations:run": "npx ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:run",
"migrations:generate": "npx ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js migration:generate -n migration",
"postinstall": "npm run build && node scripts/create-orm-config && npm run migrations:run",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/connect-redis": "0.0.13",
"@types/convict": "^4.2.1",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.2",
"@types/express-session": "^1.15.16",
"@types/ical": "^0.6.1",
"@types/lodash": "^4.14.149",
"@types/marked": "^0.7.2",
"@types/morgan": "^1.7.37",
"@types/passport": "^1.0.2",
"@types/request-promise-native": "^1.0.17",
"body-parser": "^1.19.0",
"connect-redis": "^4.0.3",
"convict": "^5.2.0",
"copy-webpack-plugin": "^5.1.1",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-handler": "^1.1.4",
"express-session": "^1.17.0",
"express-sms-auth": "^1.0.1",
"ical": "^0.6.0",
"lodash": "^4.17.19",
"marked": "^0.8.0",
"morgan": "^1.9.1",
"passport": "^0.4.1",
"pg": "^7.17.1",
"redis": "^2.8.0",
"request": "^2.88.0",
"request-promise-native": "^1.0.8",
"ts-loader": "^6.2.1",
"ts-node": "^8.6.1",
"ts-node-dev": "^1.0.0-pre.44",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typeorm": "^0.2.22",
"typescript": "^3.7.4",
"webpack": "^4.41.5"
},
"devDependencies": {
"webpack-cli": "^3.3.10"
}
}