mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "@logto/shared",
|
|
"version": "1.0.0-beta.5",
|
|
"main": "lib/index.js",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"license": "MPL-2.0",
|
|
"files": [
|
|
"declaration",
|
|
"lib",
|
|
"scss"
|
|
],
|
|
"private": true,
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
|
"lint": "eslint --ext .ts src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"prepack": "pnpm build",
|
|
"stylelint": "stylelint \"scss/**/*.scss\""
|
|
},
|
|
"engines": {
|
|
"node": "^16.0.0"
|
|
},
|
|
"dependencies": {
|
|
"color": "^4.2.3",
|
|
"nanoid": "^3.1.23"
|
|
},
|
|
"devDependencies": {
|
|
"@silverhand/eslint-config": "1.0.0-rc.2",
|
|
"@silverhand/eslint-config-react": "1.0.0-rc.2",
|
|
"@silverhand/essentials": "^1.2.0",
|
|
"@silverhand/ts-config": "1.0.0-rc.2",
|
|
"@silverhand/ts-config-react": "1.0.0-rc.2",
|
|
"@types/color": "^3.0.3",
|
|
"@types/node": "^16.3.1",
|
|
"eslint": "^8.21.0",
|
|
"lint-staged": "^13.0.0",
|
|
"postcss": "^8.4.6",
|
|
"prettier": "^2.7.1",
|
|
"stylelint": "^14.9.1",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react"
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|