-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.74 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
{
"name": "realtime-uno-server",
"version": "1.0.0",
"description": "Realtime server for UNO.",
"main": "index.js",
"scripts": {
"build": "rimraf ./build && tsc",
"start:dev": "nodemon",
"start": "npm run build && node build/index.js",
"lint": "eslint . --ext .ts",
"prettier-format": "run-script-os",
"prettier-format:win32": "prettier --config .prettierrc \"./src/**/*.ts\" --write",
"prettier-format:darwin:linux": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prettier-format:default": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prettier-watch": "run-script-os",
"prettier-watch:win32": "onchange \"src/**/*.ts\" -- prettier --write {{changed}}",
"prettier-watch:darwin:linux": "onchange 'src/**/*.ts' -- prettier --write {{changed}}",
"prettier-watch:default": "onchange 'src/**/*.ts' -- prettier --write {{changed}}",
"test": "jest",
"test:coverage": "jest --coverage",
"test:dev": "jest --watchAll"
},
"husky": {
"hooks": {
"pre-commit": "npm run test && npm run prettier-format && npm run lint"
}
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/node": "^12.7.2",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"nodemon": "^1.19.1",
"onchange": "^6.1.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"run-script-os": "^1.1.1",
"ts-node": "^8.3.0",
"typescript": "^4.0.3"
},
"dependencies": {
"eslint-plugin-jest": "^24.1.0",
"jest": "^26.5.3",
"ts-jest": "^26.4.1"
}
}