|
@@ -1,16 +1,22 @@
|
1
|
1
|
{
|
2
|
2
|
"dependencies": {
|
|
3
|
+ "@excalidraw/eslint-config": "1.0.0",
|
3
|
4
|
"@excalidraw/prettier-config": "1.0.2",
|
4
|
5
|
"@types/debug": "4.1.5",
|
5
|
6
|
"@types/express": "4.17.11",
|
6
|
7
|
"@types/node": "14.14.31",
|
7
|
8
|
"@types/socket.io": "2.1.4",
|
|
9
|
+ "@typescript-eslint/eslint-plugin": "4.16.1",
|
|
10
|
+ "@typescript-eslint/parser": "4.16.1",
|
8
|
11
|
"debug": "4.3.1",
|
|
12
|
+ "eslint": "7.21.0",
|
|
13
|
+ "eslint-config-prettier": "8.1.0",
|
|
14
|
+ "eslint-plugin-prettier": "3.3.1",
|
9
|
15
|
"express": "4.17.1",
|
10
|
16
|
"prettier": "2.2.1",
|
11
|
17
|
"socket.io": "2.3.0",
|
12
|
|
- "ts-node-dev": "1.1.1",
|
13
|
|
- "typescript": "4.1.5"
|
|
18
|
+ "ts-node-dev": "1.1.6",
|
|
19
|
+ "typescript": "4.2.2"
|
14
|
20
|
},
|
15
|
21
|
"license": "MIT",
|
16
|
22
|
"main": "dist/index.js",
|
|
@@ -18,12 +24,15 @@
|
18
|
24
|
"prettier": "@excalidraw/prettier-config",
|
19
|
25
|
"scripts": {
|
20
|
26
|
"build": "tsc",
|
21
|
|
- "format": "yarn prettier --write",
|
22
|
|
- "lint": "yarn prettier --list-different",
|
23
|
|
- "prettier": "prettier \"**/*.{ts,md,json,yaml,yml}\"",
|
|
27
|
+ "fix:code": "yarn test:code --fix",
|
|
28
|
+ "fix:other": "yarn prettier --write",
|
|
29
|
+ "fix": "yarn fix:other && yarn fix:code",
|
|
30
|
+ "prettier": "prettier . --ignore-path=.gitignore",
|
24
|
31
|
"start": "node dist/index.js",
|
25
|
32
|
"start:dev": "ts-node-dev --respawn --transpile-only src/index.ts",
|
26
|
|
- "test": "yarn lint"
|
|
33
|
+ "test:code": "eslint --ext .ts .",
|
|
34
|
+ "test:other": "yarn prettier --list-different",
|
|
35
|
+ "test": "yarn test:other && yarn test:code"
|
27
|
36
|
},
|
28
|
37
|
"version": "1.0.0"
|
29
|
38
|
}
|