mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
102 lines
3.1 KiB
JSON
102 lines
3.1 KiB
JSON
{
|
|
"name": "@logto/console",
|
|
"version": "0.1.0",
|
|
"description": "> TODO: description",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"homepage": "https://github.com/logto-io/logto#readme",
|
|
"license": "MPL-2.0",
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"start": "parcel src/index.html",
|
|
"dev": "cross-env PORT=5002 parcel src/index.html --public-url /console --no-cache --hmr-port 6002",
|
|
"check": "tsc --noEmit",
|
|
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall --no-cache --public-url /console",
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"stylelint": "stylelint \"src/**/*.scss\""
|
|
},
|
|
"devDependencies": {
|
|
"@fontsource/roboto-mono": "^4.5.7",
|
|
"@logto/phrases": "^0.1.0",
|
|
"@logto/react": "^0.1.15",
|
|
"@logto/schemas": "^0.1.0",
|
|
"@logto/shared": "^0.1.0",
|
|
"@mdx-js/react": "^1.6.22",
|
|
"@parcel/core": "2.5.0",
|
|
"@parcel/transformer-mdx": "2.5.0",
|
|
"@parcel/transformer-sass": "2.5.0",
|
|
"@silverhand/eslint-config": "^0.14.0",
|
|
"@silverhand/eslint-config-react": "^0.14.0",
|
|
"@silverhand/essentials": "^1.1.6",
|
|
"@silverhand/ts-config": "^0.14.0",
|
|
"@silverhand/ts-config-react": "^0.14.0",
|
|
"@tsconfig/docusaurus": "^1.0.5",
|
|
"@types/lodash.kebabcase": "^4.1.6",
|
|
"@types/mdx": "^2.0.1",
|
|
"@types/mdx-js__react": "^1.5.5",
|
|
"@types/react": "^17.0.14",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@types/react-modal": "^3.13.1",
|
|
"@types/react-syntax-highlighter": "^15.5.1",
|
|
"classnames": "^2.3.1",
|
|
"cross-env": "^7.0.3",
|
|
"csstype": "^3.0.11",
|
|
"dayjs": "^1.10.5",
|
|
"dnd-core": "^16.0.0",
|
|
"eslint": "^8.10.0",
|
|
"i18next": "^21.6.12",
|
|
"i18next-browser-languagedetector": "^6.1.3",
|
|
"ky": "^0.30.0",
|
|
"lint-staged": "^13.0.0",
|
|
"lodash.kebabcase": "^4.1.1",
|
|
"nanoid": "^3.1.23",
|
|
"parcel": "2.5.0",
|
|
"postcss": "^8.4.6",
|
|
"postcss-modules": "^4.3.0",
|
|
"prettier": "^2.3.2",
|
|
"process": "^0.11.10",
|
|
"react": "^17.0.2",
|
|
"react-dnd": "^16.0.0",
|
|
"react-dnd-html5-backend": "^16.0.0",
|
|
"react-dom": "^17.0.2",
|
|
"react-hook-form": "^7.27.1",
|
|
"react-hot-toast": "^2.2.0",
|
|
"react-i18next": "^11.15.4",
|
|
"react-markdown": "^8.0.0",
|
|
"react-modal": "^3.14.4",
|
|
"react-paginate": "^8.1.2",
|
|
"react-router-dom": "^6.2.2",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"recharts": "^2.1.10",
|
|
"remark-gfm": "^3.0.1",
|
|
"stylelint": "^14.8.2",
|
|
"swr": "^1.2.2",
|
|
"typescript": "^4.6.2",
|
|
"zod": "^3.14.3"
|
|
},
|
|
"alias": {
|
|
"@/*": "./src/$1",
|
|
"@mdx/components/*": "./src/mdx-components/$1"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react",
|
|
"rules": {
|
|
"complexity": "off",
|
|
"@typescript-eslint/prefer-nullish-coalescing": "off"
|
|
}
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc",
|
|
"rules": {
|
|
"scss/function-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreFunctions": [
|
|
"/^_./"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|