mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"name": "@logto/ui",
|
|
"version": "0.1.0",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"precommit": "lint-staged",
|
|
"start": "parcel src/index.html",
|
|
"dev": "PORT=5001 parcel src/index.html --no-hmr --no-cache",
|
|
"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\"",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@logto/phrases": "^0.1.0",
|
|
"@logto/schemas": "^0.1.0",
|
|
"classnames": "^2.3.1",
|
|
"i18next": "^21.6.11",
|
|
"i18next-browser-languagedetector": "^6.1.3",
|
|
"ky": "^0.29.0",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-i18next": "^11.15.4",
|
|
"react-router-dom": "^5.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/types": "^27.5.1",
|
|
"@parcel/core": "^2.3.1",
|
|
"@parcel/transformer-sass": "^2.3.1",
|
|
"@silverhand/eslint-config": "^0.9.1",
|
|
"@silverhand/eslint-config-react": "^0.9.3",
|
|
"@silverhand/ts-config": "^0.9.1",
|
|
"@silverhand/ts-config-react": "^0.9.3",
|
|
"@testing-library/react": "^12.0.0",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/react": "^17.0.14",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@types/react-router-dom": "^5.3.2",
|
|
"eslint": "^8.10.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^27.5.1",
|
|
"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",
|
|
"ts-jest": "^27.0.5"
|
|
},
|
|
"alias": {
|
|
"@/*": "./src/$1"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react"
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|