forked from Xilel/nextjs9-typescript-server-vscode-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) · 1.21 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
{
"name": "nextjs9-typescript-server-vscode-example",
"version": "1.0.0",
"license": "MIT",
"private": true,
"author": "Xilel",
"dependencies": {
"cross-env": "^6.0.3",
"express": "^4.17.1",
"next": "10.2.4-canary.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"@shopify/react-i18n": "5.1.4"
},
"devDependencies": {
"@types/express": "^4.17.6",
"@types/node": "^14.14.25",
"@types/jest": "^26.0.20",
"@types/react": "^17.0.1",
"@types/react-dom": "^17.0.0",
"@testing-library/react": "^11.2.5",
"ts-node": "^9.1.1",
"typescript": "^4.1.3",
"jest": "26.4.2",
"ts-jest": "^26.5.0"
},
"resolutions": {
"webpack": "^5.22.0",
"webpack-cli": "^4.5.0"
},
"scripts": {
"dev": "cross-env TS_NODE_PROJECT=tsconfig.server.json node -r ts-node/register server/index.ts",
"debug": "cross-env TS_NODE_PROJECT=tsconfig.server.json node --inspect=0.0.0.0:9229 -r ts-node/register server/index.ts",
"build": "next build && tsc --project tsconfig.server.json",
"start": "cross-env NODE_ENV=production node dist/index.js"
},
"babel": {
"presets": [
"next/babel"
],
"plugins": [
"@shopify/react-i18n/babel"
]
}
}