2022-02-16 15:04:34 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/console",
|
2023-02-26 15:03:37 +08:00
|
|
|
"version": "1.0.0-rc.3",
|
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,
|
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",
|
2022-02-16 15:04:34 +08:00
|
|
|
"stylelint": "stylelint \"src/**/*.scss\""
|
|
|
|
},
|
2022-04-22 18:02:54 +08:00
|
|
|
"devDependencies": {
|
2022-05-14 20:51:55 +08:00
|
|
|
"@fontsource/roboto-mono": "^4.5.7",
|
2023-02-10 16:59:32 +08:00
|
|
|
"@logto/connector-kit": "workspace:*",
|
2022-12-14 13:23:59 +08:00
|
|
|
"@logto/core-kit": "workspace:*",
|
|
|
|
"@logto/language-kit": "workspace:*",
|
2022-12-07 21:39:32 +08:00
|
|
|
"@logto/phrases": "workspace:*",
|
|
|
|
"@logto/phrases-ui": "workspace:*",
|
2023-03-01 14:57:06 +08:00
|
|
|
"@logto/react": "1.0.0",
|
2022-12-07 21:39:32 +08:00
|
|
|
"@logto/schemas": "workspace:*",
|
2022-08-05 17:59:03 +08:00
|
|
|
"@mdx-js/react": "^1.6.22",
|
2023-03-11 00:26:30 +08:00
|
|
|
"@parcel/compressor-brotli": "2.8.3",
|
|
|
|
"@parcel/compressor-gzip": "2.8.3",
|
2023-02-05 00:14:47 +08:00
|
|
|
"@parcel/core": "2.8.3",
|
|
|
|
"@parcel/transformer-mdx": "2.8.3",
|
|
|
|
"@parcel/transformer-sass": "2.8.3",
|
|
|
|
"@parcel/transformer-svg-react": "2.8.3",
|
2023-02-16 23:49:03 +08:00
|
|
|
"@silverhand/eslint-config": "2.0.1",
|
|
|
|
"@silverhand/eslint-config-react": "2.0.1",
|
2023-03-18 13:02:51 +08:00
|
|
|
"@silverhand/essentials": "^2.5.0",
|
2023-02-17 13:41:05 +08:00
|
|
|
"@silverhand/ts-config": "2.0.3",
|
|
|
|
"@silverhand/ts-config-react": "2.0.3",
|
2022-04-28 10:41:23 +08:00
|
|
|
"@tsconfig/docusaurus": "^1.0.5",
|
2022-06-29 15:56:05 +08:00
|
|
|
"@types/color": "^3.0.3",
|
2022-04-28 10:41:23 +08:00
|
|
|
"@types/mdx": "^2.0.1",
|
|
|
|
"@types/mdx-js__react": "^1.5.5",
|
2022-08-05 15:50:31 +08:00
|
|
|
"@types/react": "^18.0.0",
|
|
|
|
"@types/react-dom": "^18.0.0",
|
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-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",
|
2022-11-02 11:39:27 +08:00
|
|
|
"deep-object-diff": "^1.1.7",
|
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-02-16 23:49:03 +08:00
|
|
|
"eslint": "^8.34.0",
|
2022-07-05 17:09:00 +08:00
|
|
|
"history": "^5.3.0",
|
2022-08-06 00:47:58 +08:00
|
|
|
"i18next": "^21.8.16",
|
|
|
|
"i18next-browser-languagedetector": "^6.1.4",
|
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",
|
2022-06-02 13:19:09 +08:00
|
|
|
"lint-staged": "^13.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-02-05 00:14:47 +08:00
|
|
|
"parcel": "2.8.3",
|
2022-04-28 10:41:23 +08:00
|
|
|
"postcss": "^8.4.6",
|
|
|
|
"postcss-modules": "^4.3.0",
|
2023-02-16 23:49:03 +08:00
|
|
|
"prettier": "^2.8.2",
|
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",
|
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",
|
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",
|
2022-08-05 15:50:31 +08:00
|
|
|
"react-hook-form": "^7.34.0",
|
2022-03-10 12:52:56 +08:00
|
|
|
"react-hot-toast": "^2.2.0",
|
2022-08-06 00:47:58 +08:00
|
|
|
"react-i18next": "^11.18.3",
|
2022-03-15 11:31:50 +08:00
|
|
|
"react-markdown": "^8.0.0",
|
2022-08-05 15:50:31 +08:00
|
|
|
"react-modal": "^3.15.1",
|
|
|
|
"react-paginate": "^8.1.3",
|
2022-07-20 15:00:48 +00:00
|
|
|
"react-router-dom": "6.3.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-03-06 11:21:24 +08:00
|
|
|
"superstruct": "^0.16.0",
|
2022-08-05 17:59:03 +08:00
|
|
|
"swr": "^1.3.0",
|
2022-12-12 21:15:09 +08:00
|
|
|
"typescript": "^4.9.4",
|
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-02-16 23:49:03 +08:00
|
|
|
"extends": "@silverhand/react"
|
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"
|
|
|
|
}
|