{ "name": "@logto/elements", "version": "0.0.0", "description": "Logto user interface elements.", "author": "Silverhand Inc. ", "homepage": "https://github.com/logto-io/logto#readme", "license": "MPL-2.0", "type": "module", "private": true, "main": "dist/index.js", "module": "dist/index.js", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./react": { "import": "./dist/react.js", "types": "./dist/react.d.ts" } }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/logto-io/logto.git" }, "scripts": { "precommit": "lint-staged", "build": "lit-localize build && tsup", "start": "web-dev-server", "dev": "lit-localize build && tsup --watch --no-splitting", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", "test": "echo \"No tests yet.\"", "test:ci": "pnpm run test --silent --coverage", "prepublishOnly": "pnpm check", "prepack": "pnpm build", "localize": "lit-localize", "check": "lit-localize extract && git add . -N && git diff --exit-code" }, "engines": { "node": "^20.9.0" }, "bugs": { "url": "https://github.com/logto-io/logto/issues" }, "dependencies": { "@lit/localize": "^0.12.1", "@lit/react": "^1.0.5", "@silverhand/essentials": "^2.9.1", "lit": "^3.1.4" }, "devDependencies": { "@lit/localize-tools": "^0.7.2", "@silverhand/eslint-config": "6.0.1", "@silverhand/ts-config": "6.0.0", "@web/dev-server": "^0.4.6", "@web/dev-server-esbuild": "^1.0.2", "eslint": "^8.56.0", "lint-staged": "^15.0.0", "prettier": "^3.0.0", "tsup": "^8.1.0" }, "eslintConfig": { "extends": "@silverhand", "ignorePatterns": [ "src/generated/" ], "rules": { "no-console": "error", "unicorn/prevent-abbreviations": [ "error", { "replacements": { "var": false, "vars": false } } ] } }, "prettier": "@silverhand/eslint-config/.prettierrc" }