-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.58 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 1.58 KB
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": "online-web-snake",
"version": "0.0.6",
"description": "online snake game",
"main": "./build/server.js",
"repository": "https://danixoon@bitbucket.org/danixoon/online-web-snake.git",
"author": "D. <danixoon@gmail.com>",
"license": "MIT",
"private": true,
"scripts": {
"start": "node ./build/index.js",
"dev": "concurrently --kill-others \"yarn run client:dev\" \"yarn run server:watch\"",
"server:dev": "node --inspect=5858 -r ts-node/register ./src/index.ts",
"server:watch": "nodemon",
"server:build": "tsc",
"client:dev": "cd client && yarn start",
"client:build": "cd client && yarn build",
"client:install": "cd client && yarn",
"heroku-postbuild": "yarn && yarn run server:build && yarn run client:install && yarn run client:build",
"test": "jest --runInBand --detectOpenHandles --forceExit",
"coverage": "jest --coverage"
},
"nodemonConfig": {
"ignore": [
"**/*.test.ts",
"**/*.spec.ts",
".git",
"node_modules"
],
"watch": [
"src"
],
"exec": "yarn server:dev",
"ext": "ts"
},
"devDependencies": {
"@types/history": "^4.7.3",
"@types/jest": "^24.0.18",
"concurrently": "^4.1.2",
"jest": "^24.9.0",
"socket.io-client": "^2.3.0",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1"
},
"dependencies": {
"@types/express": "^4.17.1",
"@types/socket.io": "^2.1.3",
"astra-engine": "^0.1.45",
"express": "^4.17.1",
"react-router": "^5.1.2",
"react-spring": "^9.0.0-beta.34",
"socket.io": "^2.3.0",
"typescript": "^3.6.3"
}
}