-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.84 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 1.84 KB
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
{
"$schema": "http://json.schemastore.org/package",
"name": "typescript-mongo",
"version": "0.0.1",
"description": "Illustrates MongoDB Moongose and express server usages using Typescript",
"engines": {
"node": ">=14.16.1"
},
"main": "dist/src/server.js",
"files": [
"dist/"
],
"scripts": {
"start": "node --enable-source-maps dist/src/server.js",
"start-dev": "ts-node ./src/server.ts",
"clean": "rm -rf ./dist && rm -rf ./tmp",
"build": "npm run clean && npm run compile",
"compile": "node node_modules/typescript/bin/tsc -p ./tsconfig.json",
"lint": "eslint '*/**/*.{js,ts}' --quiet --fix",
"reset": "rm -rf ./node_modules && rm -rf ./dist && npm install && npm run build"
},
"repository": {
"type": "git",
"url": "git@github.com:minaRA90/Typescript-Mongo.git"
},
"author": "MRI",
"license": "Apache-2.0",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
]
},
"dependencies": {
"@types/jest": "^26.0.23",
"@types/json-schema": "^7.0.7",
"@types/supertest": "^2.0.11",
"ajv": "^8.1.0",
"dotenv": "^8.2.0",
"envalid": "^7.1.0",
"express": "^4.17.1",
"mongoose": "^5.12.4",
"supertest": "^6.1.3",
"swagger-jsdoc": "^6.1.0",
"swagger-ui-express": "^4.1.6",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/express": "^4.17.11",
"@types/mongoose": "^5.10.5",
"@types/node": "^14.14.41",
"@types/swagger-jsdoc": "^6.0.0",
"@types/swagger-ui-express": "^4.1.2",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-prettier": "^3.4.0",
"prettier": "^2.2.1",
"ts-node": "^9.1.1",
"typescript": "4.2.4"
}
}