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