-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.46 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 3.46 KB
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
{
"name": "obojobo-document-engine",
"version": "17.0.0-alpha.0",
"license": "AGPL-3.0-only",
"description": "",
"engines": {
"node": "^18.16.0"
},
"main": "index.js",
"scripts": {
"test": "TZ='America/New_York' jest --verbose",
"test:ci": "TZ='America/New_York' CI=true jest --ci --useStderr --coverage --coverageReporters text-summary cobertura",
"start": "webpack --watch",
"dev": "webpack serve --colors --port 8090 --host 0.0.0.0",
"build": "webpack --mode production --optimize-minimize",
"build:dev": "webpack --mode development",
"build:minifysvg": "find ./ ! -path node_modules -type f -name '*.svg' ! -name '*.min.svg' -exec svgo {} --multipass --pretty --precision=2 \\;",
"generateModuleManifest": "node ./bin/generate_module_manifest.js",
"prettier:run": "prettier --write '{__{tests,mocks}__,src}/**/*.{js,scss}'",
"lint": "yarn lint:js && yarn lint:css",
"lint:js": "eslint .",
"lint:css": "stylelint **/*.scss",
"precommit": "lint-staged"
},
"lint-staged": {
"{__{tests,mocks}__,src}/**/*.scss": [
"stylelint"
],
"{__{tests,mocks}__,src}/**/*.{js,scss}": [
"prettier --write"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"postcss": {
"parser": "postcss-scss",
"plugins": {}
},
"author": "",
"dependencies": {
"backbone": "^1.3.3",
"codemirror": "^5.60.0",
"date-fns": "^2.19.0",
"downloadjs": "^1.4.7",
"katex": "^0.13.1",
"prop-types": "15.7.2",
"react": "^16.13.1",
"react-codemirror2": "^7.2.1",
"react-compound-slider": "^3.3.1",
"react-dom": "^16.13.1",
"react-idle-timer": "4.5.6",
"react-transition-group": "^4.4.1",
"sass-mq": "^5.0.1",
"slate": "0.57.2",
"slate-history": "0.57.2",
"slate-react": "0.57.2",
"slate-schema-violations": "0.1.39",
"smoothscroll-polyfill": "^0.4.4",
"sysend": "^1.3.5",
"underscore": "1.12.1",
"url-parse": "^1.5.1",
"xstate": "^4.13.0"
},
"jest": {
"testURL": "http://localhost:3000/view/00000000-0000-0000-0000-000000000000/visit/1",
"testMatch": [
"/**/*.test.js?(x)"
],
"setupFilesAfterEnv": [
"./setupTests.js"
],
"verbose": false,
"moduleNameMapper": {
"^Common(.*)$": "<rootDir>/src/scripts/common$1",
"^Viewer(.*)$": "<rootDir>/src/scripts/viewer$1",
"\\.scss$": "obojobo-lib-utils/__mocks__/ignore-file-stub.js",
"\\.css$": "obojobo-lib-utils/__mocks__/ignore-file-stub.js",
"\\.svg$": "obojobo-lib-utils/__mocks__/ignore-file-stub.js"
},
"moduleDirectories": [
"<rootDir>",
"node_modules"
],
"collectCoverageFrom": [
"src/scripts/**"
],
"coverageReporters": [
"text",
"lcov"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/scripts/viewer/index.js",
"<rootDir>/src/scripts/viewer/app.js",
"<rootDir>/src/scripts/viewer/dist.js",
"<rootDir>/src/scripts/oboeditor/index.js",
"<rootDir>/src/scripts/oboeditor/app.js",
"<rootDir>/src/scripts/oboeditor/dist.js",
"<rootDir>/src/scripts/viewer/polyfills.js",
"<rootDir>/src/scripts/viewer/focus-polyfill.js",
".json",
"<rootDir>/src/scripts/common/index.js",
"<rootDir>/src/scripts/common/dist.js",
"<rootDir>/src/scripts/common/models/chunk.js",
"<rootDir>/src/scripts/viewer/components/rd.js",
"<rootDir>/src/scripts/viewer/stores/assessment-store/lti-network-states.js",
"<rootDir>/src/scripts/viewer/stores/assessment-store/lti-resync-states.js"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
}