mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
109 lines
3.4 KiB
JSON
109 lines
3.4 KiB
JSON
{
|
|
"name": "@logto/console",
|
|
"version": "1.0.0-beta.0",
|
|
"description": "> TODO: description",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"homepage": "https://github.com/logto-io/logto#readme",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"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": "^1.0.0-beta.0",
|
|
"@logto/react": "^1.0.0-alpha.2",
|
|
"@logto/schemas": "^1.0.0-beta.0",
|
|
"@logto/shared": "^1.0.0-beta.0",
|
|
"@mdx-js/react": "^1.6.22",
|
|
"@parcel/core": "2.6.2",
|
|
"@parcel/transformer-mdx": "2.6.2",
|
|
"@parcel/transformer-sass": "2.6.2",
|
|
"@parcel/transformer-svg-react": "2.6.2",
|
|
"@silverhand/eslint-config": "^0.17.0",
|
|
"@silverhand/eslint-config-react": "^0.17.0",
|
|
"@silverhand/essentials": "^1.1.6",
|
|
"@silverhand/ts-config": "^0.17.0",
|
|
"@silverhand/ts-config-react": "^0.17.0",
|
|
"@tsconfig/docusaurus": "^1.0.5",
|
|
"@types/color": "^3.0.3",
|
|
"@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.19.0",
|
|
"history": "^5.3.0",
|
|
"i18next": "^21.6.12",
|
|
"i18next-browser-languagedetector": "^6.1.3",
|
|
"ky": "^0.31.0",
|
|
"lint-staged": "^13.0.0",
|
|
"lodash.kebabcase": "^4.1.1",
|
|
"nanoid": "^3.1.23",
|
|
"parcel": "2.6.2",
|
|
"postcss": "^8.4.6",
|
|
"postcss-modules": "^4.3.0",
|
|
"prettier": "^2.3.2",
|
|
"process": "^0.11.10",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^17.0.2",
|
|
"react-animate-height": "^3.0.4",
|
|
"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",
|
|
"no-restricted-syntax": "off"
|
|
}
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc",
|
|
"rules": {
|
|
"scss/function-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreFunctions": [
|
|
"/^_./"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|