Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.86 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 2.86 KB
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
{
"name": "alpha-code",
"version": "1.0.0",
"description": "Online code challenge platform",
"main": ".dist/index.js",
"scripts": {
"start": "node ./dist/index.js",
"test": "NODE_ENV=test jest",
"dev-start": "NODE_ENV=development ts-node ./src/index.ts",
"dev": "NODE_ENV=development nodemon -e ts -w ./src -x npm run dev-start",
"build-dev": "tsc && npm start",
"build": "rm -rf dist && tsc",
"lint": "tsc --noEmit && eslint 'src/*/**/*.{js,ts,tsx}' --quiet --fix",
"migrate": "ts-jest config:migrate jest.config.js"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
},
"testMatch": [
"**/__tests__/**/*.+(ts|tsx|js)"
]
},
"nodemonConfig": {
"ignore": [
"**/*.test.ts",
"**/*.spec.ts",
".git",
"node_modules"
],
"watch": [
"src/"
],
"exec": "npm run dev",
"ext": "ts"
},
"lint-staged": {
"*.{js,ts}": [
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && lint-staged"
}
},
"license": "ISC",
"dependencies": {
"bcrypt": "^5.0.0",
"celebrate": "^12.1.1",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-session": "^1.17.0",
"jsonwebtoken": "^8.5.1",
"mongoose": "^5.9.7",
"passport": "^0.4.1",
"passport-github": "^1.1.0"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/node": "^7.7.0",
"@babel/polyfill": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/register": "^7.7.0",
"@types/async": "^3.2.5",
"@types/bcrypt": "^3.0.0",
"@types/cors": "^2.8.6",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.2",
"@types/express-session": "^1.17.0",
"@types/hapi__joi": "^17.1.0",
"@types/jest": "^25.1.4",
"@types/jsonwebtoken": "^8.3.9",
"@types/mongoose": "^5.7.8",
"@types/passport": "^1.0.3",
"@types/passport-github": "^1.1.5",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
"async": "^3.2.0",
"babel-eslint": "^10.0.3",
"eslint": "^6.6.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^3.1.0",
"jest": "^25.2.4",
"lint-staged": "^9.4.3",
"nodemon": "^2.0.0",
"prettier": "^1.19.1",
"supertest": "^4.0.2",
"ts-jest": "^25.3.0",
"ts-node": "^8.5.2",
"typescript": "^3.7.2"
}
}