2022-02-16 02:04:34 -05:00
|
|
|
{
|
|
|
|
"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",
|
|
|
|
"check": "tsc --noEmit",
|
|
|
|
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall",
|
|
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
|
|
|
"stylelint": "stylelint \"src/**/*.scss\""
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-02-18 04:11:54 -05:00
|
|
|
"@logto/phrases": "^0.1.0",
|
|
|
|
"@logto/schemas": "^0.1.0",
|
2022-02-16 02:04:34 -05:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@parcel/core": "^2.3.1",
|
|
|
|
"@parcel/transformer-sass": "^2.3.1",
|
2022-02-28 02:21:48 -05:00
|
|
|
"@silverhand/eslint-config": "^0.9.1",
|
|
|
|
"@silverhand/eslint-config-react": "^0.9.2",
|
|
|
|
"@silverhand/ts-config": "^0.9.1",
|
|
|
|
"@silverhand/ts-config-react": "^0.9.2",
|
2022-02-16 02:04:34 -05:00
|
|
|
"@types/react": "^17.0.14",
|
|
|
|
"@types/react-dom": "^17.0.9",
|
2022-02-28 02:21:48 -05:00
|
|
|
"eslint": "^8.10.0",
|
2022-02-16 02:04:34 -05:00
|
|
|
"lint-staged": "^11.1.1",
|
|
|
|
"parcel": "^2.3.1",
|
|
|
|
"postcss": "^8.4.6",
|
|
|
|
"postcss-modules": "^4.3.0",
|
|
|
|
"prettier": "^2.3.2",
|
|
|
|
"stylelint": "^13.13.1",
|
2022-02-16 02:17:43 -05:00
|
|
|
"typescript": "^4.5.5"
|
2022-02-16 02:04:34 -05:00
|
|
|
},
|
2022-02-27 21:35:14 -05:00
|
|
|
"alias": {
|
|
|
|
"@/*": "./src/$1"
|
|
|
|
},
|
2022-02-16 02:04:34 -05:00
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "@silverhand/react"
|
|
|
|
},
|
|
|
|
"stylelint": {
|
2022-02-27 21:35:14 -05:00
|
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc",
|
|
|
|
"rules": {
|
|
|
|
"color-function-notation": "legacy"
|
|
|
|
}
|
2022-02-16 02:04:34 -05:00
|
|
|
},
|
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
|
|
}
|