@seatmap.pro/renderer 0.0.1

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,91 @@
1
+ {
2
+ "name": "@seatmap.pro/renderer",
3
+ "version": "0.0.1",
4
+ "module": "lib/index.mjs",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "files": [
8
+ "lib"
9
+ ],
10
+ "exports": {
11
+ "import": "./lib/index.mjs",
12
+ "default": "./lib/index.js"
13
+ },
14
+ "scripts": {
15
+ "postinstall": "npx update-browserslist-db@latest || true",
16
+ "prebuild": "npx update-browserslist-db@latest || true",
17
+ "start": "webpack-dev-server --open --config webpack.config.dev.js",
18
+ "obfuscate-booking": "javascript-obfuscator ./dist/seatmap-booking-renderer.js --output ./dist/seatmap-booking-renderer.js --self-defending true",
19
+ "obfuscate-admin": "javascript-obfuscator ./dist/seatmap-admin-renderer.js --output ./dist/seatmap-admin-renderer.js --self-defending true",
20
+ "build": "yarn build-source && yarn docs && yarn obfuscate-booking && yarn obfuscate-admin",
21
+ "build-source": "yarn type-check && rimraf ./dist && webpack",
22
+ "type-check": "tsc --noEmit",
23
+ "declaration": "rimraf temp && tsc --declaration --declarationDir ./temp/declaration --emitDeclarationOnly",
24
+ "docs": "rimraf docs && typedoc",
25
+ "build-lib": "tsup",
26
+ "demo": "webpack --config webpack.config.dev.js",
27
+ "test": "jest",
28
+ "test:watch": "jest --watch",
29
+ "test:coverage": "jest --coverage"
30
+ },
31
+ "devDependencies": {
32
+ "@babel/core": "^7.6.2",
33
+ "@babel/plugin-proposal-class-properties": "^7.5.5",
34
+ "@babel/plugin-proposal-export-default-from": "^7.5.2",
35
+ "@babel/plugin-proposal-export-namespace-from": "^7.5.2",
36
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
37
+ "@babel/plugin-proposal-object-rest-spread": "^7.6.2",
38
+ "@babel/plugin-proposal-optional-chaining": "^7.7.5",
39
+ "@babel/plugin-transform-runtime": "^7.6.2",
40
+ "@babel/preset-env": "^7.6.2",
41
+ "@babel/preset-typescript": "^7.6.0",
42
+ "@babel/runtime": "^7.6.3",
43
+ "@testing-library/jest-dom": "^6.4.2",
44
+ "@types/jest": "^29.5.12",
45
+ "babel-jest": "^29.7.0",
46
+ "babel-loader": "^8.0.6",
47
+ "canvas": "^2.11.2",
48
+ "concat-md": "^0.3.2",
49
+ "core-js": "^3.4.1",
50
+ "css-loader": "^3.2.0",
51
+ "html-loader": "^1.3.2",
52
+ "html-webpack-plugin": "^4.3.0",
53
+ "javascript-obfuscator": "^4.1.0",
54
+ "jest": "^29.7.0",
55
+ "jest-canvas-mock": "^2.5.2",
56
+ "jest-environment-jsdom": "^29.7.0",
57
+ "jest-junit": "^16.0.0",
58
+ "raw-loader": "^4.0.2",
59
+ "rimraf": "^3.0.2",
60
+ "style-loader": "^1.0.0",
61
+ "terser": "5.31.0",
62
+ "ts-jest": "^29.1.2",
63
+ "tsup": "8.0.1",
64
+ "typedoc": "^0.27.6",
65
+ "typedoc-plugin-markdown": "^4.4.1",
66
+ "typescript": "5.1.5",
67
+ "webpack": "^4.30.0",
68
+ "webpack-cli": "^3.3.1",
69
+ "webpack-dev-server": "^3.3.1"
70
+ },
71
+ "dependencies": {
72
+ "@types/hammerjs": "^2.0.36",
73
+ "@types/kdbush": "^3.0.0",
74
+ "@types/node": "^14.0.4",
75
+ "@types/stats.js": "^0.17.0",
76
+ "@types/throttle-debounce": "^2.1.0",
77
+ "hammerjs": "^2.0.8",
78
+ "kdbush": "^3.0.0",
79
+ "nanoid": "^3.1.9",
80
+ "robot3": "^0.2.9",
81
+ "stats.js": "^0.17.0",
82
+ "throttle-debounce": "^2.1.0",
83
+ "whatwg-fetch": "^3.0.0"
84
+ },
85
+ "browserslist": [
86
+ ">0.2%",
87
+ "ie 11",
88
+ "not dead",
89
+ "not op_mini all"
90
+ ]
91
+ }