2021-07-11 21:08:38 +08:00
|
|
|
{
|
2023-09-15 13:46:27 +08:00
|
|
|
"name": "@logto/experience",
|
2024-05-31 23:48:43 +08:00
|
|
|
"version": "1.6.2",
|
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,
|
2023-04-04 17:06:04 +08:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
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": {
|
2023-04-21 00:21:21 +08:00
|
|
|
"@jest/types": "^29.5.0",
|
2024-04-10 21:27:24 +08:00
|
|
|
"@logto/connector-kit": "workspace:^3.0.0",
|
2024-05-31 23:48:43 +08:00
|
|
|
"@logto/core-kit": "workspace:^2.5.0",
|
2024-02-08 13:18:42 +08:00
|
|
|
"@logto/language-kit": "workspace:^1.1.0",
|
2024-05-31 23:48:43 +08:00
|
|
|
"@logto/phrases": "workspace:^1.11.0",
|
2024-04-10 21:27:24 +08:00
|
|
|
"@logto/phrases-experience": "workspace:^1.6.1",
|
2024-05-31 23:48:43 +08:00
|
|
|
"@logto/schemas": "workspace:^1.17.0",
|
2023-10-26 15:18:59 +08:00
|
|
|
"@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",
|
2023-02-23 17:48:09 +08:00
|
|
|
"@react-spring/shared": "^9.6.1",
|
2023-02-07 17:05:29 +08:00
|
|
|
"@react-spring/web": "^9.6.1",
|
2024-04-18 12:26:37 +00:00
|
|
|
"@silverhand/eslint-config": "6.0.1",
|
|
|
|
"@silverhand/eslint-config-react": "6.0.2",
|
2024-05-17 16:02:05 +08:00
|
|
|
"@silverhand/essentials": "^2.9.1",
|
2024-04-18 12:26:37 +00:00
|
|
|
"@silverhand/ts-config": "6.0.0",
|
|
|
|
"@silverhand/ts-config-react": "6.0.0",
|
2024-05-13 10:32:46 +08:00
|
|
|
"@simplewebauthn/browser": "^10.0.0",
|
2024-05-13 02:47:09 +00:00
|
|
|
"@simplewebauthn/types": "^10.0.0",
|
2023-04-21 00:21:21 +08:00
|
|
|
"@swc/core": "^1.3.52",
|
|
|
|
"@swc/jest": "^0.2.26",
|
2024-06-04 10:27:48 +08:00
|
|
|
"@testing-library/react": "^16.0.0",
|
2023-11-21 16:09:07 +08:00
|
|
|
"@testing-library/react-hooks": "^8.0.1",
|
2022-05-25 09:58:54 +08:00
|
|
|
"@types/color": "^3.0.3",
|
2023-03-07 14:54:57 +08:00
|
|
|
"@types/jest": "^29.4.0",
|
2023-03-30 13:36:46 +08:00
|
|
|
"@types/react": "^18.0.31",
|
2022-08-05 15:50:31 +08:00
|
|
|
"@types/react-dom": "^18.0.0",
|
2023-04-03 15:40:56 +08:00
|
|
|
"@types/react-helmet": "^6.1.6",
|
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",
|
2023-08-21 13:54:04 +08:00
|
|
|
"camelcase-keys": "^9.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",
|
2024-01-07 21:09:54 +08:00
|
|
|
"core-js": "^3.34.0",
|
2022-05-14 14:50:37 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2024-04-18 12:26:37 +00:00
|
|
|
"eslint": "^8.56.0",
|
2023-04-21 18:21:09 +08:00
|
|
|
"i18next": "^22.4.15",
|
2024-06-04 12:42:03 +08:00
|
|
|
"i18next-browser-languagedetector": "^8.0.0",
|
2023-03-14 17:31:48 +08:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2023-12-22 15:16:49 +08:00
|
|
|
"jest": "^29.7.0",
|
2022-11-04 10:58:53 +08:00
|
|
|
"jest-environment-jsdom": "^29.0.0",
|
2023-03-14 17:31:48 +08:00
|
|
|
"jest-transform-stub": "^2.0.0",
|
2022-08-05 13:58:31 +08:00
|
|
|
"jest-transformer-svg": "^2.0.0",
|
2023-04-03 15:40:56 +08:00
|
|
|
"js-base64": "^3.7.5",
|
2024-03-29 18:10:13 +08:00
|
|
|
"ky": "^1.2.3",
|
2023-11-29 20:56:39 +08:00
|
|
|
"libphonenumber-js": "^1.10.51",
|
2023-10-26 09:55:47 +08:00
|
|
|
"lint-staged": "^15.0.0",
|
2023-10-26 15:18:59 +08:00
|
|
|
"parcel": "2.9.3",
|
2023-03-11 15:56:09 +08:00
|
|
|
"parcel-resolver-ignore": "^2.1.3",
|
2023-10-09 07:30:06 +00:00
|
|
|
"postcss": "^8.4.31",
|
2022-02-20 14:12:07 +08:00
|
|
|
"postcss-modules": "^4.3.0",
|
2023-07-08 01:17:21 +08:00
|
|
|
"prettier": "^3.0.0",
|
2022-08-05 06:13:30 +00:00
|
|
|
"react": "^18.0.0",
|
2024-04-22 13:37:10 +08:00
|
|
|
"react-device-detect": "^2.2.3",
|
2022-08-05 06:13:30 +00:00
|
|
|
"react-dom": "^18.0.0",
|
2023-04-03 15:40:56 +08:00
|
|
|
"react-helmet": "^6.1.0",
|
2023-02-06 17:02:07 +08:00
|
|
|
"react-hook-form": "^7.34.0",
|
2023-05-30 06:03:18 +00:00
|
|
|
"react-i18next": "^12.3.1",
|
2022-08-05 15:50:31 +08:00
|
|
|
"react-modal": "^3.15.1",
|
2023-04-19 18:05:57 +08:00
|
|
|
"react-router-dom": "^6.10.0",
|
2022-04-24 18:02:18 +08:00
|
|
|
"react-string-replace": "^1.0.0",
|
|
|
|
"react-timer-hook": "^3.0.5",
|
2023-03-15 14:53:50 +08:00
|
|
|
"react-top-loading-bar": "^2.3.1",
|
2023-02-16 11:09:03 +08:00
|
|
|
"stylelint": "^15.0.0",
|
2023-04-04 17:06:04 +08:00
|
|
|
"superstruct": "^1.0.3",
|
2023-04-03 15:40:56 +08:00
|
|
|
"tiny-cookie": "^2.4.1",
|
2023-12-22 15:16:49 +08:00
|
|
|
"typescript": "^5.3.3",
|
2022-11-22 16:47:17 +08:00
|
|
|
"use-debounced-loader": "^0.1.1",
|
2023-11-07 11:38:54 +08:00
|
|
|
"zod": "^3.22.4"
|
2022-02-20 14:12:07 +08:00
|
|
|
},
|
2022-11-06 00:29:28 +08:00
|
|
|
"engines": {
|
2023-12-11 09:10:53 +08:00
|
|
|
"node": "^20.9.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": {
|
2024-01-07 21:09:54 +08:00
|
|
|
"browsers": [
|
|
|
|
"defaults",
|
|
|
|
">0.3%",
|
|
|
|
"Chrome >= 52",
|
|
|
|
"Firefox >= 55",
|
|
|
|
"Safari >= 10",
|
|
|
|
"Edge >= 13",
|
|
|
|
"iOS >= 10",
|
|
|
|
"Electron >= 0.36"
|
|
|
|
]
|
2022-11-07 21:40:09 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-03-11 15:56:09 +08:00
|
|
|
"parcelIgnore": [
|
|
|
|
"^/api/.+"
|
|
|
|
],
|
2022-02-20 14:12:07 +08:00
|
|
|
"alias": {
|
2023-04-04 17:06:04 +08:00
|
|
|
"@/*": "./src/$1",
|
|
|
|
"superstruct": "./node_modules/superstruct/dist/index.mjs"
|
2021-07-11 21:08:38 +08:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2022-05-11 06:32:03 +00:00
|
|
|
"extends": "@silverhand/react",
|
|
|
|
"rules": {
|
2023-07-08 01:17:21 +08:00
|
|
|
"jsx-a11y/no-autofocus": "off",
|
|
|
|
"unicorn/prefer-string-replace-all": "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
|
|
|
},
|
2023-10-13 14:19:03 +08:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
2021-07-11 21:08:38 +08:00
|
|
|
}
|