-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.48 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
{
"name": "blog-example-1",
"version": "0.1.0",
"description": "An example project of how to create a blog using a MERN stack. Intended for educational purposes only.",
"author": "Benny Howard",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"build:ui": "",
"build:watch": "",
"build:ui:watch": "",
"format": "prettier --write \"./src/**/*.ts\" \"./test/**/*.ts\" \"./assets/scripts/**/*.ts\" \"./assets/test/**/*.ts\" \"./assets/scripts/**/*.tsx\" \"./assets/test/**/*.tsx\"",
"generate:fixtures": "npx ts-node ./scripts/generate-fixtures.ts",
"generate:ssl-certs": "openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout ./certs/server.key -out ./certs/server.crt -subj '/C=US/ST=NY/L=NYC/O=bennyhoward.com/CN=localhost' && cat ./certs/server.key ./certs/server.crt > ./certs/server.pem",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:ui": "npm --prefix ./assets run start:ui",
"lint": "eslint '{apps,assets,libs,src,test}/**/*.{ts,tsx}' --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@hapi/joi": "^16.1.8",
"@nestjs/common": "^6.10.14",
"@nestjs/config": "^0.2.3",
"@nestjs/core": "^6.10.14",
"@nestjs/mongoose": "^6.3.1",
"@nestjs/platform-express": "^6.10.14",
"bcrypt": "^3.0.8",
"class-validator": "^0.11.0",
"hbs": "^4.1.0",
"mongoose": "^5.9.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"rxjs": "^6.5.4",
"tslint-react": "^4.2.0"
},
"devDependencies": {
"@nestjs/cli": "^6.13.2",
"@nestjs/schematics": "^6.8.1",
"@nestjs/testing": "^6.10.14",
"@types/bcrypt": "^3.0.0",
"@types/express": "^4.17.2",
"@types/hapi__joi": "^16.0.11",
"@types/hbs": "^4.0.1",
"@types/jest": "25.1.1",
"@types/mongoose": "^5.7.1",
"@types/node": "^13.1.6",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/react-router": "^5.1.4",
"@types/react-router-dom": "^5.1.3",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.19.1",
"jest": "^24.9.0",
"parcel": "^1.12.4",
"prettier": "^1.18.2",
"sass": "^1.25.0",
"supertest": "^4.0.2",
"ts-jest": "25.1.0",
"ts-loader": "^6.2.1",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.9.0",
"tslint": "^6.0.0",
"typescript": "^3.7.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "./",
"testPathIgnorePatterns": [
"<rootDir>/certs/",
"<rootDir>/config/",
"<rootDir>/data/",
"<rootDir>/dist/",
"<rootDir>/fixtures/",
"<rootDir>/node_modules/",
"<rootDir>/public/",
"<rootDir>/scripts/",
"<rootDir>/tmp/"
],
"testRegex": ".(spec|test).ts$",
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"coverageDirectory": "./coverage",
"testEnvironment": "node"
}
}