0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/elements/package.json

92 lines
2.3 KiB
JSON
Raw Normal View History

2024-07-14 22:43:48 -05:00
{
"name": "@logto/elements",
2024-09-13 05:06:50 -05:00
"version": "0.0.1",
2024-07-14 22:43:48 -05:00
"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",
2024-07-16 01:55:47 -05:00
"module": "dist/index.js",
2024-07-14 22:43:48 -05:00
"exports": {
"./account": {
"import": "./dist/account/index.js",
"types": "./dist/account/index.d.ts"
2024-07-14 22:43:48 -05:00
},
"./account/react": {
"import": "./dist/account/react.js",
"types": "./dist/account/react.d.ts"
2024-07-14 22:43:48 -05:00
}
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/logto-io/logto.git"
},
"scripts": {
"precommit": "lint-staged",
"prepack": "pnpm build",
"build": "tsup",
2024-07-16 01:55:47 -05:00
"start": "web-dev-server",
"dev": "tsup --watch --no-splitting",
2024-07-14 22:43:48 -05:00
"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"
2024-07-14 22:43:48 -05:00
},
"engines": {
"node": "^20.9.0"
},
"bugs": {
"url": "https://github.com/logto-io/logto/issues"
},
"dependencies": {
2024-07-18 21:42:03 -05:00
"@lit/context": "^1.1.2",
2024-07-14 22:43:48 -05:00
"@lit/localize": "^0.12.1",
"@lit/react": "^1.0.5",
"@silverhand/essentials": "^2.9.1",
2024-07-19 04:46:55 -05:00
"ky": "^1.2.3",
2024-07-14 22:43:48 -05:00
"lit": "^3.1.4"
},
"devDependencies": {
2024-07-15 06:00:18 -05:00
"@lit/localize-tools": "^0.7.2",
2024-09-13 05:06:50 -05:00
"@logto/schemas": "workspace:^1.20.0",
"@open-wc/testing": "^4.0.0",
"@playwright/test": "^1.48.1",
2024-07-14 22:43:48 -05:00
"@silverhand/eslint-config": "6.0.1",
"@silverhand/ts-config": "6.0.0",
"@types/mocha": "^10.0.9",
2024-07-18 21:42:03 -05:00
"@types/node": "^20.9.5",
2024-07-16 01:55:47 -05:00
"@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",
2024-07-14 22:43:48 -05:00
"eslint": "^8.56.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"tsup": "^8.1.0"
},
"eslintConfig": {
"extends": "@silverhand",
2024-07-15 06:00:18 -05:00
"ignorePatterns": [
"src/generated/"
],
2024-07-14 22:43:48 -05:00
"rules": {
"no-console": "error",
"unicorn/prevent-abbreviations": [
"error",
{
"replacements": {
"var": false,
"vars": false
}
}
]
}
},
"prettier": "@silverhand/eslint-config/.prettierrc"
}