-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
55 lines (55 loc) · 1.48 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
{
"name": "ninja-player-portal",
"version": "0.0.1",
"description": "Portal for accessing Ninja-players, using it's REST API",
"main": "src/server/index.ts",
"author": "olzzon",
"license": "MIT",
"private": true,
"dependencies": {
"axios": "^0.27",
"express": "^4.18.2",
"http": "^0.0.1-security",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"socket.io": "^4.5.3",
"socket.io-client": "^4.5.3"
},
"devDependencies": {
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"css-loader": "^6.7.3",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.7.2",
"nodemon": "^2.0.20",
"pkg": "^5.8.0",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.9.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
},
"scripts": {
"build:server": "tsc -p ./src/server",
"build:client": "webpack --config webpack.client.config.js",
"build:client:dev": "webpack --config webpack.client-dev.config.js",
"start": "node dist/server/index.js",
"start:dev": "node --inspect -r ts-node/register src/server/index.ts",
"package": "pkg ."
},
"bin": {
"server": "./dist/server/index.js"
},
"pkg": {
"scripts": "./dist/server/index.js",
"assets": "./dist/client/**/*",
"targets": [
"node16-macos-arm64",
"node16-linux-x64"
],
"outputPath": "package"
}
}