2022-02-16 15:04:34 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/console",
|
2023-08-30 16:16:55 +08:00
|
|
|
"version": "1.6.0",
|
2022-02-16 15:04:34 +08:00
|
|
|
"description": "> TODO: description",
|
2022-04-25 11:26:41 +08:00
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
2022-02-16 15:04:34 +08:00
|
|
|
"homepage": "https://github.com/logto-io/logto#readme",
|
|
|
|
"license": "MPL-2.0",
|
2022-11-22 00:31:25 +08:00
|
|
|
"type": "module",
|
2022-07-01 18:47:14 +08:00
|
|
|
"private": true,
|
2023-04-04 16:23:25 +08:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2022-02-16 15:04:34 +08:00
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
2022-05-07 11:35:11 +08:00
|
|
|
"start": "parcel src/index.html",
|
2023-02-18 18:37:49 +08:00
|
|
|
"dev": "cross-env PORT=5002 parcel src/index.html --public-url ${CONSOLE_PUBLIC_URL:-/console} --no-cache --hmr-port 6002",
|
2022-02-16 15:04:34 +08:00
|
|
|
"check": "tsc --noEmit",
|
2023-02-18 18:37:49 +08:00
|
|
|
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall --no-cache --public-url ${CONSOLE_PUBLIC_URL:-/console}",
|
2022-02-16 15:04:34 +08:00
|
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
2022-05-05 18:26:30 +08:00
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2023-04-24 16:05:26 +08:00
|
|
|
"stylelint": "stylelint \"src/**/*.scss\"",
|
|
|
|
"test:ci": "jest --coverage --silent",
|
|
|
|
"test": "jest"
|
2022-02-16 15:04:34 +08:00
|
|
|
},
|
2022-04-22 18:02:54 +08:00
|
|
|
"devDependencies": {
|
2023-05-24 03:37:58 +00:00
|
|
|
"@fontsource/roboto-mono": "^5.0.0",
|
2023-04-24 16:05:26 +08:00
|
|
|
"@jest/types": "^29.5.0",
|
2023-06-28 18:57:43 +08:00
|
|
|
"@logto/app-insights": "workspace:^1.3.1",
|
2023-09-15 16:32:18 +08:00
|
|
|
"@logto/cloud": "0.2.5-444ed49",
|
2023-04-18 21:13:31 +08:00
|
|
|
"@logto/connector-kit": "workspace:^1.1.1",
|
2023-06-28 18:57:43 +08:00
|
|
|
"@logto/core-kit": "workspace:^2.0.1",
|
2023-04-17 18:10:14 +08:00
|
|
|
"@logto/language-kit": "workspace:^1.0.0",
|
2023-06-28 18:57:43 +08:00
|
|
|
"@logto/phrases": "workspace:^1.4.1",
|
2023-09-15 10:29:41 +08:00
|
|
|
"@logto/phrases-experience": "workspace:^1.2.0",
|
2023-06-21 08:35:45 +08:00
|
|
|
"@logto/react": "^2.1.0",
|
2023-08-30 16:16:55 +08:00
|
|
|
"@logto/schemas": "workspace:^1.8.0",
|
2023-04-18 21:13:31 +08:00
|
|
|
"@logto/shared": "workspace:^2.0.0",
|
2022-08-05 17:59:03 +08:00
|
|
|
"@mdx-js/react": "^1.6.22",
|
2023-07-05 07:15:37 +08:00
|
|
|
"@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",
|
2023-07-08 01:17:21 +08:00
|
|
|
"@silverhand/eslint-config": "4.0.1",
|
|
|
|
"@silverhand/eslint-config-react": "4.0.1",
|
2023-09-03 02:11:22 +08:00
|
|
|
"@silverhand/essentials": "^2.8.4",
|
2023-07-08 01:17:21 +08:00
|
|
|
"@silverhand/ts-config": "4.0.0",
|
|
|
|
"@silverhand/ts-config-react": "4.0.0",
|
2023-04-24 16:05:26 +08:00
|
|
|
"@swc/core": "^1.3.52",
|
|
|
|
"@swc/jest": "^0.2.26",
|
|
|
|
"@testing-library/react": "^14.0.0",
|
2022-06-29 15:56:05 +08:00
|
|
|
"@types/color": "^3.0.3",
|
2023-04-24 16:05:26 +08:00
|
|
|
"@types/jest": "^29.4.0",
|
2022-04-28 10:41:23 +08:00
|
|
|
"@types/mdx": "^2.0.1",
|
|
|
|
"@types/mdx-js__react": "^1.5.5",
|
2023-03-30 13:36:46 +08:00
|
|
|
"@types/react": "^18.0.31",
|
2023-04-03 10:38:31 +08:00
|
|
|
"@types/react-color": "^3.0.6",
|
2022-08-05 15:50:31 +08:00
|
|
|
"@types/react-dom": "^18.0.0",
|
2023-03-29 01:51:14 +08:00
|
|
|
"@types/react-helmet": "^6.1.6",
|
2022-04-28 10:41:23 +08:00
|
|
|
"@types/react-modal": "^3.13.1",
|
2022-05-09 20:19:51 +08:00
|
|
|
"@types/react-syntax-highlighter": "^15.5.1",
|
2023-09-06 10:22:10 +08:00
|
|
|
"@withtyped/client": "^0.7.22",
|
2023-02-10 22:13:02 +08:00
|
|
|
"buffer": "^5.7.1",
|
2022-02-28 22:39:15 +08:00
|
|
|
"classnames": "^2.3.1",
|
2022-09-26 13:48:23 +08:00
|
|
|
"clean-deep": "^3.4.0",
|
2022-05-14 14:50:37 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2022-03-10 12:52:56 +08:00
|
|
|
"csstype": "^3.0.11",
|
2022-11-22 16:47:17 +08:00
|
|
|
"date-fns": "^2.29.3",
|
2022-05-05 16:22:43 +08:00
|
|
|
"dayjs": "^1.10.5",
|
2023-04-04 16:23:25 +08:00
|
|
|
"deep-object-diff": "^1.1.9",
|
2022-10-09 16:47:05 +08:00
|
|
|
"deepmerge": "^4.2.2",
|
2022-04-19 18:22:40 +08:00
|
|
|
"dnd-core": "^16.0.0",
|
2023-07-08 01:17:21 +08:00
|
|
|
"eslint": "^8.44.0",
|
2022-07-05 17:09:00 +08:00
|
|
|
"history": "^5.3.0",
|
2023-04-21 18:21:09 +08:00
|
|
|
"i18next": "^22.4.15",
|
2023-04-21 18:23:45 +08:00
|
|
|
"i18next-browser-languagedetector": "^7.0.1",
|
2023-04-24 16:05:26 +08:00
|
|
|
"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",
|
2022-12-23 23:19:49 +08:00
|
|
|
"just-kebab-case": "^4.2.0",
|
2022-12-13 10:26:51 +00:00
|
|
|
"ky": "^0.33.0",
|
2023-05-17 16:19:51 +08:00
|
|
|
"libphonenumber-js": "^1.9.49",
|
2023-08-24 14:01:38 +08:00
|
|
|
"lint-staged": "^14.0.0",
|
2022-12-13 18:11:51 +08:00
|
|
|
"nanoid": "^4.0.0",
|
2023-01-31 11:47:30 +08:00
|
|
|
"overlayscrollbars": "^2.0.2",
|
|
|
|
"overlayscrollbars-react": "^0.5.0",
|
2023-07-05 07:15:37 +08:00
|
|
|
"parcel": "2.9.3",
|
2022-04-28 10:41:23 +08:00
|
|
|
"postcss": "^8.4.6",
|
|
|
|
"postcss-modules": "^4.3.0",
|
2023-07-08 01:17:21 +08:00
|
|
|
"prettier": "^3.0.0",
|
2022-04-28 10:41:23 +08:00
|
|
|
"process": "^0.11.10",
|
2022-06-14 22:17:17 +08:00
|
|
|
"prop-types": "^15.8.1",
|
2023-08-14 11:09:06 +08:00
|
|
|
"property-information": "^6.2.0",
|
2022-08-05 06:13:30 +00:00
|
|
|
"react": "^18.0.0",
|
2022-06-30 21:26:31 +08:00
|
|
|
"react-animate-height": "^3.0.4",
|
2023-04-03 10:38:31 +08:00
|
|
|
"react-color": "^2.19.3",
|
2022-04-19 18:22:40 +08:00
|
|
|
"react-dnd": "^16.0.0",
|
|
|
|
"react-dnd-html5-backend": "^16.0.0",
|
2022-08-05 06:13:30 +00:00
|
|
|
"react-dom": "^18.0.0",
|
2023-03-10 16:35:25 +08:00
|
|
|
"react-dropzone": "^14.2.3",
|
2023-03-29 01:51:14 +08:00
|
|
|
"react-helmet": "^6.1.0",
|
2023-04-24 11:11:27 +08:00
|
|
|
"react-hook-form": "^7.43.9",
|
2022-03-10 12:52:56 +08:00
|
|
|
"react-hot-toast": "^2.2.0",
|
2023-05-30 06:03:18 +00:00
|
|
|
"react-i18next": "^12.3.1",
|
2023-08-14 11:09:06 +08:00
|
|
|
"react-markdown": "^8.0.7",
|
2022-08-05 15:50:31 +08:00
|
|
|
"react-modal": "^3.15.1",
|
|
|
|
"react-paginate": "^8.1.3",
|
2023-04-19 18:05:57 +08:00
|
|
|
"react-router-dom": "^6.10.0",
|
2022-05-09 20:19:51 +08:00
|
|
|
"react-syntax-highlighter": "^15.5.0",
|
2023-03-03 14:26:34 +08:00
|
|
|
"react-timer-hook": "^3.0.5",
|
2022-08-05 15:50:31 +08:00
|
|
|
"recharts": "^2.1.13",
|
2022-03-15 11:31:50 +08:00
|
|
|
"remark-gfm": "^3.0.1",
|
2023-02-16 11:09:03 +08:00
|
|
|
"stylelint": "^15.0.0",
|
2023-07-21 14:12:01 +08:00
|
|
|
"swr": "^2.2.0",
|
2023-09-14 10:30:44 +08:00
|
|
|
"titleize": "^4.0.0",
|
2023-03-20 10:44:10 +08:00
|
|
|
"tslib": "^2.4.1",
|
2023-03-21 19:37:51 +08:00
|
|
|
"typescript": "^5.0.0",
|
2022-12-14 13:23:59 +08:00
|
|
|
"zod": "^3.20.2"
|
2022-02-16 15:04:34 +08:00
|
|
|
},
|
2022-11-06 00:29:28 +08:00
|
|
|
"engines": {
|
2023-01-07 20:42:10 +08:00
|
|
|
"node": "^18.12.0"
|
2022-11-06 00:29:28 +08:00
|
|
|
},
|
2022-11-07 21:40:09 +08:00
|
|
|
"//": "https://github.com/parcel-bundler/parcel/issues/7636",
|
|
|
|
"targets": {
|
|
|
|
"default": {
|
|
|
|
"engines": {
|
|
|
|
"browsers": "defaults"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-02-28 10:35:14 +08:00
|
|
|
"alias": {
|
2022-04-28 10:41:23 +08:00
|
|
|
"@/*": "./src/$1",
|
2023-02-28 16:04:12 +08:00
|
|
|
"@cloud/*": "./src/cloud/$1",
|
2022-05-07 11:35:11 +08:00
|
|
|
"@mdx/components/*": "./src/mdx-components/$1"
|
2022-02-28 10:35:14 +08:00
|
|
|
},
|
2022-02-16 15:04:34 +08:00
|
|
|
"eslintConfig": {
|
2023-03-22 16:45:10 +08:00
|
|
|
"extends": "@silverhand/react",
|
|
|
|
"rules": {
|
|
|
|
"react/function-component-definition": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"namedComponents": "function-declaration",
|
|
|
|
"unnamedComponents": "arrow-function"
|
|
|
|
}
|
2023-06-09 21:56:20 +08:00
|
|
|
],
|
|
|
|
"import/no-unused-modules": [
|
|
|
|
"error",
|
2023-06-12 19:31:36 +08:00
|
|
|
{
|
|
|
|
"unusedExports": true
|
|
|
|
}
|
2023-03-22 16:45:10 +08:00
|
|
|
]
|
2023-06-09 21:56:20 +08:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
2023-06-12 19:31:36 +08:00
|
|
|
"*.d.ts",
|
2023-08-14 15:05:41 +08:00
|
|
|
"**/assets/docs/guides/types.ts",
|
2023-08-16 12:52:33 +08:00
|
|
|
"**/assets/docs/guides/*/index.ts",
|
|
|
|
"**/assets/docs/guides/*/components/**/*.tsx",
|
2023-08-14 15:45:36 +08:00
|
|
|
"**/mdx-components*/*/index.tsx"
|
2023-06-09 21:56:20 +08:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"import/no-unused-modules": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2022-02-16 15:04:34 +08:00
|
|
|
},
|
2022-02-28 18:48:00 +08:00
|
|
|
"stylelint": {
|
2022-08-05 13:58:31 +08:00
|
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
2022-02-28 18:48:00 +08:00
|
|
|
},
|
2022-02-16 15:04:34 +08:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
|
|
}
|