forked from bcgov/range-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·113 lines (113 loc) · 3.54 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
{
"name": "myra-api",
"version": "0.0.1",
"description": "MyRA API",
"main": "index.js",
"engines": {
"node": "~6.11.0"
},
"dependencies": {
"@bcgov/nodejs-common-utils": "0.0.16",
"@babel/runtime": "^7.1.5",
"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",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"express-session": "^1.15.6",
"handlebars": "^4.0.11",
"ip": "^1.1.4",
"jsonwebtoken": "^8.2.1",
"knex": "^0.15.1",
"lodash": "^4.17.11",
"moment": "^2.22.0",
"nconf": "^0.10.0",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"passport-oauth2": "^1.4.0",
"passport-mock-strategy": "^1.1.1",
"pg": "^7.4.1",
"request": "^2.85.0",
"request-promise-native": "^1.0.5",
"wkhtmltopdf": "^0.3.4",
"csv": "^3.0.2"
},
"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-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": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-preset-airbnb": "^3.0.1",
"eslint": "^5.1.0",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-config-defaults": "^9.0.0",
"eslint-plugin-filenames": "^1.2.0",
"eslint-plugin-import": "^2.10.0",
"faker": "^4.1.0",
"gulp": "^4.0.0",
"gulp-babel": "^8.0.0",
"gulp-clean": "^0.4.0",
"jest": "^24.5.0",
"nodemon": "^1.18.3",
"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",
"dev_docker": "NODE_ENV=development ./node_modules/.bin/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 __tests__",
"test:watch": "cross-env NODE_ENV=unit_test jest --verbose __tests__ --watch",
"test:security": "nsp check",
"test:lint": "eslint --env node --ext .js src __tests__ __testHelpers__ __mocks__",
"import": "node build/scripts/import.js",
"initialize_docker": "./node_modules/.bin/knex migrate:latest && ./node_modules/.bin/knex seed:run && ./node_modules/.bin/babel-node scripts/import.js true",
"initialize": "npx knex migrate:latest && npx knex seed:run && npx babel-node scripts/import.js true"
},
"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"
]
},
"author": "Jason C. Leach <[email protected]>",
"license": "Apache-2.0",
"homepage": "https://github.com:bcgov/range-api#readme"
}