dbf-mirador-annotation-editor 1.3.3

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 ADDED
@@ -0,0 +1,134 @@
1
+ {
2
+ "name": "dbf-mirador-annotation-editor",
3
+ "version": "1.3.3",
4
+ "description": "Mirador annotation editor plugin in a React component. Mirador 4 compatible",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/TETRAS-IIIF/mirador-annotation-editor/"
8
+ },
9
+ "main": "dist/mirador-annotation-editor.cjs.js",
10
+ "module": "dist/mirador-annotation-editor.es.js",
11
+ "types": "dist/index.d.ts",
12
+ "typesVersions": {
13
+ "*": {
14
+ "*": [
15
+ "dist/index.d.ts"
16
+ ]
17
+ }
18
+ },
19
+ "style": "dist/index.css",
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "sideEffects": [
24
+ "dist/index.css"
25
+ ],
26
+ "exports": {
27
+ ".": {
28
+ "import": "./dist/mirador-annotation-editor.es.js",
29
+ "require": "./dist/mirador-annotation-editor.cjs.js"
30
+ },
31
+ "./dist/index.css": "./dist/index.css",
32
+ "./package.json": "./package.json"
33
+ },
34
+ "scripts": {
35
+ "prepack": "npm run build",
36
+ "build": "vite build && npm run types:copy",
37
+ "types:copy": "mkdir -p dist && cp src/index.d.ts dist/index.d.ts",
38
+ "clean": "rm -rf ./dist && rm -rf node_modules",
39
+ "lint": "npx eslint ./",
40
+ "prepublishOnly": "npm run build",
41
+ "start": "vite",
42
+ "test": "npx vitest run",
43
+ "test:coverage": "npm run lint && npx vitest run --coverage",
44
+ "build:demo": "GITHUB_PAGES=true vite build -c vite.demo.config.js"
45
+ },
46
+ "contributors": [
47
+ "Anthony Geourjon <anthony.geourjon@tetras-libre.fr> (https://www.tetras-libre.fr)",
48
+ "David Rouquet <david.rouquet@tetras-libre.fr> (https://www.tetras-libre.fr)",
49
+ "Antoine Roy <antoine.roy@tetras-libre.fr> (https://www.tetras-libre.fr)",
50
+ "azop <azop@azopcorp.com>",
51
+ "Fabian Stoehr <stoehr@ub.uni-leipzig.de>",
52
+ "Lutz Helm <helm@ub.uni-leipzig.de>",
53
+ "paulhectork <paul.kervegan@hotmail.fr>",
54
+ "Ségolène Albouy <44207487+Segolene-Albouy@users.noreply.github.com>",
55
+ "David Flood <69060117+d-flood@users.noreply.github.com>"
56
+ ],
57
+ "dependencies": {
58
+ "axios": "^1.15.0",
59
+ "uuid": "^13.0.0",
60
+ "babel-loader": "^9.1.3",
61
+ "brace": "^0.11.1",
62
+ "html-loader": "^5.0.0",
63
+ "json-edit-react": "^1.22.2",
64
+ "react-color": "^2.19.3",
65
+ "react-konva": "^18.2.10",
66
+ "react-konva-to-svg": "^1.0.2",
67
+ "react-quill": "npm:react-quill-new@3.8.3",
68
+ "react-redux": "^9.2.0",
69
+ "react-refresh": "^0.14.0",
70
+ "react-resize-observer": "^1.1.1",
71
+ "react-select": "^5.10.1",
72
+ "react-sortablejs": "^6.1.4",
73
+ "redux": "^5.0.1",
74
+ "redux-saga": "^1.3.0",
75
+ "redux-thunk": "^3.1.0",
76
+ "sortablejs": "^1.15.2",
77
+ "use-image": "^1.1.1"
78
+ },
79
+ "peerDependencies": {
80
+ "@emotion/react": ">=11",
81
+ "@emotion/styled": ">=11",
82
+ "@mui/material": ">=5",
83
+ "@mui/system": "^7.x",
84
+ "i18next": ">=23",
85
+ "lodash": "^4.17.23",
86
+ "dbf-mirador": "^4.2.3",
87
+ "prop-types": "^15.7.2",
88
+ "react": "^18.3.1 || ^19.0.0",
89
+ "react-dom": "^18.3.1 || ^19.0.0",
90
+ "react-i18next": ">=15"
91
+ },
92
+ "devDependencies": {
93
+ "@babel/cli": "^7.28.6",
94
+ "@babel/core": "^7.29.0",
95
+ "@babel/eslint-parser": "^7.28.6",
96
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
97
+ "@babel/preset-env": "^7.29.2",
98
+ "@babel/preset-react": "^7.28.5",
99
+ "@mui/icons-material": "^7.3.10",
100
+ "@mui/material": "^7.3.10",
101
+ "@mui/utils": "^5.17.1",
102
+ "@testing-library/dom": "^10.4.0",
103
+ "@testing-library/jest-dom": "^6.6.3",
104
+ "@testing-library/react": "^16.3.2",
105
+ "@testing-library/user-event": "^14.4.3",
106
+ "@vitejs/plugin-react": "^4.3.3",
107
+ "@vitest/coverage-v8": "^3.0.5",
108
+ "canvas": "^3.2.1",
109
+ "css-loader": "^6.10.0",
110
+ "enzyme": "^3.11.0",
111
+ "eslint": "^8.56.0",
112
+ "eslint-config-airbnb": "^19.0.4",
113
+ "eslint-config-react-app": "^7.0.0",
114
+ "eslint-plugin-flowtype": "^8.0.3",
115
+ "eslint-plugin-import": "^2.32.0",
116
+ "eslint-plugin-jest": "^26.1.1",
117
+ "eslint-plugin-jsx-a11y": "^6.10.2",
118
+ "eslint-plugin-react": "^7.37.5",
119
+ "eslint-plugin-react-hooks": "^4.6.2",
120
+ "eslint-plugin-vitest": "^0.5.4",
121
+ "happy-dom": "^20.9.0",
122
+ "jest": "^30.2.0",
123
+ "jest-canvas-mock": "^2.2.0",
124
+ "jest-junit": "^15.0.0",
125
+ "jest-localstorage-mock": "^2.4.2",
126
+ "dbf-mirador": "^4.2.3",
127
+ "prop-types": "^15.7.2",
128
+ "react": "^19.2.5",
129
+ "react-dom": "^19.2.5",
130
+ "style-loader": "^4.0.0",
131
+ "uuid": "^13.0.0"
132
+ },
133
+ "license": "Apache-2.0"
134
+ }