-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
111 lines (111 loc) · 2.8 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
{
"name": "canvas-rce-api",
"version": "1.27.2",
"description": "An API for proxying requests by the RCE to Canvas and other services.",
"engines": {
"node": "^18",
"npm": "^9"
},
"mocha": {
"exit": true,
"require": [
"dotenv/config",
"test/support/setup"
]
},
"nyc": {
"include": [
"app/**/*.js",
"shared/**/*.js"
]
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 2018
},
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"plugin:security/recommended",
"prettier"
],
"plugins": [
"mocha",
"security"
],
"rules": {
"strict": 0,
"mocha/no-exclusive-tests": 2,
"mocha/handle-done-callback": 2,
"mocha/no-global-tests": 2
}
},
"main": "app.js",
"config": {
"mocha_env": "test"
},
"scripts": {
"lint": "eslint \"app/**/*.js\" \"test/**/*.js\" \"shared/**/*.js\"",
"test": "mocha 'test/{service,shared}/**/*.test.js'",
"test:one": "mocha",
"test-cov": "cross-env BABEL_ENV=test nyc -r html node_modules/.bin/mocha -- 'test/{service,shared}/**/*.test.js'",
"debug-test": "mocha --inspect-brk 'test/{service,shared}/**/*.test.js'",
"debug-test:one": "mocha --inspect-brk",
"fmt:check": "prettier -l '**/*.{js,json}'",
"fmt:fix": "prettier --write '**/*.{js,json}'",
"precommit": "pretty-quick --staged",
"start": "node app.js",
"start:dev": "nodemon --watch app --watch config app.js",
"start:debug": "node --inspect-brk app.js",
"security:dependency-monitor": "snyk monitor"
},
"author": "Instructure, Inc.",
"private": true,
"license": "MIT",
"dependencies": {
"body-parser": "^1.18.3",
"cors": "^2.8.5",
"dotenv": "^5.0.1",
"entities": "^1.1.2",
"escape-html": "^1.0.3",
"express": "^4.16.3",
"express-request-id": "^1.4.1",
"express-statsd": "^0.3.0",
"hot-shots": "^6.1.1",
"inja": "^1.1.0",
"jsonwebtoken": "^5.7.0",
"moment": "^2.22.2",
"morgan": "^1.10.0",
"node-exceptions": "^3.0.0",
"node-fetch": "^2.6.1",
"node-jose": "^2.0.0",
"parse-link-header": "^0.4.1",
"qs": "^6.2.1",
"querystring": "^0.2.1",
"raven": "github:zwily/raven-node#middleware-req-callback",
"url": "^0.11.3"
},
"devDependencies": {
"cross-env": "^3.1.3",
"dev-null": "0.1.1",
"eslint": "^4.19.1",
"eslint-config-prettier": "^6",
"eslint-plugin-mocha": "4.12.1",
"eslint-plugin-security": "^1.4.0",
"get-port": "^5.0.0",
"husky": "^0.14.3",
"mocha": "^8.2.1",
"nock": "^13",
"nodemon": "^1.18.3",
"nyc": "^12.0.2",
"prettier": "^1",
"pretty-quick": "^1.4.1",
"sinon": "1.17.3",
"snyk": "^1.99.1",
"supertest": "^3.1.0"
}
}