/
package.json
89 lines (89 loc) · 2.31 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
{
"name": "vendure",
"version": "0.0.0",
"description": "A modern, headless ecommerce framework",
"private": true,
"license": "MIT",
"scripts": {
"format": "prettier --write \"modules/**/*.ts\"",
"populate": "ts-node -r tsconfig-paths/register mock-data/populate.ts",
"start:dev": "nodemon --config nodemon-debug.json",
"lint": "tslint --type-check --project tsconfig.json -c tslint.json",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:e2e": "jest --config ./test/jest-e2e.json",
"build": "rimraf dist && tsc -p tsconfig.build.json && gulp",
"precommit": "lint-staged",
"postcommit": "git update-index --again"
},
"main": "dist/index.js",
"files": [
"dist/**/*"
],
"lint-staged": {
"*.ts": [
"yarn lint --fix",
"yarn format",
"git add"
]
},
"dependencies": {
"@nestjs/common": "^5.0.0",
"@nestjs/core": "^5.0.0",
"@nestjs/graphql": "^3.0.0",
"@nestjs/microservices": "^5.0.0",
"@nestjs/passport": "^1.0.10",
"@nestjs/testing": "^5.0.0",
"@nestjs/typeorm": "^5.0.0",
"apollo-server-express": "^1.3.6",
"bcrypt": "^2.0.1",
"body-parser": "^1.18.3",
"graphql": "^0.13.2",
"graphql-tools": "^3.0.2",
"jsonwebtoken": "^8.2.2",
"mysql": "^2.15.0",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"reflect-metadata": "^0.1.12",
"rxjs": "^6.2.0",
"typeorm": "^0.2.6",
"typescript": "^2.8.0"
},
"devDependencies": {
"@types/bcrypt": "^2.0.0",
"@types/express": "^4.0.39",
"@types/faker": "^4.1.2",
"@types/jest": "^21.1.8",
"@types/jsonwebtoken": "^7.2.7",
"@types/node": "^9.3.0",
"@types/supertest": "^2.0.4",
"faker": "^4.1.0",
"graphql-request": "^1.6.0",
"gulp": "^4.0.0",
"husky": "^0.14.3",
"jest": "^21.2.1",
"lint-staged": "^7.1.3",
"nodemon": "^1.14.1",
"prettier": "^1.11.1",
"rimraf": "^2.6.2",
"supertest": "^3.0.0",
"ts-jest": "^21.2.4",
"ts-node": "^6.0.0",
"tsconfig-paths": "^3.3.1",
"tslint": "5.3.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage"
}
}