mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
3f3c3ba421
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
101 lines
3 KiB
JSON
101 lines
3 KiB
JSON
{
|
|
"name": "@logto/ui",
|
|
"version": "1.0.0-rc.1",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"start": "parcel src/index.html",
|
|
"dev": "cross-env PORT=5001 parcel src/index.html --no-cache --hmr-port 6001",
|
|
"check": "tsc --noEmit",
|
|
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall --no-cache --detailed-report",
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"stylelint": "stylelint \"src/**/*.scss\"",
|
|
"test:ci": "jest --coverage --silent",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@logto/connector-kit": "workspace:*",
|
|
"@logto/core-kit": "workspace:*",
|
|
"@logto/language-kit": "workspace:*",
|
|
"@logto/phrases": "workspace:*",
|
|
"@logto/phrases-ui": "workspace:*",
|
|
"@logto/schemas": "workspace:*",
|
|
"@parcel/core": "2.8.3",
|
|
"@parcel/transformer-sass": "2.8.3",
|
|
"@parcel/transformer-svg-react": "2.8.3",
|
|
"@peculiar/webcrypto": "^1.3.3",
|
|
"@react-spring/web": "^9.6.1",
|
|
"@silverhand/eslint-config": "2.0.1",
|
|
"@silverhand/eslint-config-react": "2.0.1",
|
|
"@silverhand/essentials": "2.1.0",
|
|
"@silverhand/jest-config": "1.2.2",
|
|
"@silverhand/ts-config": "2.0.3",
|
|
"@silverhand/ts-config-react": "2.0.3",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@types/color": "^3.0.3",
|
|
"@types/jest": "^29.1.2",
|
|
"@types/react": "^18.0.0",
|
|
"@types/react-dom": "^18.0.0",
|
|
"@types/react-modal": "^3.13.1",
|
|
"@types/react-router-dom": "^5.3.2",
|
|
"camelcase-keys": "^8.0.0",
|
|
"classnames": "^2.3.1",
|
|
"color": "^4.2.3",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.34.0",
|
|
"i18next": "^21.8.16",
|
|
"i18next-browser-languagedetector": "^6.1.4",
|
|
"jest": "^29.1.2",
|
|
"jest-environment-jsdom": "^29.0.0",
|
|
"jest-transformer-svg": "^2.0.0",
|
|
"js-base64": "^3.7.2",
|
|
"ky": "^0.33.0",
|
|
"libphonenumber-js": "^1.9.49",
|
|
"lint-staged": "^13.0.0",
|
|
"parcel": "2.8.3",
|
|
"postcss": "^8.4.6",
|
|
"postcss-modules": "^4.3.0",
|
|
"prettier": "^2.8.2",
|
|
"react": "^18.0.0",
|
|
"react-device-detect": "^2.2.2",
|
|
"react-dom": "^18.0.0",
|
|
"react-hook-form": "^7.34.0",
|
|
"react-i18next": "^11.18.3",
|
|
"react-modal": "^3.15.1",
|
|
"react-router-dom": "^6.2.2",
|
|
"react-string-replace": "^1.0.0",
|
|
"react-timer-hook": "^3.0.5",
|
|
"stylelint": "^15.0.0",
|
|
"superstruct": "^0.16.0",
|
|
"typescript": "^4.9.4",
|
|
"use-debounced-loader": "^0.1.1",
|
|
"zod": "^3.20.2"
|
|
},
|
|
"engines": {
|
|
"node": "^18.12.0"
|
|
},
|
|
"//": "https://github.com/parcel-bundler/parcel/issues/7636",
|
|
"targets": {
|
|
"default": {
|
|
"engines": {
|
|
"browsers": "defaults"
|
|
}
|
|
}
|
|
},
|
|
"alias": {
|
|
"@/*": "./src/$1"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react",
|
|
"rules": {
|
|
"jsx-a11y/no-autofocus": "off"
|
|
}
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|