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