-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
131 lines (131 loc) · 4.07 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": "myra-api",
"version": "1.0.0",
"description": "MyRA API",
"main": "index.js",
"engines": {
"node": "~6.11.0"
},
"dependencies": {
"@babel/runtime": "^7.1.5",
"@bcgov/nodejs-common-utils": "0.0.16",
"axios": "^1.4.0",
"body-parser": "^1.18.2",
"chalk": "^2.3.2",
"compression": "^1.7.2",
"connect-flash": "^0.1.1",
"cookie-parser": "^1.4.3",
"cors": "^2.8.1",
"cross-env": "^5.1.4",
"csv": "^3.0.2",
"deepdash": "^4.3.1",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"express-session": "^1.15.6",
"handlebars": "^4.3.0",
"ip": "^1.1.4",
"js-yaml": "^3.13.1",
"jsonwebtoken": "^8.2.1",
"jwks-rsa": "^3.0.1",
"knex": "^0.21.21",
"lodash": "^4.17.13",
"minio": "^7.0.16",
"moment": "^2.22.0",
"nconf": "^0.10.0",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"passport-mock-strategy": "^1.1.1",
"passport-oauth2": "^1.4.0",
"pg": "^8.0.3",
"request": "^2.85.0",
"request-promise-native": "^1.0.5",
"wkhtmltopdf": "^0.3.4"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/helper-plugin-utils": "^7.0.0",
"@babel/node": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.6",
"@babel/preset-stage-2": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"@babel/eslint-parser": "^7.23.10",
"babel-jest": "^24.5.0",
"babel-preset-airbnb": "^3.0.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"faker": "^4.1.0",
"gulp": "^4.0.0",
"gulp-babel": "^8.0.0",
"gulp-clean": "^0.4.0",
"gulp-sourcemaps": "^2.6.5",
"husky": "^9.0.11",
"jest": "^24.5.0",
"lint-staged": "^15.2.2",
"nodemon": "^1.18.3",
"prettier": "^3.2.5",
"supertest": "^3.4.2"
},
"scripts": {
"start": "node build/src/server.js",
"dev": "NODE_ENV=development nodemon src/server.js --exec babel-node --inspect=0.0.0.0:9229 --nolazy",
"debug": "babel-node --inspect-brk=0.0.0.0:9229 --nolazy build/src",
"build": "cross-env NODE_ENV=production gulp",
"build:doc": "./node_modules/.bin/apidoc -i src/ -o doc/api",
"test": "cross-env NODE_ENV=unit_test jest --verbose --coverage --runInBand __tests__",
"test:watch": "cross-env NODE_ENV=unit_test jest --verbose __tests__ --watch --runInBand",
"test:security": "nsp check",
"test:lint": "eslint --env node --ext .js src __tests__ __testHelpers__ __mocks__",
"import": "node build/scripts/import.js",
"plan_extension": "node build/scripts/plan_extension.js",
"initialize_docker": "npm run build && ./node_modules/.bin/knex migrate:latest && ./node_modules/.bin/knex seed:run && ./node_modules/.bin/babel-node scripts/import.js true",
"initialize": "npm rum build && npx knex migrate:latest && npx knex seed:run && npx babel-node scripts/import.js true",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:bcgov/secure-image-api.git"
},
"@std/esm": {
"esm": "all",
"cjs": true
},
"jest": {
"verbose": false,
"testURL": "http://localhost/",
"testEnvironment": "jest-environment-node",
"transform": {
"^.+\\.js$": "babel-jest"
},
"globals": {
"NODE_ENV": "test"
},
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleDirectories": [
"node_modules",
"src/frontend",
"src/shared"
],
"setupFilesAfterEnv": [
"<rootDir>/__testHelpers__/setup.js"
]
},
"author": "Jason C. Leach <[email protected]>",
"license": "Apache-2.0",
"homepage": "https://github.com:bcgov/range-api#readme",
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}