@seatmap.pro/renderer 0.0.6 → 1.47.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,22 +1,48 @@
1
1
  {
2
2
  "name": "@seatmap.pro/renderer",
3
- "version": "0.0.6",
4
- "description": "A powerful and flexible interactive seat map renderer for event ticketing systems. Visit https://seatmap.pro for more information and https://seatmap.pro/knowledge-base/ for documentation.",
5
- "license": "SEE LICENSE IN https://seatmap.pro/tos.html",
6
- "module": "lib/index.mjs",
3
+ "version": "1.47.0",
4
+ "description": "Seatmap renderer library for booking and admin interfaces by Seatmap.pro",
7
5
  "main": "lib/index.js",
8
6
  "types": "lib/index.d.ts",
7
+ "license": "SEE LICENSE IN https://seatmap.pro/terms-of-service",
8
+ "type": "module",
9
+ "author": {
10
+ "name": "Andy Yusin",
11
+ "email": "ay@seatmap.pro",
12
+ "url": "https://seatmap.pro"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/seatmappro/renderer.git"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/seatmappro/renderer/issues"
20
+ },
21
+ "homepage": "https://seatmap.pro",
22
+ "keywords": [
23
+ "seatmap",
24
+ "booking",
25
+ "renderer",
26
+ "typescript",
27
+ "react"
28
+ ],
29
+ "engines": {
30
+ "node": ">=14.0.0"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
9
35
  "files": [
10
36
  "lib"
11
37
  ],
12
38
  "exports": {
13
- "import": "./lib/index.mjs",
14
39
  "default": "./lib/index.js"
15
40
  },
16
41
  "scripts": {
17
42
  "postinstall": "npx update-browserslist-db@latest || true",
18
43
  "prebuild": "npx update-browserslist-db@latest || true",
19
- "start": "webpack-dev-server --open --config webpack.config.dev.js",
44
+ "start": "vite",
45
+ "build:vite": "vite build",
20
46
  "obfuscate-booking": "javascript-obfuscator ./dist/seatmap-booking-renderer.js --output ./dist/seatmap-booking-renderer.js --self-defending true",
21
47
  "obfuscate-admin": "javascript-obfuscator ./dist/seatmap-admin-renderer.js --output ./dist/seatmap-admin-renderer.js --self-defending true",
22
48
  "build": "yarn build-source && yarn docs && yarn obfuscate-booking && yarn obfuscate-admin",
@@ -25,79 +51,91 @@
25
51
  "declaration": "rimraf temp && tsc --declaration --declarationDir ./temp/declaration --emitDeclarationOnly",
26
52
  "docs": "rimraf docs && typedoc",
27
53
  "build-lib": "tsup",
28
- "demo": "webpack --config webpack.config.dev.js",
54
+ "build-demo-standalone": "rimraf ./dist-demo && NODE_OPTIONS=--openssl-legacy-provider webpack --config webpack.config.demo-build.js && node cleanup-demo-build.js",
29
55
  "test": "jest",
30
56
  "test:watch": "jest --watch",
31
57
  "test:coverage": "jest --coverage",
32
- "lint": "eslint 'src/**/*.{ts,tsx}'",
33
- "lint:fix": "eslint 'src/**/*.{ts,tsx}' --fix"
58
+ "generate-schema": "typescript-json-schema tsconfig.json IBookingRendererSettings --out ./src/booking-renderer/schema.json"
34
59
  },
35
60
  "devDependencies": {
36
- "@babel/core": "^7.6.2",
61
+ "@babel/core": "^7.27.1",
37
62
  "@babel/plugin-proposal-class-properties": "^7.5.5",
38
- "@babel/plugin-proposal-export-default-from": "^7.5.2",
63
+ "@babel/plugin-proposal-export-default-from": "^7.27.1",
39
64
  "@babel/plugin-proposal-export-namespace-from": "^7.5.2",
40
65
  "@babel/plugin-proposal-object-rest-spread": "^7.6.2",
41
66
  "@babel/plugin-proposal-optional-chaining": "^7.7.5",
42
67
  "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
43
- "@babel/plugin-transform-runtime": "^7.6.2",
44
- "@babel/preset-env": "^7.6.2",
45
- "@babel/preset-typescript": "^7.6.0",
46
- "@babel/runtime": "^7.6.3",
68
+ "@babel/plugin-transform-runtime": "^7.27.1",
69
+ "@babel/preset-env": "^7.27.1",
70
+ "@babel/preset-react": "^7.27.1",
71
+ "@babel/preset-typescript": "^7.27.1",
72
+ "@babel/runtime": "^7.27.1",
73
+ "@emotion/react": "^11.14.0",
74
+ "@emotion/styled": "^11.14.0",
75
+ "@rjsf/core": "^6.0.0-beta.7",
76
+ "@rjsf/utils": "^6.0.0-beta.7",
77
+ "@rjsf/validator-ajv8": "^6.0.0-beta.7",
47
78
  "@testing-library/jest-dom": "^6.4.2",
79
+ "@testing-library/react": "^14.2.1",
48
80
  "@types/hammerjs": "^2.0.36",
49
81
  "@types/jest": "^29.5.12",
50
82
  "@types/kdbush": "^3.0.0",
51
- "@types/node": "^14.0.4",
52
- "@types/stats.js": "^0.17.0",
53
- "@types/throttle-debounce": "^2.1.0",
54
- "@typescript-eslint/eslint-plugin": "^5.62.0",
55
- "@typescript-eslint/parser": "^5.62.0",
83
+ "@types/node": "^22.15.12",
84
+ "@types/react": "^18.2.64",
85
+ "@types/react-dom": "^18.2.21",
86
+ "@types/stats.js": "^0.17.4",
87
+ "@types/throttle-debounce": "^5.0.2",
88
+ "@vitejs/plugin-react": "^4.2.1",
56
89
  "babel-jest": "^29.7.0",
57
- "babel-loader": "^8.0.6",
58
- "canvas": "^2.11.2",
59
- "concat-md": "^0.3.2",
60
- "core-js": "^3.4.1",
61
- "css-loader": "^3.2.0",
62
- "eslint": "^8.57.0",
63
- "html-loader": "^1.3.2",
64
- "html-webpack-plugin": "^4.3.0",
90
+ "babel-loader": "^10.0.0",
91
+ "canvas": "^3.1.0",
92
+ "concat-md": "^0.5.1",
93
+ "core-js": "^3.42.0",
94
+ "cross-env": "^7.0.3",
95
+ "css-loader": "^7.1.2",
96
+ "formik": "^2.4.6",
97
+ "html-loader": "^5.1.0",
98
+ "html-webpack-plugin": "^5.6.3",
65
99
  "javascript-obfuscator": "^4.1.0",
66
100
  "jest": "^29.7.0",
67
101
  "jest-canvas-mock": "^2.5.2",
68
102
  "jest-environment-jsdom": "^29.7.0",
69
103
  "jest-junit": "^16.0.0",
70
104
  "raw-loader": "^4.0.2",
71
- "rimraf": "^3.0.2",
72
- "style-loader": "^1.0.0",
73
- "terser": "5.31.0",
74
- "ts-jest": "^29.1.2",
75
- "tsup": "8.0.1",
76
- "typedoc": "^0.27.6",
77
- "typedoc-plugin-markdown": "^4.4.1",
78
- "typescript": "5.1.5",
79
- "webpack": "^5.98.0",
105
+ "react": "^18.2.0",
106
+ "react-dom": "^18.2.0",
107
+ "react-icons": "^5.5.0",
108
+ "rimraf": "^6.0.1",
109
+ "style-loader": "^4.0.0",
110
+ "terser": "5.39.0",
111
+ "ts-jest": "^29.3.2",
112
+ "ts-json-schema-generator": "^2.4.0",
113
+ "ts-loader": "^9.5.2",
114
+ "tsup": "8.4.0",
115
+ "typedoc": "^0.28.4",
116
+ "typedoc-plugin-markdown": "^4.6.3",
117
+ "typescript": "5.8.3",
118
+ "typescript-json-schema": "^0.65.1",
119
+ "vite": "^5.2.0",
120
+ "vite-plugin-dts": "^3.7.3",
121
+ "vite-plugin-glsl": "^1.2.1",
122
+ "webpack": "^5.99.7",
80
123
  "webpack-cli": "^6.0.1",
81
- "webpack-dev-server": "^5.2.0"
124
+ "webpack-dev-server": "^5.2.1"
82
125
  },
83
126
  "dependencies": {
84
127
  "hammerjs": "^2.0.8",
85
- "kdbush": "^3.0.0",
86
- "nanoid": "^3.1.9",
87
- "robot3": "^0.2.9",
88
- "throttle-debounce": "^2.1.0",
128
+ "kdbush": "^4.0.2",
129
+ "nanoid": "^5.1.5",
130
+ "robot3": "^1.1.1",
131
+ "stats.js": "^0.17.0",
132
+ "throttle-debounce": "^5.0.2",
89
133
  "whatwg-fetch": "^3.0.0"
90
134
  },
91
135
  "browserslist": [
92
- "last 2 years",
93
- "> 0.5%",
136
+ ">0.2%",
137
+ "ie 11",
94
138
  "not dead",
95
- "not ie 11",
96
- "not op_mini all",
97
- "chrome >= 90",
98
- "firefox >= 90",
99
- "safari >= 14",
100
- "edge >= 90",
101
- "ios >= 14"
139
+ "not op_mini all"
102
140
  ]
103
141
  }