This repository has been archived by the owner on Sep 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.59 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
{
"name": "amidraw-react",
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/color": "^3.0.0",
"@types/express": "^4.16.0",
"@types/react-color": "^2.14.0",
"@types/socket.io": "^1.4.40",
"@types/socket.io-client": "^1.4.32",
"color": "^3.1.0",
"express": "^4.16.4",
"guid-typescript": "^1.0.9",
"loglevel": "^1.6.1",
"node-sass-chokidar": "^1.3.4",
"npm-run-all": "^4.1.5",
"react": "^16.7.0",
"react-color": "^2.17.0",
"react-dom": "^16.7.0",
"react-scripts-ts": "2.17.0",
"socket.io": "^2.2.0",
"socket.io-client": "^2.2.0",
"ts-node": "^7.0.1"
},
"scripts": {
"build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar --include-path ./src/client --include-path ./node_modules src/ -o src/ --watch --recursive",
"start-js": "NODE_PATH=src/client react-scripts-ts start",
"start": "NODE_PATH=src/client npm-run-all -p watch-css start-js",
"start-server": "NODE_PATH=src/ npx tsc -p tsconfig.server.json && cp -rf node_modules build/dist/server/node_modules && NODE_PATH=build/dist/ node ./build/dist/server/Index.js",
"build-js": "NODE_PATH=src/ react-scripts-ts build",
"build": "NODE_PATH=src/ npm-run-all build-css build-js",
"test": "react-scripts-ts test --env=jsdom",
"eject": "react-scripts-ts eject"
},
"devDependencies": {
"@types/jest": "^23.3.10",
"@types/node": "^10.12.18",
"@types/react": "^16.7.18",
"@types/react-dom": "^16.0.11",
"typescript": "^3.2.2"
}
}