-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 3.25 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
{
"name": "ts-node-js",
"version": "0.0.1",
"description": "Boiler plate for nodejs application with graphql & express using typescript",
"main": "index.js",
"scripts": {
"prepare": "echo 'installing husky....' && husky install",
"prebuild": "rm -rf dist && npm run db:generate",
"build": "tsc",
"prestart": "npm run db:init",
"start": "cross-env NODE_ENV='production' node dist/index.js",
"dev": "cross-env NODE_ENV='development' nodemon --ignore 'tests/**/*.ts' --exec ts-node index.ts",
"dev:up": "make run-dev-up",
"postdev:up": "make run-migration",
"dev:down": "make run-dev-down",
"dev:down_hard": "make run-dev-down-hard",
"db:init": "npm run db:generate && npm run db:deploy && npm run db:seed",
"predb:dev": "prisma format",
"db:dev": "prisma migrate dev --name init",
"postdb:dev": "npm run db:seed",
"db:reset": "prisma migrate reset",
"db:generate": "prisma generate",
"db:deploy": "prisma migrate deploy",
"db:seed": "prisma db seed",
"prettify": "prettier --no-editorconfig -l '**/*.ts'",
"prettify:fix": "prettier --no-editorconfig -l --write '**/*.ts'",
"lint": "eslint '**/*.ts'",
"test": "make run-test-up",
"posttest": "make run-test-down",
"preexec-tests": "npm run db:init",
"exec-tests": "mocha -r ts-node/register 'src/tests/**/*.test.ts' --exit"
},
"lint-staged": {
"**/*.ts": [
"npm run prettify",
"npm run lint",
"npm run test"
]
},
"prisma": {
"schema": "./src/prisma/schema.prisma",
"seed": "node ./src/prisma/seed.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shahanahmed86/ts-node-js.git"
},
"keywords": [
"typescript",
"boiler-plate",
"nodejs",
"apollo server express",
"apollo server"
],
"author": "Shahan Ahmed",
"license": "MIT",
"bugs": {
"url": "https://github.com/shahanahmed86/ts-node-js.git/issues"
},
"homepage": "https://github.com/shahanahmed86/ts-node-js.git#readme",
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/chai": "^4.3.1",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-fileupload": "^1.2.3",
"@types/jsonwebtoken": "^8.5.8",
"@types/lodash": "^4.14.182",
"@types/mocha": "^9.1.1",
"@types/morgan": "^1.9.3",
"@types/node": "^18.6.3",
"@types/node-cron": "^3.0.2",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"chai": "^4.3.6",
"chai-http": "^4.3.0",
"eslint": "^8.20.0",
"lint-staged": "^13.0.3",
"mocha": "^10.0.0",
"nodemon": "^2.0.19",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"dependencies": {
"@graphql-tools/schema": "^8.5.1",
"@graphql-tools/utils": "^8.9.0",
"@prisma/client": "4.1.1",
"@types/uuid": "^8.3.4",
"apollo-server-core": "^3.10.2",
"apollo-server-express": "^3.10.0",
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-fileupload": "^1.4.0",
"graphql": "^16.5.0",
"graphql-subscriptions": "^2.0.0",
"graphql-ws": "^5.10.1",
"husky": "^8.0.1",
"inquirer": "^8.2.0",
"joi": "^17.6.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"node-cron": "^3.0.2",
"prisma": "^4.1.1",
"uuid": "^8.3.2",
"ws": "^8.8.1"
}
}