mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
0c777c10f2
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
92 lines
2.3 KiB
JSON
92 lines
2.3 KiB
JSON
{
|
|
"name": "@logto/elements",
|
|
"version": "0.0.1",
|
|
"description": "Logto user interface elements.",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"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": {
|
|
"./account": {
|
|
"import": "./dist/account/index.js",
|
|
"types": "./dist/account/index.d.ts"
|
|
},
|
|
"./account/react": {
|
|
"import": "./dist/account/react.js",
|
|
"types": "./dist/account/react.d.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/logto-io/logto.git"
|
|
},
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"prepack": "pnpm build",
|
|
"build": "tsup",
|
|
"start": "web-dev-server",
|
|
"dev": "tsup --watch --no-splitting",
|
|
"lint": "eslint --ext .ts src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"test": "web-test-runner",
|
|
"test:ci": "pnpm run test --coverage"
|
|
},
|
|
"engines": {
|
|
"node": "^20.9.0"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/logto-io/logto/issues"
|
|
},
|
|
"dependencies": {
|
|
"@lit/context": "^1.1.2",
|
|
"@lit/localize": "^0.12.1",
|
|
"@lit/react": "^1.0.5",
|
|
"@silverhand/essentials": "^2.9.1",
|
|
"ky": "^1.2.3",
|
|
"libphonenumber-js": "^1.11.12",
|
|
"lit": "^3.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@lit/localize-tools": "^0.8.0",
|
|
"@logto/schemas": "workspace:^1.20.0",
|
|
"@open-wc/testing": "^4.0.0",
|
|
"@playwright/test": "^1.48.1",
|
|
"@silverhand/eslint-config": "6.0.1",
|
|
"@silverhand/ts-config": "6.0.0",
|
|
"@types/mocha": "^10.0.9",
|
|
"@types/node": "^20.9.5",
|
|
"@web/dev-server": "^0.4.6",
|
|
"@web/dev-server-esbuild": "^1.0.2",
|
|
"@web/test-runner": "^0.19.0",
|
|
"@web/test-runner-playwright": "^0.11.0",
|
|
"eslint": "^8.56.0",
|
|
"lint-staged": "^15.0.0",
|
|
"prettier": "^3.0.0",
|
|
"tsup": "^8.3.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"
|
|
}
|