-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
61 lines (61 loc) · 1.3 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
{
"name": "server",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@babel/preset-typescript": "^7.18.6",
"axios": "^1.1.3",
"next": "^12.3.1",
"node-html-parser": "^6.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"socket.io": "^4.5.3",
"socket.io-client": "^4.5.3",
"valid-url": "^1.0.9"
},
"devDependencies": {
"@types/jest": "^29.2.0",
"@types/next": "^9.0.0",
"@types/node": "^18.11.2",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/valid-url": "^1.0.3",
"jest": "^29.2.1",
"jest-mock": "^29.2.1",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"type": "module",
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"^.+\\.ts?$": [
"ts-jest",
{
"useESM": true
}
]
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/",
"^.+\\.js$"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
]
},
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"tidy": "yarn prettier ./src --write",
"test": "jest"
}
}