This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
117 lines (117 loc) · 4.23 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
{
"name": "digital-collections",
"version": "0.1.0",
"private": true,
"dependencies": {
"@appbaseio/reactivesearch": "3.23.1",
"@emotion/react": "^11.7.1",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@honeybadger-io/react": "^2.0.0",
"@reglendo/canvas2image": "^1.0.5-2",
"@samvera/clover-iiif": "^1.9.1",
"@samvera/image-downloader": "^1.1.1",
"cookie": "^0.4.0",
"cross-fetch": "^3.1.4",
"jest-util": "27.4.2",
"jquery": "^3.6.0",
"jsonwebtoken": "^8.5.1",
"moment": "^2.29.1",
"npm-run-all": "^4.1.2",
"openseadragon": "^3.0.0",
"openseadragon-react-viewer": "^3.6.0",
"react": "^17.0.2",
"react-app-polyfill": "^3.0.0",
"react-collapsible": "^2.8.3",
"react-copy-to-clipboard": "^5.0.4",
"react-device-detect": "^2.1.2",
"react-dom": "^17.0.2",
"react-error-boundary": "^3.1.4",
"react-helmet": "^6.1.0",
"react-modal": "^3.14.4",
"react-notify-toast": "^0.5.0",
"react-obfuscate": "^3.6.8",
"react-redux": "^7.2.6",
"react-router-dom": "^5.1.0",
"react-scripts": "^4.0.3",
"react-select": "^5.2.1",
"react-share": "^4.4.0",
"react-sizes": "^2.0.0",
"react-slidedown": "^2.4.6",
"react-spinners": "^0.11.0",
"react-tabs": "^3.2.3",
"react-test-renderer": "^17.0.2",
"redux": "^4.1.2",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.4.1",
"sass": "^1.45.0",
"source-map-explorer": "^2.5.2",
"swiper": "7.3.3",
"whatwg-fetch": "^3.6.2"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"eslint src --ext .js,.jsx,.ts,.tsx"
],
"cypress/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"eslint src --ext .js,.jsx,.ts,.tsx"
]
},
"scripts": {
"analyze": "source-map-explorer build/static/js/main.*",
"build-css": "sass src/:src/",
"watch-css": "npm run build-css && sass src/:src/ --watch",
"start-js": "react-scripts start --no-cache",
"start": "HTTPS=${HTTPS:-true} HOST=${HOST:-devbox.library.northwestern.edu} PORT=${PORT:-3333} SSL_CRT_FILE=$SSL_CERT SSL_KEY_FILE=$SSL_KEY npm-run-all -p watch-css start-js",
"start:use-real-data": "REACT_APP_DONUT_URL=https://donut.library.northwestern.edu/ REACT_APP_ELASTICSEARCH_PROXY_BASE=https://dcapi.stack.rdc.library.northwestern.edu REACT_APP_LIVE_IIIF=true npm-run-all -p start",
"start:use-staging-data": "REACT_APP_ELASTICSEARCH_PROXY_BASE=https://dcapi.stack.rdc-staging.library.northwestern.edu REACT_APP_LIVE_IIIF=true npm-run-all -p start",
"build-js": "react-scripts build",
"build": "npm-run-all build-css build-js",
"test": "react-scripts test",
"eject": "react-scripts eject",
"pre-commit": "lint-staged",
"prettier": "prettier --check src/**/*.js* src/**/*.scss",
"prettier-fix": "prettier --write src/**/*.js* src/**/*.scss",
"ci": "react-scripts test --watchAll=false --coverage --detectOpenHandles",
"ci-lcov": "react-scripts test --watchAll=false --coverage --detectOpenHandles --coverageReporters=text-lcov",
"cypress:mock-auth": "CYPRESS_ELASTICSEARCH_PROXY_BASE=https://dcapi.stack.rdc.library.northwestern.edu cypress open",
"prepare": "husky install",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx"
},
"devDependencies": {
"@nulib/prettier-config": "^1.2.0",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.3",
"@types/node": "^17.0.0",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.3.2",
"coveralls": "^3.1.1",
"cypress": "^9.1.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jest-canvas-mock": "^2.3.1",
"lint-staged": "^12.1.2",
"prettier": "^2.5.1",
"prop-types": "^15.6.1",
"react-router-prop-types": "^1.0.5",
"start-server-and-test": "^1.13.1",
"typescript": "^4.5.4"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": {
"moduleNameMapper": {
"@reglendo(.*)": "<rootDir>/globalStub.js"
}
}
}