-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 4.2 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
{
"name": "elections.api.hscc.bdpa.org",
"description": "https://elections.api.hscc.bdpa.org",
"repository": {
"type": "git",
"url": "https://github.com/nhscc/elections.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": "gulp checkEnv && next start",
"test": "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": "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 .)) && echo \"no problems detected!\"",
"preinstall": "test -r package-lock.json && npx npm-force-resolutions || echo '(skipped security resolutions)'"
},
"author": "Xunnamius",
"license": "ISC",
"jest": {
"testEnvironment": "node",
"verbose": true,
"moduleNameMapper": {
"^universe/(.*)$": "<rootDir>/src/$1",
"^multiverse/(.*)$": "<rootDir>/lib/$1",
"^types/(.*)$": "<rootDir>/types/$1"
},
"config": {
"mongodbMemoryServer": {
"version": "4.2.9"
}
},
"resolutions": {
"node-fetch": "^2.6.1",
"yargs-parser": "^13.1.2"
},
"setupFilesAfterEnv": [
"jest-extended"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest"
}
},
"expectedEnvVariables": [
"NODE_ENV|BABEL_ENV|APP_ENV",
"MONGODB_URI",
"MAX_LIMIT",
"IGNORE_RATE_LIMITS",
"LOCKOUT_ALL_KEYS",
"DISALLOWED_METHODS",
"REQUESTS_PER_CONTRIVED_ERROR",
"MAX_OPTIONS_PER_ELECTION",
"MAX_RANKINGS_PER_ELECTION",
"MAX_CONTENT_LENGTH_BYTES"
],
"dependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@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.11.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.5",
"@babel/preset-typescript": "^7.10.4",
"bytes": "^3.1.0",
"confusing-browser-globals": "^1.0.9",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"fast-shuffle": "^3.0.0",
"isomorphic-unfetch": "^3.1.0",
"mongodb": "^3.6.2",
"next": "^10.0.0",
"next-transpile-modules": "^3.3.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"request-ip": "^2.1.3"
},
"devDependencies": {
"@next/bundle-analyzer": "^9.5.3",
"@types/bytes": "^3.1.0",
"@types/cors": "^2.8.7",
"@types/fancy-log": "^1.3.1",
"@types/fast-shuffle": "^1.0.1",
"@types/find-package-json": "^1.1.1",
"@types/gulp": "^4.0.7",
"@types/gulp-tap": "^1.0.0",
"@types/jest": "^26.0.14",
"@types/mongodb": "^3.5.27",
"@types/node": "^14.11.5",
"@types/react": "^16.9.51",
"@types/request-ip": "0.0.35",
"@types/test-listen": "^1.1.0",
"@types/webpack": "^4.41.22",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.5.2",
"babel-plugin-source-map-support": "^2.1.3",
"eslint": "^7.10.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react": "^7.21.3",
"eslint-import-resolver-alias": "^1.1.2",
"fancy-log": "^1.3.3",
"gulp": "^4.0.2",
"gulp-tap": "^2.0.0",
"jest": "^26.5.2",
"jest-extended": "^0.11.5",
"mongodb-memory-server": "^6.6.1",
"random-int": "^2.0.1",
"source-map-support": "^0.5.19",
"test-listen": "^1.1.0",
"typescript": "^3.9.5",
"unique-random-array": "^2.0.0",
"vercel": "^19.1.0"
}
}