-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.38 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.38 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
{
"name": "senren-backend",
"version": "0.0.1",
"description": "Senren backend",
"main": "./dist/src/index",
"scripts": {
"start": "npm run build && npm run serve",
"dev": "cross-env NODE_ENV=development ts-node-dev --respawn src/index.ts",
"build": "cross-env NODE_ENV=production npm run build-ts",
"serve": "node ./dist/index.js",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"lint": "eslint . --ext .js,.ts",
"test": "cross-env NODE_ENV=test jest --testTimeout=100000 --runInBand --detectOpenHandles ",
"lint-fix": "prettier --write \"src/**/*.ts*\" && eslint . --ext .js,.ts --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xdk78/senren-backend.git"
},
"author": "xdk78 <xdk78888@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/xdk78/senren-backend/issues"
},
"homepage": "https://github.com/xdk78/senren-backend#readme",
"dependencies": {
"base64url": "^3.0.1",
"bcrypt": "^4.0.1",
"consola": "^2.11.3",
"cors": "^2.8.5",
"fastify": "^2.13.0",
"fastify-circuit-breaker": "^0.1.0",
"fastify-compress": "^2.0.1",
"fastify-helmet": "^3.0.2",
"fastify-plugin": "^1.6.1",
"jsonwebtoken": "^8.5.1",
"mongodb": "^3.5.5",
"mongoose": "^5.9.7",
"@typegoose/typegoose": "^6.4.0"
},
"devDependencies": {
"@types/bcrypt": "^3.0.0",
"@types/cors": "^2.8.6",
"@types/dotenv-safe": "^8.1.0",
"@types/jest": "^25.2.1",
"@types/jsonwebtoken": "^8.3.9",
"@types/mongoose": "^5.7.8",
"@types/node": "^13.11.0",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"cross-env": "^7.0.2",
"dotenv-safe": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^25.2.7",
"prettier": "^2.0.4",
"reflect-metadata": "^0.1.13",
"supertest": "^4.0.2",
"ts-jest": "^25.3.1",
"ts-node": "^8.8.2",
"ts-node-dev": "^1.0.0-pre.44",
"typescript": "^3.8.3"
},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}