mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
121 lines
3.6 KiB
JSON
121 lines
3.6 KiB
JSON
{
|
|
"name": "@logto/ui",
|
|
"version": "1.1.5",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"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": {
|
|
"@jest/types": "^29.5.0",
|
|
"@logto/app-insights": "workspace:^1.3.1",
|
|
"@logto/connector-kit": "workspace:^1.1.1",
|
|
"@logto/core-kit": "workspace:^2.0.1",
|
|
"@logto/language-kit": "workspace:^1.0.0",
|
|
"@logto/phrases": "workspace:^1.4.1",
|
|
"@logto/phrases-ui": "workspace:^1.2.0",
|
|
"@logto/schemas": "workspace:^1.6.0",
|
|
"@parcel/compressor-brotli": "2.9.3",
|
|
"@parcel/compressor-gzip": "2.9.3",
|
|
"@parcel/core": "2.9.3",
|
|
"@parcel/transformer-sass": "2.9.3",
|
|
"@parcel/transformer-svg-react": "2.9.3",
|
|
"@react-spring/shared": "^9.6.1",
|
|
"@react-spring/web": "^9.6.1",
|
|
"@silverhand/eslint-config": "4.0.1",
|
|
"@silverhand/eslint-config-react": "4.0.1",
|
|
"@silverhand/essentials": "^2.8.4",
|
|
"@silverhand/ts-config": "4.0.0",
|
|
"@silverhand/ts-config-react": "4.0.0",
|
|
"@swc/core": "^1.3.52",
|
|
"@swc/jest": "^0.2.26",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@types/color": "^3.0.3",
|
|
"@types/jest": "^29.4.0",
|
|
"@types/react": "^18.0.31",
|
|
"@types/react-dom": "^18.0.0",
|
|
"@types/react-helmet": "^6.1.6",
|
|
"@types/react-modal": "^3.13.1",
|
|
"@types/react-router-dom": "^5.3.2",
|
|
"camelcase-keys": "^9.0.0",
|
|
"classnames": "^2.3.1",
|
|
"color": "^4.2.3",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.44.0",
|
|
"i18next": "^22.4.15",
|
|
"i18next-browser-languagedetector": "^7.0.1",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^29.5.0",
|
|
"jest-environment-jsdom": "^29.0.0",
|
|
"jest-transform-stub": "^2.0.0",
|
|
"jest-transformer-svg": "^2.0.0",
|
|
"js-base64": "^3.7.5",
|
|
"ky": "^0.33.0",
|
|
"libphonenumber-js": "^1.9.49",
|
|
"lint-staged": "^14.0.0",
|
|
"parcel": "2.9.3",
|
|
"parcel-resolver-ignore": "^2.1.3",
|
|
"postcss": "^8.4.6",
|
|
"postcss-modules": "^4.3.0",
|
|
"prettier": "^3.0.0",
|
|
"react": "^18.0.0",
|
|
"react-device-detect": "^2.2.2",
|
|
"react-dom": "^18.0.0",
|
|
"react-helmet": "^6.1.0",
|
|
"react-hook-form": "^7.34.0",
|
|
"react-i18next": "^12.3.1",
|
|
"react-modal": "^3.15.1",
|
|
"react-router-dom": "^6.10.0",
|
|
"react-string-replace": "^1.0.0",
|
|
"react-timer-hook": "^3.0.5",
|
|
"react-top-loading-bar": "^2.3.1",
|
|
"stylelint": "^15.0.0",
|
|
"superstruct": "^1.0.3",
|
|
"tiny-cookie": "^2.4.1",
|
|
"typescript": "^5.0.0",
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"parcelIgnore": [
|
|
"^/api/.+"
|
|
],
|
|
"alias": {
|
|
"@/*": "./src/$1",
|
|
"superstruct": "./node_modules/superstruct/dist/index.mjs"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react",
|
|
"rules": {
|
|
"jsx-a11y/no-autofocus": "off",
|
|
"unicorn/prefer-string-replace-all": "off"
|
|
}
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|