-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·130 lines (130 loc) · 3.73 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
{
"name": "expresso-api",
"version": "1.2.21",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"bin": {
"expresso": "dist/bin/expresso.js"
},
"description": "An Express.js tool to statically analyze the backend, generating the specification for its routes using the OpenAPI standard.",
"scripts": {
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"build": "./node_modules/.bin/ts-node build.ts",
"lint": "eslint -c .eslintrc.json --fix",
"format": "prettier --write \"src/**/*.ts\"",
"start": "node -r module-alias/register ./dist --env=production",
"start:dev": "nodemon",
"test:reloading": "nodemon --config ./spec/nodemon.json",
"test": "./node_modules/.bin/ts-node -r tsconfig-paths/register ./spec"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts, html",
"ignore": [
"src/public"
],
"exec": "./node_modules/.bin/ts-node -r tsconfig-paths/register ./src"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"max-len": [
"error",
{
"code": 150
}
],
"no-console": 1,
"no-extra-boolean-cast": 0,
"@typescript-eslint/restrict-plus-operands": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/no-unsafe-assignment": 0
}
},
"eslintIgnore": [
"src/public/",
"build.ts",
"src/pre-start"
],
"files": [
"dist/**/*"
],
"dependencies": {
"@apidevtools/swagger-parser": "^10.0.3",
"abstract-syntax-tree": "^2.20.5",
"command-line-args": "^5.2.1",
"cookie-parser": "^1.4.6",
"csv-parse": "^5.0.4",
"dotenv": "^16.0.0",
"download-git-repo": "^3.0.2",
"express": "^4.17.3",
"express-async-errors": "^3.1.1",
"filesize": "^8.0.7",
"fs-extra": "^10.0.1",
"helmet": "^5.0.2",
"http-status-codes": "^2.2.0",
"jet-logger": "^1.1.5",
"json2yaml": "^1.1.0",
"jsonfile": "^6.1.0",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"module-alias": "^2.2.2",
"morgan": "^1.10.0",
"numeral": "^2.0.6",
"replace-in-file": "^6.3.2",
"swagger2openapi": "^7.0.8",
"table": "^6.8.0",
"wait-on": "^6.0.1"
},
"devDependencies": {
"@types/command-line-args": "^5.2.0",
"@types/cookie-parser": "^1.4.2",
"@types/express": "^4.17.19",
"@types/find": "^0.2.1",
"@types/fs-extra": "^9.0.13",
"@types/jasmine": "^3.10.3",
"@types/js-yaml": "^4.0.5",
"@types/jsonfile": "^6.1.0",
"@types/lodash": "^4.14.179",
"@types/md5": "^2.3.2",
"@types/morgan": "^1.9.3",
"@types/node": "^17.0.21",
"@types/node-fetch": "^2.6.1",
"@types/numeral": "^2.0.2",
"@types/supertest": "^2.0.11",
"@types/wait-on": "^5.3.1",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"find": "^0.3.0",
"jasmine": "^4.0.2",
"node-fetch": "^3.2.0",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"supertest": "^6.2.2",
"ts-node": "^10.5.0",
"tsconfig-paths": "^3.12.0",
"typescript": "^4.5.5"
}
}