-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 1.93 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
{
"name": "storit-tracker",
"version": "1.0.0",
"description": "Storit Tracker",
"main": "server.js",
"scripts": {
"lint": "eslint \"src/**/*.{js,ts,tsx}\" --quiet --fix",
"build": "rimraf ./build && tsc",
"tslint": "tslint --project tsconfig.json",
"start": "npm run build && NODE_ENV=production node ./build/server.js",
"dev": "nodemon",
"test": "mocha -r ts-node/register \"src/**/*.test.ts\"",
"prettier:base": "prettier --parser typescript --single-quote",
"prettier:check": "npm run prettier:base -- --list-different \"src/**/*.{ts,tsx}\"",
"prettier:write": "npm run prettier:base -- --write \"src/**/*.{ts,tsx}\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.(ts)": [
"npm run prettier:write",
"npm run test \\",
"eslint --fix"
]
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.17.1",
"firebase-admin": "^8.9.0",
"geoip-lite": "^1.4.1",
"mysql": "^2.17.1",
"mysql2": "^2.2.5",
"nodemon": "^2.0.2",
"request": "^2.88.0",
"request-ip": "^2.1.3",
"scripts": "^0.1.0",
"sequelize": "^6.3.5",
"socket.io": "^2.3.0"
},
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/express": "^4.17.9",
"@types/geoip-lite": "^1.4.0",
"@types/lodash": "^4.14.165",
"@types/mocha": "^8.0.4",
"@types/mysql": "^2.15.16",
"@types/request": "^2.48.5",
"@types/sequelize": "^4.28.9",
"@types/socket.io": "^2.1.11",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.2.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.3",
"mocha": "^8.2.1",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.0",
"typescript": "^4.1.2"
}
}