-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.62 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": "pms-smart-lock",
"version": "1.0.0",
"description": "Nodejs Graphql server to install smart lock on units.",
"main": "dist/index.js",
"scripts": {
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" *.json",
"lint": "eslint \"{src, tests}/**/*.ts\" --fix",
"build": "tsc && cp -r ./src/html/ ./dist/",
"start": "npm run prisma-gen && node .",
"dev": "npm run prisma-gen && npm run prisma-seed && tsnd --respawn --transpile-only ./src/index.ts",
"prepare": "husky install",
"prisma-pull": "npx prisma db pull",
"prisma-gen": "npx prisma generate",
"prisma-seed": "ts-node src/seed.ts"
},
"author": "ahmed magdy <[email protected]>",
"license": "MIT",
"private": true,
"dependencies": {
"@prisma/client": "^4.4.0",
"apollo-server-express": "^3.10.3",
"axios": "^1.1.2",
"class-validator": "^0.13.2",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"express": "^4.18.1",
"graphql": "^15.8.0",
"reflect-metadata": "^0.1.13",
"type-graphql": "^1.1.1"
},
"devDependencies": {
"@types/node": "^18.8.3",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"dotenv": "^16.0.3",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prisma": "^4.4.0",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.4"
},
"lint-staged": {
"*.ts": "eslint --fix",
"*.json": "prettier --write"
}
}