2022-04-23 16:16:55 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/shared",
|
2022-08-30 05:44:34 +00:00
|
|
|
"version": "1.0.0-beta.6",
|
2022-04-24 01:06:05 +08:00
|
|
|
"main": "lib/index.js",
|
2022-04-25 11:26:41 +08:00
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
2022-08-29 23:50:55 +08:00
|
|
|
"license": "MIT",
|
2022-04-23 16:16:55 +08:00
|
|
|
"files": [
|
2022-05-31 12:39:03 +08:00
|
|
|
"declaration",
|
2022-05-29 21:11:58 +08:00
|
|
|
"lib",
|
|
|
|
"scss"
|
2022-04-23 16:16:55 +08:00
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
2022-08-22 14:58:39 +08:00
|
|
|
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
|
|
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
2022-04-23 16:16:55 +08:00
|
|
|
"lint": "eslint --ext .ts src",
|
2022-05-05 18:26:30 +08:00
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2022-05-31 12:39:03 +08:00
|
|
|
"prepack": "pnpm build",
|
|
|
|
"stylelint": "stylelint \"scss/**/*.scss\""
|
2022-04-23 16:16:55 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
2022-04-24 01:06:05 +08:00
|
|
|
"node": "^16.0.0"
|
2022-04-23 16:16:55 +08:00
|
|
|
},
|
2022-07-29 23:36:02 +08:00
|
|
|
"dependencies": {
|
|
|
|
"color": "^4.2.3",
|
2022-08-30 16:53:49 +08:00
|
|
|
"nanoid": "^3.1.23",
|
|
|
|
"zod": "^3.18.0"
|
2022-07-29 23:36:02 +08:00
|
|
|
},
|
2022-04-23 16:16:55 +08:00
|
|
|
"devDependencies": {
|
2022-08-05 13:58:31 +08:00
|
|
|
"@silverhand/eslint-config": "1.0.0-rc.2",
|
|
|
|
"@silverhand/eslint-config-react": "1.0.0-rc.2",
|
2022-08-17 11:40:50 +08:00
|
|
|
"@silverhand/essentials": "^1.2.0",
|
2022-08-05 13:58:31 +08:00
|
|
|
"@silverhand/ts-config": "1.0.0-rc.2",
|
|
|
|
"@silverhand/ts-config-react": "1.0.0-rc.2",
|
2022-06-29 15:56:05 +08:00
|
|
|
"@types/color": "^3.0.3",
|
2022-04-23 16:16:55 +08:00
|
|
|
"@types/node": "^16.3.1",
|
2022-08-05 13:58:31 +08:00
|
|
|
"eslint": "^8.21.0",
|
2022-06-02 13:19:09 +08:00
|
|
|
"lint-staged": "^13.0.0",
|
2022-05-31 12:39:03 +08:00
|
|
|
"postcss": "^8.4.6",
|
2022-08-05 13:58:31 +08:00
|
|
|
"prettier": "^2.7.1",
|
|
|
|
"stylelint": "^14.9.1",
|
|
|
|
"typescript": "^4.7.4"
|
2022-04-23 16:16:55 +08:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2022-05-31 12:39:03 +08:00
|
|
|
"extends": "@silverhand/react"
|
|
|
|
},
|
|
|
|
"stylelint": {
|
|
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
2022-04-23 16:16:55 +08:00
|
|
|
},
|
2022-08-29 23:50:55 +08:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
}
|
2022-04-23 16:16:55 +08:00
|
|
|
}
|