This repository has been archived by the owner on Oct 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
142 lines (142 loc) · 5.33 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "konsti-server",
"version": "0.0.1",
"private": true,
"description": "Konsti signup tool server",
"author": {
"name": "Arttu Hanska"
},
"main": "app.ts",
"scripts": {
"build": "npm run build:js",
"build-front:dev": "cd ../konsti-client && npm run build:dev && cd ../konsti-server && npm run copy-front",
"build-front:prod": "cd ../konsti-client && npm run build:prod && cd ../konsti-server && npm run copy-front",
"build-front:staging": "cd ../konsti-client && npm run build:staging && cd ../konsti-server && npm run copy-front",
"build:js": "babel src -d lib --extensions \".ts\"",
"build:types": "tsc --emitDeclarationOnly",
"clean": "rimraf lib",
"copy-front": "rimraf front && ncp ../konsti-client/build ./front",
"deploy-prod": "npm run prepare-deploy:prod && eb deploy konsti-prod",
"deploy-staging": "npm run prepare-deploy:staging && eb deploy konsti-staging",
"docker:start": "docker-compose up --detach --build --remove-orphans",
"docker:stop": "docker-compose down --remove-orphans",
"eslint": "eslint . --ext .js,.ts",
"eslint-rules": "eslint --print-config .eslintrc.js",
"fixer": "npm run build && node lib/statistics/dataFixer.js --",
"generate-data": "npm run build && node lib/test/test-data-generation/runGenerators.js",
"generate-serials": "npm run build && node lib/utils/generateSerials.js",
"lint": "npm run eslint && npm run prettier:check",
"prepare-deploy:prod": "npm run build-front:prod && npm run build",
"prepare-deploy:staging": "npm run build-front:staging && npm run build",
"prettier:check": "prettier --check ./**/*.{js,json,md,ts,yml}",
"prettier:write": "prettier --write ./**/*.{js,json,md,ts,yml}",
"remove-invalid-games": "npm run build && cross-env NODE_ENV=development node lib/test/scripts/removeInvalidGames.js",
"start": "npm run build && node lib/app.js",
"start-dev": "npm run build && cross-env NODE_ENV=development nodemon --ext js,ts,json --exec node lib/app.js",
"stats": "npm run build && node lib/statistics/statGenerator.js --",
"test": "jest",
"test-assign": "npm run build && cross-env NODE_ENV=development node lib/test/scripts/testAssignPlayers.js",
"test:coverage": "jest --coverage --colors",
"test:watch": "jest --watch",
"type-check": "tsc --noEmit",
"update-game-popularity": "npm run build && cross-env NODE_ENV=development node lib/test/scripts/testUpdateGamePopularity.js",
"verify-results": "npm run build && cross-env NODE_ENV=development node lib/test/scripts/testVerifyResults.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"config": {
"mongodbMemoryServer": {
"version": "4.2.6"
}
},
"dependencies": {
"@babel/cli": "7.11.5",
"@babel/core": "7.11.5",
"@babel/node": "7.10.5",
"@babel/preset-env": "7.11.5",
"@babel/preset-typescript": "7.10.4",
"array-flat-polyfill": "1.0.1",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-module-resolver": "4.0.0",
"bcryptjs": "2.4.3",
"body-parser": "1.19.0",
"commander": "6.1.0",
"eventassigner-js": "0.1.6",
"express": "4.17.1",
"express-jwt": "6.0.0",
"express-static-gzip": "2.0.8",
"express-validator": "6.6.1",
"generate-serial-number": "0.0.3",
"helmet": "4.1.0",
"jsonwebtoken": "8.5.1",
"lodash": "4.17.20",
"moment": "2.27.0",
"mongoose": "5.10.2",
"morgan": "1.10.0",
"munkres-js": "1.2.2",
"node-schedule": "1.3.2",
"request": "2.88.2",
"request-promise-native": "1.0.9",
"rimraf": "3.0.2",
"runtypes": "5.0.1",
"winston": "3.3.3",
"winston-daily-rotate-file": "4.5.0"
},
"devDependencies": {
"@types/bcryptjs": "2.4.2",
"@types/body-parser": "1.19.0",
"@types/eslint": "7.2.2",
"@types/eslint-plugin-prettier": "3.1.0",
"@types/express": "4.17.8",
"@types/express-jwt": "0.0.42",
"@types/faker": "4.1.12",
"@types/jest": "26.0.13",
"@types/jsonwebtoken": "8.5.0",
"@types/lodash": "4.14.161",
"@types/mongoose": "5.7.36",
"@types/morgan": "1.9.1",
"@types/ncp": "2.0.4",
"@types/node": "14.6.3",
"@types/node-schedule": "1.3.0",
"@types/nodemon": "1.19.0",
"@types/prettier": "2.1.0",
"@types/request": "2.48.5",
"@types/request-promise-native": "1.0.17",
"@types/rimraf": "3.0.0",
"@types/supertest": "2.0.10",
"@typescript-eslint/eslint-plugin": "4.0.1",
"@typescript-eslint/parser": "4.0.1",
"babel-eslint": "10.1.0",
"babel-jest": "26.3.0",
"cross-env": "7.0.2",
"eslint": "7.8.1",
"eslint-config-prettier": "6.11.0",
"eslint-config-standard-with-typescript": "19.0.1",
"eslint-import-resolver-babel-module": "5.1.2",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jest": "23.20.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-security": "1.4.0",
"eslint-plugin-standard": "4.0.1",
"eslint-plugin-unicorn": "21.0.0",
"faker": "5.1.0",
"husky": "4.2.5",
"jest": "26.4.2",
"lint-staged": "10.2.13",
"mongodb-memory-server": "6.6.7",
"ncp": "2.0.0",
"nodemon": "2.0.4",
"prettier": "2.1.1",
"supertest": "4.0.2",
"typescript": "4.0.2"
},
"engines": {
"node": ">=12.x.x"
}
}