-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.92 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": "xrcade-backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"lint": "./node_modules/.bin/tslint -c tslint.json \"test/**/*.ts\" \"src/**/*.ts\"",
"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",
"postgresql:start": "docker run -p 5432:5432 -e POSTGRES_PASSWORD=xrcade-test -e POSTGRES_USER=xrcade-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-xrcade -d redis",
"redis:kill": "docker rm -f redis-xrcade || :",
"redis": "npm run redis:kill && npm run redis:start",
"build": "rm -rf dist && npx webpack --config webpack.config.js",
"postinstall": "npm run build && node scripts/create-orm-config && npm run migrations:run",
"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",
"test": "nyc --extension .ts npm run test:no-spec | tap-spec && nyc report --reporter=text-lcov > coverage.lcov",
"test:no-spec": "NODE_ENV=test ts-node --files -r tsconfig-paths/register node_modules/tape/bin/tape test/**/*.ts"
},
"author": "",
"license": "ISC",
"dependencies": {
"@types/blue-tape": "^0.1.32",
"@types/boom": "^7.2.1",
"@types/connect-redis": "0.0.10",
"@types/convict": "^4.2.1",
"@types/cors": "^2.8.5",
"@types/express": "^4.16.1",
"@types/express-session": "^1.15.13",
"@types/handlebars": "^4.1.0",
"@types/ioredis": "^4.0.10",
"@types/morgan": "^1.7.35",
"@types/passport": "^1.0.0",
"@types/passport-facebook": "^2.1.9",
"axios": "^0.18.0",
"blue-tape": "^1.0.0",
"body-parser": "^1.19.0",
"boom": "^7.3.0",
"class-validator": "^0.9.1",
"connect-redis": "^3.4.1",
"convict": "^5.0.0",
"copy-webpack-plugin": "^5.0.3",
"cors": "^2.8.5",
"dotenv": "^8.0.0",
"express": "^4.17.0",
"express-async-handler": "^1.1.4",
"express-class-validator": "^1.0.3",
"express-session": "^1.16.2",
"handlebars": "^4.1.2",
"ioredis": "^4.9.5",
"morgan": "^1.9.1",
"nyc": "^14.1.1",
"passport": "^0.4.0",
"passport-facebook": "^3.0.0",
"pg": "^8.5.1",
"tap-spec": "^5.0.0",
"ts-loader": "^6.0.0",
"ts-node": "^8.1.0",
"ts-node-dev": "^1.0.0-pre.39",
"tsconfig-paths": "^3.8.0",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typeorm": "^0.2.31",
"typescript": "^3.4.5",
"webpack": "^4.31.0"
},
"devDependencies": {
"tslint": "^5.16.0",
"webpack-cli": "^3.3.2"
}
}