- Introduced a new React component in that wraps the element. - Updated TypeScript configuration to change module resolution from \node\ to \bundler\ and included a new JavaScript file for type checking. - Updated to add new dependencies including , , and others for improved functionality and compatibility.
90 lines
2.9 KiB
JSON
90 lines
2.9 KiB
JSON
{
|
|
"name": "exploRUG",
|
|
"version": "2.0.3",
|
|
"description": "A simple web component",
|
|
"main": "dist/exploRUG.js",
|
|
"module": "dist/exploRUG.js",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./dist/exploRUG.js",
|
|
"./react": "./dist/exploRUG.js"
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"build:watch": "vite build --watch",
|
|
"dev": "vite",
|
|
"clean": "rimraf dist",
|
|
"lint": "npm run lint:lit-analyzer && npm run lint:eslint",
|
|
"lint:eslint": "eslint 'src/**/*.ts'",
|
|
"lint:lit-analyzer": "lit-analyzer",
|
|
"format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write",
|
|
"docs": "npm run docs:clean && npm run build && npm run analyze && npm run docs:build && npm run docs:assets && npm run docs:gen",
|
|
"docs:clean": "rimraf docs",
|
|
"docs:gen": "eleventy --config=.eleventy.cjs",
|
|
"docs:gen:watch": "eleventy --config=.eleventy.cjs --watch",
|
|
"docs:build": "rollup -c --file docs/my-element.bundled.js",
|
|
"docs:assets": "cp node_modules/prismjs/themes/prism-okaidia.css docs/",
|
|
"docs:serve": "wds --root-dir=docs --node-resolve --watch",
|
|
"analyze": "cem analyze --litelement --globs \"src/**/*.ts\"",
|
|
"analyze:watch": "cem analyze --litelement --globs \"src/**/*.ts\" --watch",
|
|
"test": "tsc && npm run test:dev && npm run test:prod",
|
|
"test:dev": "wtr",
|
|
"test:watch": "wtr --watch",
|
|
"test:prod": "MODE=prod wtr",
|
|
"test:prod:watch": "MODE=prod wtr --watch"
|
|
},
|
|
"keywords": [
|
|
"web-components",
|
|
"lit-element",
|
|
"typescript",
|
|
"lit"
|
|
],
|
|
"author": "Google LLC",
|
|
"license": "BSD-3-Clause",
|
|
"peerDependencies": {
|
|
"@lit/react": "^1.0.0",
|
|
"lit": "^3.0.0",
|
|
"react": "^18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@types/pako": "^2.0.4",
|
|
"@types/three": "^0.184.0",
|
|
"axios": "^1.15.2",
|
|
"javascript-obfuscator": "^5.4.1",
|
|
"lit": "^3.2.0",
|
|
"pako": "^2.1.0",
|
|
"pure-rand": "^8.4.0",
|
|
"rollup-plugin-obfuscator": "^1.1.0",
|
|
"three": "^0.184.0"
|
|
},
|
|
"devDependencies": {
|
|
"@11ty/eleventy": "^1.0.1",
|
|
"@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
|
|
"@custom-elements-manifest/analyzer": "^0.6.3",
|
|
"@lit/react": "^1.0.0",
|
|
"@open-wc/testing": "^4.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-replace": "^5.0.7",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@types/react": "^18.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.25.0",
|
|
"@typescript-eslint/parser": "^5.25.0",
|
|
"@web/dev-server": "^0.1.31",
|
|
"@web/dev-server-legacy": "^1.0.0",
|
|
"@web/test-runner": "^0.15.0",
|
|
"@web/test-runner-playwright": "^0.9.0",
|
|
"@webcomponents/webcomponentsjs": "^2.8.0",
|
|
"eslint": "^8.15.0",
|
|
"lit-analyzer": "^1.2.1",
|
|
"prettier": "^2.6.2",
|
|
"react": "^18.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^4.18.0",
|
|
"rollup-plugin-summary": "^2.0.1",
|
|
"typescript": "~5.9.0",
|
|
"vite": "^5.0.0",
|
|
"vite-plugin-dts": "^3.0.0"
|
|
},
|
|
"customElements": "custom-elements.json"
|
|
}
|