mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
170 lines
5 KiB
JSON
170 lines
5 KiB
JSON
{
|
|
"name": "@logto/console",
|
|
"version": "1.5.0",
|
|
"description": "> TODO: description",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"homepage": "https://github.com/logto-io/logto#readme",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"start": "parcel src/index.html",
|
|
"dev": "cross-env PORT=5002 parcel src/index.html --public-url ${CONSOLE_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_PUBLIC_URL:-/console}",
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"stylelint": "stylelint \"src/**/*.scss\"",
|
|
"test:ci": "jest --coverage --silent",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@fontsource/roboto-mono": "^5.0.0",
|
|
"@jest/types": "^29.5.0",
|
|
"@logto/app-insights": "workspace:^1.3.1",
|
|
"@logto/cloud": "0.2.5-8065345",
|
|
"@logto/connector-kit": "workspace:^1.1.1",
|
|
"@logto/core-kit": "workspace:^2.0.1",
|
|
"@logto/language-kit": "workspace:^1.0.0",
|
|
"@logto/phrases": "workspace:^1.4.1",
|
|
"@logto/phrases-ui": "workspace:^1.2.0",
|
|
"@logto/react": "^2.1.0",
|
|
"@logto/schemas": "workspace:^1.6.0",
|
|
"@logto/shared": "workspace:^2.0.0",
|
|
"@mdx-js/react": "^1.6.22",
|
|
"@parcel/compressor-brotli": "2.9.3",
|
|
"@parcel/compressor-gzip": "2.9.3",
|
|
"@parcel/core": "2.9.3",
|
|
"@parcel/transformer-mdx": "2.9.3",
|
|
"@parcel/transformer-sass": "2.9.3",
|
|
"@parcel/transformer-svg-react": "2.9.3",
|
|
"@silverhand/eslint-config": "4.0.1",
|
|
"@silverhand/eslint-config-react": "4.0.1",
|
|
"@silverhand/essentials": "^2.5.0",
|
|
"@silverhand/ts-config": "4.0.0",
|
|
"@silverhand/ts-config-react": "4.0.0",
|
|
"@swc/core": "^1.3.52",
|
|
"@swc/jest": "^0.2.26",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@types/color": "^3.0.3",
|
|
"@types/jest": "^29.4.0",
|
|
"@types/mdx": "^2.0.1",
|
|
"@types/mdx-js__react": "^1.5.5",
|
|
"@types/react": "^18.0.31",
|
|
"@types/react-color": "^3.0.6",
|
|
"@types/react-dom": "^18.0.0",
|
|
"@types/react-helmet": "^6.1.6",
|
|
"@types/react-modal": "^3.13.1",
|
|
"@types/react-syntax-highlighter": "^15.5.1",
|
|
"@withtyped/client": "^0.7.21",
|
|
"buffer": "^5.7.1",
|
|
"classnames": "^2.3.1",
|
|
"clean-deep": "^3.4.0",
|
|
"cross-env": "^7.0.3",
|
|
"csstype": "^3.0.11",
|
|
"date-fns": "^2.29.3",
|
|
"dayjs": "^1.10.5",
|
|
"deep-object-diff": "^1.1.9",
|
|
"deepmerge": "^4.2.2",
|
|
"dnd-core": "^16.0.0",
|
|
"eslint": "^8.44.0",
|
|
"history": "^5.3.0",
|
|
"i18next": "^22.4.15",
|
|
"i18next-browser-languagedetector": "^7.0.1",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^29.5.0",
|
|
"jest-environment-jsdom": "^29.0.0",
|
|
"jest-transform-stub": "^2.0.0",
|
|
"jest-transformer-svg": "^2.0.0",
|
|
"just-kebab-case": "^4.2.0",
|
|
"ky": "^0.33.0",
|
|
"libphonenumber-js": "^1.9.49",
|
|
"lint-staged": "^13.0.0",
|
|
"nanoid": "^4.0.0",
|
|
"overlayscrollbars": "^2.0.2",
|
|
"overlayscrollbars-react": "^0.5.0",
|
|
"parcel": "2.9.3",
|
|
"postcss": "^8.4.6",
|
|
"postcss-modules": "^4.3.0",
|
|
"prettier": "^3.0.0",
|
|
"process": "^0.11.10",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^18.0.0",
|
|
"react-animate-height": "^3.0.4",
|
|
"react-color": "^2.19.3",
|
|
"react-dnd": "^16.0.0",
|
|
"react-dnd-html5-backend": "^16.0.0",
|
|
"react-dom": "^18.0.0",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-helmet": "^6.1.0",
|
|
"react-hook-form": "^7.43.9",
|
|
"react-hot-toast": "^2.2.0",
|
|
"react-i18next": "^12.3.1",
|
|
"react-markdown": "^8.0.0",
|
|
"react-modal": "^3.15.1",
|
|
"react-paginate": "^8.1.3",
|
|
"react-router-dom": "^6.10.0",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"react-timer-hook": "^3.0.5",
|
|
"recharts": "^2.1.13",
|
|
"remark-gfm": "^3.0.1",
|
|
"stylelint": "^15.0.0",
|
|
"swr": "^2.2.0",
|
|
"tslib": "^2.4.1",
|
|
"typescript": "^5.0.0",
|
|
"zod": "^3.20.2"
|
|
},
|
|
"engines": {
|
|
"node": "^18.12.0"
|
|
},
|
|
"//": "https://github.com/parcel-bundler/parcel/issues/7636",
|
|
"targets": {
|
|
"default": {
|
|
"engines": {
|
|
"browsers": "defaults"
|
|
}
|
|
}
|
|
},
|
|
"alias": {
|
|
"@/*": "./src/$1",
|
|
"@cloud/*": "./src/cloud/$1",
|
|
"@mdx/components/*": "./src/mdx-components/$1"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react",
|
|
"rules": {
|
|
"react/function-component-definition": [
|
|
"error",
|
|
{
|
|
"namedComponents": "function-declaration",
|
|
"unnamedComponents": "arrow-function"
|
|
}
|
|
],
|
|
"import/no-unused-modules": [
|
|
"error",
|
|
{
|
|
"unusedExports": true
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.d.ts",
|
|
"**/mdx-components/*/index.tsx"
|
|
],
|
|
"rules": {
|
|
"import/no-unused-modules": "off"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|