-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 3.58 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "daccred-api",
"description": "",
"license": "ISC",
"author": "Andrew Miracle",
"version": "1.0.0",
"main": "dist/entry.js",
"scripts": {
"build": "run-s build:clean build:code",
"build:clean": "rimraf dist",
"build:code": "tsc",
"dev": "cross-env NODE_ENV=development nodemon src/entry.ts",
"dev:watch": "cross-env NODE_ENV=development ts-node-dev --respawn --transpile-only src/entry.ts",
"format": "prettier --write \"{,!(node_modules)/**/}*.{ts,js}\"",
"lint": "yarn lint:ts && yarn lint:es",
"lint:ts": "tsc --pretty",
"lint:es": "eslint . --ext .ts --fix",
"restart": "run-s build && node dist/entry.js",
"start": "node dist/entry.js",
"test": "cross-env NODE_ENV=test jest --no-cache --runInBand --testTimeout 20000",
"test:local": "cross-env NODE_ENV=local MONGOMS_DEBUG=1 jest --no-cache --runInBand --testTimeout 20000"
},
"dependencies": {
"@casl/ability": "^5.4.3",
"@types/express": "^4.17.13",
"@types/swagger-ui-express": "^4.1.3",
"ajv": "^8.8.2",
"body-parser": "^1.19.1",
"class-transformer": "0.3.1",
"class-validator": "0.12.2",
"class-validator-jsonschema": "^2.2.0",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.2",
"helmet": "^4.6.0",
"js-base64": "^3.7.2",
"json-schema": "^0.4.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"lru-cache": "^6.0.0",
"luxon": "^2.2.0",
"mongoose": "6.1.2",
"mongoose-autopopulate": "^0.16.0",
"mongoose-paginate-v2": "^1.4.2",
"nanoid": "^3.1.30",
"reflect-metadata": "^0.1.13",
"routing-controllers": "^0.9.0",
"routing-controllers-openapi": "^3.1.0",
"swagger-ui-express": "^4.3.0",
"unique-names-generator": "^4.6.0",
"web3-eth-accounts": "^1.6.1",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/faker": "^5.5.9",
"@types/jest": "^27.0.3",
"@types/jsonwebtoken": "^8.5.6",
"@types/lodash": "^4.14.178",
"@types/lru-cache": "^5.1.1",
"@types/luxon": "^2.0.8",
"@types/node": "^17.0.0",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"cross-env": "^7.0.3",
"eslint": "^8.5.0",
"faker": "^5.5.3",
"husky": "4.3.5",
"jest": "^27.4.5",
"lint-staged": "^12.1.3",
"mongodb-memory-server": "^8.0.4",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"prettier-eslint": "^13.0.0",
"rimraf": "^3.0.2",
"supertest": "^6.1.6",
"ts-jest": "^27.1.2",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"types__mongoose-paginate-v2": "^1.4.2",
"typescript": "4.4.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn build && yarn test"
}
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"verbose": true,
"testEnvironment": "node",
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
},
"testMatch": [
"**/__tests__/*.(spec|test).+(ts|js)",
"**/__tests__/unit/**/*.(spec|test).+(ts|js)",
"**/src/app/**/*.(spec).+(ts|js)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"lint-staged": {
"{src,__tests__}/**/*.ts": [
"yarn format",
"yarn lint"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "always",
"tabWidth": 2,
"printWidth": 120
},
"engines": {
"node": ">=14.18.0 <16.0.0"
}
}