-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
141 lines (141 loc) · 3.98 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "scripture-resources-rcl",
"description": "A React Component Library for Rendering Scripture Resources.",
"version": "5.5.13",
"homepage": "https://scripture-resources-rcl.netlify.com/",
"repository": {
"type": "git",
"url": "https://github.com/unfoldingWord/scripture-resources-rcl"
},
"license": "MIT",
"scripts": {
"start": "styleguidist server",
"build": "styleguidist build",
"deploy": "git push",
"prepublishOnly": "rm -fr ./dist && babel --config-file ./babel.prod.config.js ./src --out-dir ./dist -s inline",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"nyc:report": "nyc report --reporter=json-summary --reporter=text",
"test": "jest",
"test:e2e": "nyc start-test 6060 cypress:run && npm run nyc:report",
"create-coverage-badge": "bash scripts/create-badge-json.sh"
},
"eslintConfig": {
"extends": "react-app",
"plugins": [
"react-hooks"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"dependencies": {
"bible-reference-range": "^1.1.0",
"deep-freeze": "^0.0.1",
"gitea-react-toolkit": "2.2.1",
"js-yaml-parser": "^1.0.0",
"lodash": "^4.17.21",
"markdown-translatable": "2.1.1",
"nyc": "^15.0.0-beta.3",
"prop-types": "^15.8.1",
"react-waypoint": "^9.0.2",
"string-punctuation-tokenizer": "^2.2.0",
"tc-ui-toolkit": "^5.3.3",
"use-deep-compare-effect": "^1.3.1",
"usfm-js": "^3.4.3",
"uw-quote-helpers": "1.1.4",
"word-aligner": "^1.0.0",
"xregexp": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.14.8",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-transform-runtime": "^7.7.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.0.0",
"@cypress/code-coverage": "3.10.0",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.11.3",
"@material-ui/lab": "^4.0.0-alpha.61",
"@material-ui/styles": "^4.11.5",
"@types/jest": "28.1.6",
"@unfoldingword/eslint-config": "^1.3.3",
"babel-loader": "^8.0.6",
"babel-plugin-inline-json-import": "^0.3.2",
"babel-plugin-istanbul": "^6.0.0",
"coveralls": "^3.1.1",
"css-loader": "^3.2.0",
"cypress": "^11.2.0",
"deep-equal": "^2.0.5",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "2.12.1",
"file-loader": "^4.2.0",
"istanbul-lib-coverage": "^2.0.5",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jsdom": "^20.0.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-json-view": "^1.19.1",
"react-scripts": "^2.1.8",
"react-styleguidist": "^9.1.14",
"start-server-and-test": "^1.10.6",
"style-loader": "^1.0.0",
"webpack": "^4.44.2"
},
"peerDependencies": {
"@material-ui/core": "^4.7.0",
"@material-ui/icons": "^4.5.1",
"@material-ui/lab": "^4.0.0-alpha.32",
"@material-ui/styles": "^4.4.1",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"main": "dist/index.js",
"files": [
"dist/*"
],
"nyc": {
"include": [
"src/components/**/**.js"
],
"exclude": [
"**/mocks/**"
],
"all": true
},
"jest": {
"collectCoverage": false,
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"**/core/**.{js,jsx,ts}",
"!**/node_modules/**",
"!**/vendor/**"
],
"testMatch": [
"<rootDir>/src/**/**.spec.js",
"<rootDir>/__tests__/**/**.spec.js"
],
"testPathIgnorePatterns": [
"node_modules",
"cypress"
],
"transformIgnorePatterns": [
"mocks",
"node_modules"
],
"setupFilesAfterEnv": [
"<rootDir>__tests__/setupTests.js"
]
}
}