-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
131 lines (131 loc) · 4.37 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
{
"name": "airports.api.hscc.bdpa.org",
"description": "https://airports.api.hscc.bdpa.org",
"repository": {
"type": "git",
"url": "https://github.com/nhscc/airports.api.hscc.bdpa.org"
},
"version": "1.0.0",
"scripts": {
"dev": "gulp checkEnv && next -p `npx -q get-clean-port`",
"dev-windows": "gulp checkEnv && next -p 3000",
"build": "gulp checkEnv && next build",
"start": "next start",
"test": "BABEL_ENV=test jest",
"test-windows": "jest",
"generate": "BABEL_ENV=generator babel config --extensions \".ts\" --out-dir .",
"regenerate": "gulp regenerate",
"list-tasks": "npm run && echo \"Compiling gulp task list...\" && gulp --tasks",
"repl": "command -v rlwrap >/dev/null && rlwrap npx -p @babel/core -p @babel/node babel-node",
"check-types": "command -v unbuffer >/dev/null && (unbuffer tsc; unbuffer eslint .) | less -R -FX || (tsc; eslint .)",
"build-externals": "NODE_ENV=production webpack -p"
},
"author": "Xunnamius",
"license": "ISC",
"jest": {
"testEnvironment": "node",
"testRunner": "jest-circus/runner",
"verbose": true,
"moduleNameMapper": {
"^universe/(.*)$": "<rootDir>/src/$1",
"^multiverse/(.*)$": "<rootDir>/lib/$1",
"^types/(.*)$": "<rootDir>/types/$1"
},
"setupFilesAfterEnv": [
"jest-extended"
]
},
"config": {
"mongodbMemoryServer": {
"version": "4.2.9"
}
},
"expectedEnvVariables": [
"NODE_ENV|BABEL_ENV|APP_ENV",
"MONGODB_URI",
"DISABLED_API_VERSIONS",
"FLIGHTS_GENERATE_DAYS",
"AIRPORT_NUM_OF_GATE_LETTERS",
"AIRPORT_GATE_NUMBERS_PER_LETTER",
"AIRPORT_PAIR_USED_PERCENT",
"FLIGHT_HOUR_HAS_FLIGHTS_PERCENT",
"RESULTS_PER_PAGE",
"IGNORE_RATE_LIMITS",
"LOCKOUT_ALL_KEYS",
"DISALLOWED_METHODS",
"REQUESTS_PER_CONTRIVED_ERROR",
"MAX_CONTENT_LENGTH_BYTES"
],
"dependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-proposal-function-bind": "^7.10.5",
"@babel/plugin-proposal-json-strings": "^7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-proposal-throw-expressions": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-typescript": "^7.10.4",
"@next/bundle-analyzer": "^10.0.4",
"@types/bytes": "^3.1.0",
"@types/clone-deep": "^4.0.1",
"@types/confusing-browser-globals": "^1.0.0",
"@types/cors": "^2.8.7",
"@types/fancy-log": "^1.3.1",
"@types/find-package-json": "^1.1.1",
"@types/gulp": "^4.0.6",
"@types/gulp-tap": "^1.0.0",
"@types/jest": "^26.0.10",
"@types/mongodb": "^3.5.26",
"@types/node": "^14.6.2",
"@types/react": "^16.9.48",
"@types/request-ip": "0.0.35",
"@types/test-listen": "^1.1.0",
"@types/webpack": "^4.41.21",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"babel-plugin-source-map-support": "^2.1.2",
"bytes": "^3.1.0",
"clone-deep": "^4.0.1",
"confusing-browser-globals": "^1.0.9",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"dotenv-webpack": "^2.0.0",
"eslint": "^7.7.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^2.2.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-react": "^7.20.6",
"fancy-log": "^1.3.3",
"fast-shuffle": "^4.2.2",
"gulp": "^4.0.2",
"gulp-tap": "^2.0.0",
"isomorphic-unfetch": "^3.0.0",
"jest": "^26.4.2",
"jest-circus": "^26.4.2",
"jest-extended": "^0.11.5",
"mongodb": "^3.6.0",
"mongodb-client-encryption": "^1.1.0",
"mongodb-memory-server": "^6.6.7",
"next": "^9.5.4",
"next-transpile-modules": "^4.1.0",
"random-int": "^2.0.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"request-ip": "^2.1.3",
"source-map-support": "^0.5.19",
"test-listen": "^1.1.0",
"typescript": "^4.0.2",
"unique-random-array": "^2.0.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
}
}