-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
88 lines (88 loc) · 2.17 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
{
"name": "obojobo-repository",
"license": "AGPL-3.0-only",
"version": "17.1.0",
"repository": "https://github.com/ucfopen/Obojobo.git",
"homepage": "https://ucfopen.github.io/Obojobo-Docs/",
"description": "Obojobo express server middleware.",
"scripts": {
"test": "TZ='America/New_York' jest",
"test:ci": "TZ='America/New_York' CI=true jest --ci --coverage --coverageReporters text-summary cobertura",
"lint": "yarn lint:js && yarn lint:css",
"lint:js": "eslint **/*{js,jsx}",
"lint:css": "stylelint **/*.scss",
"prettier:run": "prettier --write '**/*.{js,jsx,scss}'",
"precommit": "lint-staged"
},
"engines": {
"node": "^18.16.0"
},
"lint-staged": {
"**/*.scss": [
"stylelint"
],
"**/*.{js,jsx,scss}": [
"prettier --write"
]
},
"dependencies": {
"dayjs": "^1.10.4",
"debounce-promise": "^3.1.2",
"express": "~4.18.2",
"express-react-views-custom": "https://github.com/ucfcdl/express-react-views.git#0ea22b3a3a5846adaae4b7bc86fe0e8f13a38051",
"express-validator": "^6.10.0",
"ignore-styles": "^5.0.1",
"lodash.escaperegexp": "^4.1.2",
"object-assign": "^4.1.1",
"react-data-table-component": "^6.11.7",
"react-modal": "^3.12.1",
"react-redux": "^7.2.3",
"redux": "^4.0.5",
"redux-pack": "^0.1.5",
"sass-mq": "^5.0.1",
"seedrandom": "^2.3.11",
"short-uuid": "^3.1.1",
"styled-components": "^5.3.0",
"use-debounce": "^7.0.0"
},
"peerDependencies": {
"obojobo-express": "^17.1.0",
"obojobo-lib-utils": "^17.1.0"
},
"jest": {
"setupFilesAfterEnv": [
"./setupTests.js"
],
"moduleNameMapper": {
"\\.scss$": "obojobo-lib-utils/__mocks__/ignore-file-stub.js",
"\\.css$": "obojobo-lib-utils/__mocks__/ignore-file-stub.js"
},
"testMatch": [
"/**/*.test.js?(x)"
],
"collectCoverageFrom": [
"*.js",
"client/**/*.js",
"server/**/*.js",
"shared/**/*.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules",
"<rootDir>/setup_tests.js",
"<rootDir>/babel.config.js",
"<rootDir>/prettier.config.js"
],
"coverageReporters": [
"text",
"lcov"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
}