mirador-dl-plugin 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mirador-dl-plugin",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "mirador-dl-plugin React component",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -11,47 +11,42 @@
11
11
  "umd"
12
12
  ],
13
13
  "scripts": {
14
- "build": "nwb build-react-component",
15
- "clean": "nwb clean-module && nwb clean-demo",
16
- "lint": "npx eslint ./",
14
+ "clean": "rm -rf ./dist && rm -rf ./demo/dist",
15
+ "prebuild": "npm run clean",
17
16
  "prepublishOnly": "npm run build",
18
- "start": "nwb serve-react-demo",
19
- "test": "npm run lint && jest",
20
- "test:coverage": "jest --coverage",
21
- "test:watch": "jest --watch"
22
- },
23
- "peerDependencies": {
24
- "@material-ui/core": "^4.11.0",
25
- "@material-ui/icons": "^4.9.1",
26
- "lodash": "^4.17.11",
27
- "mirador": "^3.0.0-rc.7",
28
- "prop-types": "^15.7.2",
29
- "react": "16.x",
30
- "react-dom": "16.x"
17
+ "build": "run-p build:es",
18
+ "build:es": "rollup -c",
19
+ "serve": "vite",
20
+ "test": "vitest run",
21
+ "test:coverage": "vitest run --coverage",
22
+ "test:watch": "vitest"
31
23
  },
32
24
  "devDependencies": {
33
- "@babel/core": "^7.7.2",
34
- "@babel/preset-env": "^7.7.1",
35
- "@babel/preset-react": "^7.7.0",
25
+ "@babel/cli": "^7.26.4",
26
+ "@babel/core": "^7.26.0",
27
+ "@babel/preset-env": "^7.21.4",
28
+ "@babel/preset-react": "^7.18.6",
36
29
  "@material-ui/core": "^4.11.0",
37
30
  "@material-ui/icons": "^4.9.1",
38
- "babel-eslint": "^10.0.3",
39
- "babel-jest": "^24.9.0",
31
+ "@rollup/plugin-babel": "^6.0.3",
32
+ "@testing-library/jest-dom": "^6.1.5",
33
+ "@testing-library/react": "^12.0.0",
34
+ "@testing-library/user-event": "^14.6.1",
35
+ "@vitejs/plugin-react": "^5.1.2",
36
+ "@vitest/coverage-v8": "^4.0.17",
37
+ "@vitest/ui": "^4.0.17",
40
38
  "enzyme": "^3.9.0",
41
39
  "enzyme-adapter-react-16": "^1.15.1",
42
- "eslint": "^5.3.0",
43
- "eslint-config-airbnb": "^17.1.1",
44
- "eslint-plugin-import": "^2.18.2",
45
- "eslint-plugin-jest": "^22.21.0",
46
- "eslint-plugin-jsx-a11y": "^6.2.3",
47
- "eslint-plugin-react": "^7.16.0",
48
- "jest": "^24.9.0",
40
+ "jsdom": "^27.4.0",
49
41
  "lodash": "^4.17.15",
50
- "mirador": "^3.0.0-rc.7",
51
- "nwb": "0.23.x",
52
- "prop-types": "^15.7.2",
53
- "react": "^16.12.0",
54
- "react-dom": "^16.12.0"
42
+ "mirador": "^3.4.3",
43
+ "npm-run-all": "^4.1.5",
44
+ "parcel": "^2.8.3",
45
+ "rollup": "^3.29.5",
46
+ "url": "^0.11.4",
47
+ "vite": "^7.3.1",
48
+ "vitest": "^4.0.17",
49
+ "whatwg-fetch": "^3.6.20"
55
50
  },
56
51
  "author": "",
57
52
  "homepage": "",
@@ -59,5 +54,16 @@
59
54
  "repository": "",
60
55
  "keywords": [
61
56
  "react-component"
62
- ]
57
+ ],
58
+ "dependencies": {
59
+ "@material-ui/core": "^4.11.0",
60
+ "@material-ui/icons": "^4.9.1",
61
+ "jquery": "^3.7.0",
62
+ "lodash": "^4.17.11",
63
+ "prop-types": "^15.8.1",
64
+ "react": "^16.14.0",
65
+ "react-dom": "^16.14.0",
66
+ "redux": "^4.2.1",
67
+ "redux-saga": "^1.2.3"
68
+ }
63
69
  }