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