forked from siu-issiki/typescript-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 1.79 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": "typescript_boilerplate",
"version": "1.0.0",
"scripts": {
"dev": "ts-node-dev --respawn -r tsconfig-paths/register --debug --exit-child ./src/server.ts",
"build": "tsc",
"test": "NODE_ENV=test jest --verbose --silent --runInBand --forceExit",
"test:watch": "NODE_ENV=test jest --watchAll --verbose --silent --runInBand --forceExit",
"migration:create": "yarn prisma migrate dev --create-only --preview-feature",
"migration:up": "yarn prisma migrate dev --preview-feature",
"schema:generate": "yarn prisma generate",
"tsc": "tsc",
"ts-node": "ts-node -r tsconfig-paths/register",
"dotenv": "dotenv"
},
"dependencies": {
"@prisma/client": "3.11.0",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/supertest": "^2.0.11",
"cors": "^2.8.5",
"express": "^4.17.1",
"http": "^0.0.1-security",
"supertest": "^6.2.2",
"ts-node": "^10.1.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.3.5"
},
"devDependencies": {
"@types/jest": "^26.0.24",
"jest": "^27.0.6",
"prisma": "^3.4.1",
"ts-jest": "^27.0.4",
"tsconfig-paths": "^3.10.1"
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"setupFilesAfterEnv": [
"./__tests__/supports/setup_jest.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/config/",
"__tests__/support",
"__tests__/factories"
],
"moduleNameMapper": {
"^@/(.+)": "<rootDir>/src/$1",
"^__tests__/(.+)": "<rootDir>/__tests__/$1"
}
}
}