-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
91 lines (91 loc) · 3.08 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
{
"name": "mirador-dl-plugin",
"version": "1.0.0-alpha.1",
"description": "mirador-dl-plugin React component",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"css",
"es",
"lib",
"umd"
],
"scripts": {
"build": "npm run build:umd && npm run build:demo",
"build:demo": "NODE_ENV=development webpack --mode=development",
"build:umd": "NODE_ENV=production webpack --mode=production",
"build:es": "mkdir -p es && cp -r src/* es && NODE_ENV=production MODULE_FORMAT=es npx babel es -d es",
"build:cjs": "mkdir -p lib && cp -r src/* lib && NODE_ENV=production MODULE_FORMAT=cjs npx babel lib -d lib",
"clean": "rm -rf ./umd && rm -rf ./es && rm -rf ./lib && rm -rf ./demo/dist",
"lint": "eslint ./src ./__tests__",
"prepublishOnly": "npm run clean && npm run build:es && npm run build:cjs && npm run build",
"start": "NODE_ENV=development webpack serve --open",
"test": "npm run lint && jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"dependencies": {
"@emotion/babel-plugin": "^11.11.0",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6"
},
"peerDependencies": {
"@mui/material": "^5.x",
"lodash": "^4.17.11",
"mirador": "^4.0.0-alpha.4",
"react": "18.x",
"react-dom": "18.x"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.7",
"@babel/eslint-parser": "^7.5.4",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-regenerator": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@mui/material": "^5.x",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@testing-library/dom": "^9.2.0",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.0",
"@testing-library/user-event": "^14.4.3",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^9.1.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"eslint": "^8.11.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.1.5",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.3.0",
"html-loader": "^5.0.0",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.4.3",
"jest-puppeteer": "^9.0.2",
"lodash": "^4.17.15",
"mirador": "^4.0.0-alpha.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.70.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.7.4"
},
"author": "",
"homepage": "",
"license": "Apache-2.0",
"repository": "",
"keywords": [
"react-component"
]
}