UNPKG

@seatmap.pro/renderer

Version:

Seatmap renderer library for booking and admin interfaces by Seatmap.pro

167 lines (166 loc) 5.5 kB
{ "name": "@seatmap.pro/renderer", "version": "1.68.0", "description": "Seatmap renderer library for booking and admin interfaces by Seatmap.pro", "main": "lib/index.js", "types": "lib/index.d.ts", "license": "SEE LICENSE IN https://seatmap.pro/terms-of-service", "type": "module", "packageManager": "yarn@4.13.0", "author": { "name": "Andy Yusin", "email": "ay@seatmap.pro", "url": "https://seatmap.pro" }, "repository": { "type": "git", "url": "git+https://github.com/seatmappro/renderer.git" }, "bugs": { "url": "https://github.com/seatmappro/renderer/issues" }, "homepage": "https://seatmap.pro", "keywords": [ "seatmap", "booking", "renderer", "typescript", "react" ], "engines": { "node": ">=22.0.0" }, "publishConfig": { "access": "public" }, "files": [ "lib" ], "exports": { "default": "./lib/index.js" }, "scripts": { "start": "vite", "build:vite": "vite build", "update-version": "node scripts/update-version.js", "prebuild": "yarn update-version", "build:playground": "rimraf dist-playground && vite build --config vite.config.playground.js && node scripts/obfuscate-playground.js", "preview:playground": "vite preview --config vite.config.playground.js", "obfuscate-booking": "node scripts/obfuscate-production.js booking", "obfuscate-admin": "node scripts/obfuscate-production.js admin", "build": "yarn build-source && yarn docs && yarn obfuscate-booking && yarn obfuscate-admin", "build-source": "yarn type-check && rimraf ./dist && webpack", "type-check": "tsc --noEmit", "docs": "rimraf docs && typedoc", "build-lib": "yarn update-version && tsup", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "generate-schema": "ts-json-schema-generator --path 'src/booking-renderer/SeatmapBookingRenderer.ts' --tsconfig 'tsconfig.json' --type 'IBookingRendererSettings' --no-type-check --no-top-ref --out ./src/booking-renderer/schema.json", "test:e2e": "playwright test", "lint": "eslint \"src/**/*.{ts,tsx}\"", "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix" }, "devDependencies": { "@babel/core": "^7.27.1", "@babel/plugin-proposal-export-default-from": "^7.27.1", "@babel/plugin-transform-class-properties": "^7.27.1", "@babel/plugin-transform-export-namespace-from": "^7.27.1", "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4", "@babel/plugin-transform-object-rest-spread": "^7.27.1", "@babel/plugin-transform-optional-chaining": "^7.27.1", "@babel/plugin-transform-runtime": "^7.27.1", "@babel/preset-env": "^7.27.1", "@babel/preset-react": "^7.27.1", "@babel/preset-typescript": "^7.27.1", "@babel/runtime": "^7.27.1", "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.0", "@eslint/js": "^9", "@playwright/test": "^1.58.2", "@rjsf/core": "^6.1.2", "@rjsf/utils": "^6.1.2", "@rjsf/validator-ajv8": "^6.1.2", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^14.2.1", "@types/hammerjs": "^2.0.36", "@types/kdbush": "^3.0.0", "@types/node": "^22.15.12", "@types/react": "^18.2.64", "@types/react-dom": "^18.2.21", "@types/stats.js": "^0.17.4", "@types/throttle-debounce": "^5.0.2", "@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/parser": "^8.0.0", "@vitejs/plugin-react": "^5.1.4", "@vitest/coverage-v8": "^4.0.18", "@vitest/ui": "^4.0.18", "babel-loader": "^10.0.0", "concat-md": "^0.5.1", "core-js": "^3.42.0", "cross-env": "^7.0.3", "css-loader": "^7.1.2", "eslint": "^9", "eslint-import-resolver-typescript": "^3.6.0", "eslint-plugin-import": "^2.32", "eslint-plugin-react": "^7.37", "eslint-plugin-react-hooks": "^5", "formik": "^2.4.6", "globals": "^17", "javascript-obfuscator": "^4.1.0", "jsdom": "^28.1.0", "raw-loader": "^4.0.2", "react": "^18.2.0", "react-dom": "^18.2.0", "react-icons": "^5.5.0", "rimraf": "^6.0.1", "style-loader": "^4.0.0", "terser": "5.46.0", "ts-json-schema-generator": "^2.4.0", "ts-loader": "^9.5.2", "tsup": "^8.5.1", "typedoc": "^0.28.4", "typedoc-plugin-markdown": "^4.6.3", "typescript": "~5.9.3", "vite": "^7.3.2", "vite-plugin-dts": "^4.5.4", "vite-plugin-glsl": "^1.5.5", "vitest": "^4.0.18", "vitest-canvas-mock": "^1.1.3", "webpack": "^5.99.7", "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.2.1" }, "dependencies": { "@sentry/browser": "^7.119.1", "hammerjs": "^2.0.8", "kdbush": "^4.0.2", "nanoid": "^5.1.5", "robot3": "1.1.1", "stats.js": "^0.17.0", "throttle-debounce": "^5.0.2" }, "resolutions": { "eslint/minimatch": "3.1.5", "@eslint/eslintrc/minimatch": "3.1.5", "@microsoft/api-extractor": "7.57.6", "vite": "^7.3.2", "@microsoft/api-extractor/minimatch": "10.2.4", "typedoc/minimatch": "9.0.8", "@vue/language-core/minimatch": "9.0.8", "sucrase/glob": "10.5.0", "rimraf/glob": "11.1.0", "terser-webpack-plugin/serialize-javascript": "7.0.3", "tsup/rollup": "4.59.0" }, "browserslist": [ "last 2 Chrome versions", "last 2 Firefox versions", "last 2 Safari versions", "last 2 Edge versions", "ios_saf >= 12", ">1%", "not dead", "not ie 11" ] }