-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 loc) · 3.49 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "red-tetris",
"version": "1.0.0",
"description": "Multiplayer Tetris",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/VBrazhnik/Red-Tetris.git"
},
"author": "vbrazhni <[email protected]>",
"homepage": "https://github.com/VBrazhnik/Red-Tetris#readme",
"engines": {
"node": ">= 8.0.0",
"npm": ">= 5.0.0"
},
"scripts": {
"build": "npm run build:client && npm run build:server",
"build:client": "webpack --mode production --progress --colors",
"build:server": "babel ./src/server --out-dir ./dist/server",
"lint": "eslint --quiet ./src/ ./test/",
"prettier": "prettier --ignore-path .gitignore --write \"./**/*.{js,css,scss,html}\" package.json",
"prettier:check": "prettier --ignore-path .gitignore --check \"./**/*.{js,css,scss,html}\" package.json",
"start": "npm run build && npm run start:server",
"start:server": "cross-env NODE_ENV=production node ./dist/server/index.js",
"test": "npm run build:client && cross-env NODE_ENV=test mocha --opts ./mocha.opts ./test/**/*.spec.js",
"test:coverage": "nyc --cache false npm test",
"test:coverage:summary": "nyc --cache false --reporter=text-summary npm test"
},
"dependencies": {
"2d-array-rotation": "^2.1.0",
"@hapi/joi": "^17.1.0",
"classnames": "^2.2.6",
"cross-env": "^7.0.0",
"decode-uri-component": "^0.2.0",
"dotenv": "^8.2.0",
"http-status-codes": "^1.4.0",
"lodash": "^4.17.15",
"mime-types": "^2.1.26",
"number-to-words": "^1.2.4",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-notifications": "^1.4.3",
"react-redux": "^7.1.3",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.0.1",
"socket.io": "^2.3.0",
"socket.io-client": "^2.3.0",
"url-parse": "^1.4.7",
"winston": "^3.2.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@babel/register": "^7.8.3",
"@types/chai-enzyme": "^0.6.7",
"autoprefixer": "^9.7.4",
"babel-loader": "^8.0.6",
"chai": "^4.2.0",
"chai-enzyme": "^1.0.0-beta.1",
"chai-http": "^4.3.0",
"css-loader": "^3.4.2",
"css-mqpacker": "^7.0.0",
"cssnano": "^4.1.10",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.0",
"file-loader": "^5.0.2",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.1.0",
"jsdom": "^15.2.1",
"mini-css-extract-plugin": "^0.9.0",
"mocha": "^6.2.2",
"mock-fs": "^4.10.4",
"node-sass": "^4.13.1",
"nyc": "^15.0.0",
"postcss-loader": "^3.0.0",
"prettier": "^1.19.1",
"prettier-plugin-package": "^0.3.1",
"sass-loader": "^8.0.2",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
},
"browserslist": [
"> 1%",
"last 3 version"
],
"husky": {
"hooks": {
"pre-commit": "npm run prettier:check && npm run lint"
}
},
"nyc": {
"all": true,
"include": [
"src/**/*.js"
],
"exclude": [
"test/**/*.spec.js"
],
"require": [
"@babel/register"
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5",
"quoteProps": "preserve"
}
}