mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
29b52b2a88
* feat(console): code editor component * fix: peer dep for monaco * fix: options type
69 lines
2.1 KiB
JSON
69 lines
2.1 KiB
JSON
{
|
|
"name": "@logto/console",
|
|
"version": "0.1.0",
|
|
"description": "> TODO: description",
|
|
"author": "Gao Sun <gao@silverhand.io>",
|
|
"homepage": "https://github.com/logto-io/logto#readme",
|
|
"license": "MPL-2.0",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"precommit": "lint-staged",
|
|
"start": "parcel src/index.html",
|
|
"dev": "PORT=5002 parcel src/index.html --public-url /console --no-hmr --no-cache",
|
|
"check": "tsc --noEmit",
|
|
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall --public-url /console",
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
|
"stylelint": "stylelint \"src/**/*.scss\""
|
|
},
|
|
"dependencies": {
|
|
"@logto/phrases": "^0.1.0",
|
|
"@logto/schemas": "^0.1.0",
|
|
"@monaco-editor/react": "^4.3.1",
|
|
"@silverhand/essentials": "^1.1.6",
|
|
"classnames": "^2.3.1",
|
|
"csstype": "^3.0.11",
|
|
"i18next": "^21.6.12",
|
|
"i18next-browser-languagedetector": "^6.1.3",
|
|
"ky": "^0.30.0",
|
|
"lodash.kebabcase": "^4.1.1",
|
|
"monaco-editor": "^0.32.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-hook-form": "^7.27.1",
|
|
"react-hot-toast": "^2.2.0",
|
|
"react-i18next": "^11.15.4",
|
|
"react-modal": "^3.14.4",
|
|
"react-router-dom": "^6.2.2",
|
|
"swr": "^1.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@parcel/core": "^2.3.2",
|
|
"@parcel/transformer-sass": "^2.3.2",
|
|
"@silverhand/eslint-config": "^0.9.4",
|
|
"@silverhand/eslint-config-react": "^0.9.5",
|
|
"@silverhand/ts-config": "^0.9.4",
|
|
"@silverhand/ts-config-react": "^0.9.5",
|
|
"@types/lodash.kebabcase": "^4.1.6",
|
|
"@types/react": "^17.0.14",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@types/react-modal": "^3.13.1",
|
|
"eslint": "^8.10.0",
|
|
"lint-staged": "^11.1.1",
|
|
"parcel": "^2.3.2",
|
|
"postcss": "^8.4.6",
|
|
"postcss-modules": "^4.3.0",
|
|
"prettier": "^2.3.2",
|
|
"stylelint": "^13.13.1",
|
|
"typescript": "^4.6.2"
|
|
},
|
|
"alias": {
|
|
"@/*": "./src/$1"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react"
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|