2022-02-16 02:04:34 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/console",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"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",
|
|
|
|
"scripts": {
|
|
|
|
"preinstall": "npx only-allow pnpm",
|
|
|
|
"precommit": "lint-staged",
|
2022-05-06 22:35:11 -05:00
|
|
|
"start": "parcel src/index.html",
|
|
|
|
"dev": "PORT=5002 parcel src/index.html --public-url /console --no-cache --hmr-port 6002",
|
2022-02-16 02:04:34 -05:00
|
|
|
"check": "tsc --noEmit",
|
2022-05-06 22:35:11 -05:00
|
|
|
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall --no-cache --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",
|
2022-02-16 02:04:34 -05:00
|
|
|
"stylelint": "stylelint \"src/**/*.scss\""
|
|
|
|
},
|
2022-04-22 05:02:54 -05:00
|
|
|
"devDependencies": {
|
2022-02-18 04:11:54 -05:00
|
|
|
"@logto/phrases": "^0.1.0",
|
2022-05-05 08:01:58 -05:00
|
|
|
"@logto/react": "^0.1.5",
|
2022-02-18 04:11:54 -05:00
|
|
|
"@logto/schemas": "^0.1.0",
|
2022-04-27 21:41:23 -05:00
|
|
|
"@mdx-js/react": "^1.6.22",
|
|
|
|
"@parcel/core": "^2.5.0",
|
|
|
|
"@parcel/transformer-mdx": "^2.5.0",
|
|
|
|
"@parcel/transformer-sass": "^2.5.0",
|
2022-05-11 01:13:06 -05:00
|
|
|
"@silverhand/eslint-config": "^0.11.0",
|
2022-05-11 01:32:03 -05:00
|
|
|
"@silverhand/eslint-config-react": "^0.11.0",
|
2022-03-07 05:54:05 -05:00
|
|
|
"@silverhand/essentials": "^1.1.6",
|
2022-05-09 11:15:27 -05:00
|
|
|
"@silverhand/ts-config": "^0.11.0",
|
2022-05-09 10:35:56 -05:00
|
|
|
"@silverhand/ts-config-react": "^0.11.0",
|
2022-04-27 21:41:23 -05:00
|
|
|
"@tsconfig/docusaurus": "^1.0.5",
|
|
|
|
"@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",
|
2022-05-09 07:19:51 -05:00
|
|
|
"@types/react-syntax-highlighter": "^15.5.1",
|
2022-02-28 09:39:15 -05:00
|
|
|
"classnames": "^2.3.1",
|
2022-03-09 23:52:56 -05:00
|
|
|
"csstype": "^3.0.11",
|
2022-05-05 03:22:43 -05:00
|
|
|
"dayjs": "^1.10.5",
|
2022-04-19 05:22:40 -05:00
|
|
|
"dnd-core": "^16.0.0",
|
2022-04-27 21:41:23 -05:00
|
|
|
"eslint": "^8.10.0",
|
2022-02-28 09:18:01 -05:00
|
|
|
"i18next": "^21.6.12",
|
|
|
|
"i18next-browser-languagedetector": "^6.1.3",
|
2022-03-08 02:13:45 -05:00
|
|
|
"ky": "^0.30.0",
|
2022-04-27 21:41:23 -05:00
|
|
|
"lint-staged": "^12.0.0",
|
2022-03-03 02:02:30 -05:00
|
|
|
"lodash.kebabcase": "^4.1.1",
|
2022-04-18 02:57:37 -05:00
|
|
|
"nanoid": "^3.1.23",
|
2022-04-27 21:41:23 -05:00
|
|
|
"parcel": "^2.5.0",
|
|
|
|
"postcss": "^8.4.6",
|
|
|
|
"postcss-modules": "^4.3.0",
|
|
|
|
"prettier": "^2.3.2",
|
|
|
|
"process": "^0.11.10",
|
2022-02-16 02:04:34 -05:00
|
|
|
"react": "^17.0.2",
|
2022-04-19 05:22:40 -05:00
|
|
|
"react-dnd": "^16.0.0",
|
|
|
|
"react-dnd-html5-backend": "^16.0.0",
|
2022-02-28 09:18:01 -05:00
|
|
|
"react-dom": "^17.0.2",
|
2022-03-06 02:49:10 -05:00
|
|
|
"react-hook-form": "^7.27.1",
|
2022-03-09 23:52:56 -05:00
|
|
|
"react-hot-toast": "^2.2.0",
|
2022-03-03 02:02:30 -05:00
|
|
|
"react-i18next": "^11.15.4",
|
2022-03-14 22:31:50 -05:00
|
|
|
"react-markdown": "^8.0.0",
|
2022-03-06 00:39:14 -05:00
|
|
|
"react-modal": "^3.14.4",
|
2022-03-28 02:01:50 -05:00
|
|
|
"react-paginate": "^8.1.2",
|
2022-03-04 04:26:34 -05:00
|
|
|
"react-router-dom": "^6.2.2",
|
2022-05-09 07:19:51 -05:00
|
|
|
"react-syntax-highlighter": "^15.5.0",
|
2022-03-14 22:31:50 -05:00
|
|
|
"remark-gfm": "^3.0.1",
|
2022-02-16 02:04:34 -05:00
|
|
|
"stylelint": "^13.13.1",
|
2022-04-27 21:41:23 -05:00
|
|
|
"swr": "^1.2.2",
|
2022-03-11 03:30:22 -05:00
|
|
|
"typescript": "^4.6.2"
|
2022-02-16 02:04:34 -05:00
|
|
|
},
|
2022-02-27 21:35:14 -05:00
|
|
|
"alias": {
|
2022-04-27 21:41:23 -05:00
|
|
|
"@/*": "./src/$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": {
|
2022-05-11 01:32:03 -05:00
|
|
|
"extends": "@silverhand/react",
|
|
|
|
"rules": {
|
|
|
|
"complexity": "off"
|
|
|
|
}
|
2022-02-16 02:04:34 -05:00
|
|
|
},
|
2022-02-28 05:48:00 -05:00
|
|
|
"stylelint": {
|
|
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
|
|
},
|
2022-02-16 02:04:34 -05:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
|
|
}
|