-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
65 lines (65 loc) · 1.47 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
{
"name": "obojobo-chunks-numeric-assessment",
"version": "17.1.0",
"license": "AGPL-3.0-only",
"description": "NumericAssessment chunk for Obojobo",
"scripts": {
"test": "TZ='America/New_York' jest --verbose",
"test:ci": "TZ='America/New_York' CI=true jest --ci --useStderr --coverage --coverageReporters text-summary cobertura",
"lint": "yarn lint:js && yarn lint:css",
"lint:js": "eslint .",
"lint:css": "stylelint **/*.scss",
"prettier:run": "prettier --write '**/*.{js,scss}'",
"precommit": "lint-staged"
},
"lint-staged": {
"**/*.scss": [
"stylelint"
],
"**/*.{js,scss}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 100,
"semi": false,
"useTabs": true,
"singleQuote": true
},
"dependencies": {
"big.js": "^6.1.1"
},
"peerDependencies": {
"obojobo-chunks-question": "^17.1.0",
"obojobo-lib-utils": "^17.1.0"
},
"jest": {
"testMatch": [
"**/*.test.js"
],
"setupFilesAfterEnv": [
"obojobo-lib-utils/test-setup-chunks.js"
],
"verbose": false,
"coverageReporters": [
"text",
"lcov"
],
"coveragePathIgnorePatterns": [
"node_modules"
],
"moduleNameMapper": {
"^Common(.*)$": "obojobo-document-engine/src/scripts/common$1",
"^Viewer(.*)$": "obojobo-document-engine/src/scripts/viewer$1",
"\\.(svg|scss)$": "obojobo-lib-utils/__mocks__/ignore-file-stub.js"
},
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
}