-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
108 lines (108 loc) · 3.33 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "majavashakki",
"version": "0.0.0",
"description": "Online chess for multiple gamerooms.",
"main": "app.js",
"author": "Majavapaja",
"private": true,
"license": "BSD",
"browserslist": [
"last 1 Chrome version",
"Firefox ESR",
"last 1 safari version",
"last 1 opera version",
"last 1 edge version"
],
"dependencies": {
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@types/bcryptjs": "^2.4.2",
"@types/chai": "^4.2.22",
"@types/express": "^4.17.13",
"@types/express-session": "^1.17.4",
"@types/mocha": "^9.0.0",
"@types/passport": "^1.0.7",
"@types/passport-facebook": "^2.1.11",
"@types/passport-local": "^1.0.34",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.3.2",
"@types/request-promise": "^4.1.48",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"classnames": "^2.3.1",
"connect-mongo": "^4.6.0",
"express": "^4.17.1",
"express-session": "^1.17.2",
"express-socket.io-session": "^1.3.5",
"io-ts": "^1.10.4",
"jss": "^10.8.2",
"jss-global": "^3.0.0",
"mobx": "^6.3.7",
"mobx-react": "^6.3.1",
"mongodb": "^4.2.0",
"mongoose": "^6.0.13",
"passport": "^0.5.0",
"passport-facebook": "^3.0.0",
"passport-local": "^1.0.0",
"react": "^17.0.2",
"react-dom": "^16.14.0",
"react-jss": "^10.8.2",
"react-router-dom": "^5.3.0",
"socket.io": "^4.4.0",
"socket.io-client": "^4.4.0",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
},
"scripts": {
"npm-check": "npm-check --skip-unused",
"tsc": "tsc",
"dev": "better-npm-run dev",
"watch:client": "parcel watch src/client/index.html --public-url /",
"watch:server": "nodemon --watch src --watch public --ext ts,tsx --ignore src/client app.js",
"lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}'",
"build": "parcel build src/client/index.html --public-url /",
"start": "node app.js",
"test": "better-npm-run test",
"test:browser": "better-npm-run test:browser",
"test:watch": "nodemon --watch src --watch test --ext ts,tsx --exec npm test || true",
"services": "docker-compose -f local-services/docker-compose.yml up -d",
"services:down": "docker-compose -f local-services/docker-compose.yml down",
"prettier": "prettier --write '**/*.{js,jsx,ts,tsx,css,json}'"
},
"betterScripts": {
"dev": {
"command": "npm-run-all --parallel watch:client watch:server",
"env": {
"MajavashakkiSessionSecret": "majestetic"
}
},
"test": {
"command": "mocha --require mocha_tsnode_hax.js --require chai/register-should test/**/*.spec.ts",
"env": {
"DATABASE_NAME": "Testishakki",
"MajavashakkiSessionSecret": "majestetic"
}
},
"test:browser": {
"command": "mocha --require mocha_tsnode_hax.js test/**/*.browser.ts",
"env": {
"DATABASE_NAME": "Testishakki",
"MajavashakkiSessionSecret": "majestetic"
}
}
},
"devDependencies": {
"@types/classnames": "^2.3.1",
"better-npm-run": "^0.1.1",
"chai": "^4.3.4",
"mocha": "^9.1.3",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.5",
"prettier": "^2.5.0",
"puppeteer": "11.0.0",
"tslint": "^6.1.3",
"tslint-react": "^4.2.0"
}
}