2021-07-11 21:08:38 +08:00
|
|
|
{
|
2021-07-11 22:26:08 +08:00
|
|
|
"name": "@logto/ui",
|
2023-02-03 17:45:53 +08:00
|
|
|
"version": "1.0.0-rc.1",
|
2021-08-11 22:12:36 +08:00
|
|
|
"license": "MPL-2.0",
|
2022-11-22 00:31:25 +08:00
|
|
|
"type": "module",
|
2021-07-25 22:36:22 +08:00
|
|
|
"private": true,
|
2021-07-11 21:08:38 +08:00
|
|
|
"scripts": {
|
2021-07-25 22:27:51 +08:00
|
|
|
"precommit": "lint-staged",
|
2022-02-20 14:12:07 +08:00
|
|
|
"start": "parcel src/index.html",
|
2022-05-14 14:50:37 +08:00
|
|
|
"dev": "cross-env PORT=5001 parcel src/index.html --no-cache --hmr-port 6001",
|
2022-02-20 14:12:07 +08:00
|
|
|
"check": "tsc --noEmit",
|
2022-06-27 11:55:28 +08:00
|
|
|
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall --no-cache --detailed-report",
|
2021-08-20 18:16:00 +08:00
|
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
2022-05-05 18:26:30 +08:00
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2021-07-11 21:08:38 +08:00
|
|
|
"stylelint": "stylelint \"src/**/*.scss\"",
|
2022-10-06 17:34:21 +08:00
|
|
|
"test:ci": "jest --coverage --silent",
|
2022-02-20 14:12:07 +08:00
|
|
|
"test": "jest"
|
2021-07-11 21:08:38 +08:00
|
|
|
},
|
2022-04-22 18:02:54 +08:00
|
|
|
"devDependencies": {
|
2022-12-27 14:13:42 +08:00
|
|
|
"@logto/connector-kit": "workspace:*",
|
2022-12-14 13:23:59 +08:00
|
|
|
"@logto/core-kit": "workspace:*",
|
|
|
|
"@logto/language-kit": "workspace:*",
|
2022-12-07 21:39:32 +08:00
|
|
|
"@logto/phrases": "workspace:*",
|
|
|
|
"@logto/phrases-ui": "workspace:*",
|
|
|
|
"@logto/schemas": "workspace:*",
|
2023-02-05 00:14:47 +08:00
|
|
|
"@parcel/core": "2.8.3",
|
|
|
|
"@parcel/transformer-sass": "2.8.3",
|
|
|
|
"@parcel/transformer-svg-react": "2.8.3",
|
2022-04-12 15:03:38 +08:00
|
|
|
"@peculiar/webcrypto": "^1.3.3",
|
2023-02-07 17:05:29 +08:00
|
|
|
"@react-spring/web": "^9.6.1",
|
2022-10-21 02:17:09 +00:00
|
|
|
"@silverhand/eslint-config": "1.3.0",
|
|
|
|
"@silverhand/eslint-config-react": "1.3.0",
|
2022-12-26 20:13:05 +08:00
|
|
|
"@silverhand/essentials": "2.1.0",
|
2022-10-14 05:59:40 +00:00
|
|
|
"@silverhand/jest-config": "1.2.2",
|
2022-10-14 11:46:33 +08:00
|
|
|
"@silverhand/ts-config": "1.2.1",
|
|
|
|
"@silverhand/ts-config-react": "1.2.1",
|
2022-08-05 15:50:31 +08:00
|
|
|
"@testing-library/react": "^13.3.0",
|
2022-05-25 09:58:54 +08:00
|
|
|
"@types/color": "^3.0.3",
|
2022-10-14 14:57:27 +08:00
|
|
|
"@types/jest": "^29.1.2",
|
2022-08-05 15:50:31 +08:00
|
|
|
"@types/react": "^18.0.0",
|
|
|
|
"@types/react-dom": "^18.0.0",
|
2022-03-28 09:36:39 +08:00
|
|
|
"@types/react-modal": "^3.13.1",
|
2022-02-20 14:12:07 +08:00
|
|
|
"@types/react-router-dom": "^5.3.2",
|
2022-11-22 23:28:01 +08:00
|
|
|
"camelcase-keys": "^8.0.0",
|
2022-04-24 18:02:18 +08:00
|
|
|
"classnames": "^2.3.1",
|
2022-05-25 09:58:54 +08:00
|
|
|
"color": "^4.2.3",
|
2022-05-14 14:50:37 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2022-08-05 13:58:31 +08:00
|
|
|
"eslint": "^8.21.0",
|
2022-08-06 00:47:58 +08:00
|
|
|
"i18next": "^21.8.16",
|
|
|
|
"i18next-browser-languagedetector": "^6.1.4",
|
2022-10-14 14:57:27 +08:00
|
|
|
"jest": "^29.1.2",
|
2022-11-04 10:58:53 +08:00
|
|
|
"jest-environment-jsdom": "^29.0.0",
|
2022-08-05 13:58:31 +08:00
|
|
|
"jest-transformer-svg": "^2.0.0",
|
2022-04-24 18:02:18 +08:00
|
|
|
"js-base64": "^3.7.2",
|
2022-12-13 10:26:51 +00:00
|
|
|
"ky": "^0.33.0",
|
2022-04-24 18:02:18 +08:00
|
|
|
"libphonenumber-js": "^1.9.49",
|
2022-06-02 13:19:09 +08:00
|
|
|
"lint-staged": "^13.0.0",
|
2023-02-05 00:14:47 +08:00
|
|
|
"parcel": "2.8.3",
|
2022-02-20 14:12:07 +08:00
|
|
|
"postcss": "^8.4.6",
|
|
|
|
"postcss-modules": "^4.3.0",
|
2022-12-22 16:52:39 +08:00
|
|
|
"prettier": "^2.8.1",
|
2022-08-05 06:13:30 +00:00
|
|
|
"react": "^18.0.0",
|
2022-05-17 16:32:02 +08:00
|
|
|
"react-device-detect": "^2.2.2",
|
2022-08-05 06:13:30 +00:00
|
|
|
"react-dom": "^18.0.0",
|
2023-02-06 17:02:07 +08:00
|
|
|
"react-hook-form": "^7.34.0",
|
2022-08-06 00:47:58 +08:00
|
|
|
"react-i18next": "^11.18.3",
|
2022-08-05 15:50:31 +08:00
|
|
|
"react-modal": "^3.15.1",
|
2022-04-24 18:02:18 +08:00
|
|
|
"react-router-dom": "^6.2.2",
|
|
|
|
"react-string-replace": "^1.0.0",
|
|
|
|
"react-timer-hook": "^3.0.5",
|
2022-08-05 13:58:31 +08:00
|
|
|
"stylelint": "^14.9.1",
|
2022-07-18 19:36:12 +08:00
|
|
|
"superstruct": "^0.16.0",
|
2022-12-12 21:15:09 +08:00
|
|
|
"typescript": "^4.9.4",
|
2022-11-22 16:47:17 +08:00
|
|
|
"use-debounced-loader": "^0.1.1",
|
2022-12-14 13:23:59 +08:00
|
|
|
"zod": "^3.20.2"
|
2022-02-20 14:12:07 +08:00
|
|
|
},
|
2022-11-06 00:29:28 +08:00
|
|
|
"engines": {
|
2023-01-07 20:42:10 +08:00
|
|
|
"node": "^18.12.0"
|
2022-11-06 00:29:28 +08:00
|
|
|
},
|
2022-11-07 21:40:09 +08:00
|
|
|
"//": "https://github.com/parcel-bundler/parcel/issues/7636",
|
|
|
|
"targets": {
|
|
|
|
"default": {
|
|
|
|
"engines": {
|
|
|
|
"browsers": "defaults"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-02-20 14:12:07 +08:00
|
|
|
"alias": {
|
|
|
|
"@/*": "./src/$1"
|
2021-07-11 21:08:38 +08:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2022-05-11 06:32:03 +00:00
|
|
|
"extends": "@silverhand/react",
|
|
|
|
"rules": {
|
2022-11-03 19:22:32 +08:00
|
|
|
"complexity": "off",
|
|
|
|
"jsx-a11y/no-autofocus": "off"
|
2022-05-11 06:32:03 +00:00
|
|
|
}
|
2021-07-11 21:08:38 +08:00
|
|
|
},
|
|
|
|
"stylelint": {
|
2022-08-05 13:58:31 +08:00
|
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
2021-07-11 21:08:38 +08:00
|
|
|
},
|
2022-10-12 15:42:33 +08:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
2021-07-11 21:08:38 +08:00
|
|
|
}
|