2021-07-11 08:08:38 -05:00
|
|
|
{
|
2021-07-11 09:26:08 -05:00
|
|
|
"name": "@logto/ui",
|
2023-04-20 12:04:15 -05:00
|
|
|
"version": "1.1.3",
|
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",
|
2023-04-20 12:04:15 -05:00
|
|
|
"@logto/app-insights": "workspace:^1.2.0",
|
2023-04-18 08:13:31 -05:00
|
|
|
"@logto/connector-kit": "workspace:^1.1.1",
|
|
|
|
"@logto/core-kit": "workspace:^2.0.0",
|
2023-04-17 05:10:14 -05:00
|
|
|
"@logto/language-kit": "workspace:^1.0.0",
|
2023-04-18 08:13:31 -05:00
|
|
|
"@logto/phrases": "workspace:^1.2.0",
|
|
|
|
"@logto/phrases-ui": "workspace:^1.2.0",
|
2023-04-20 12:04:15 -05:00
|
|
|
"@logto/schemas": "workspace:^1.2.2",
|
2023-03-10 11:26:30 -05:00
|
|
|
"@parcel/compressor-brotli": "2.8.3",
|
|
|
|
"@parcel/compressor-gzip": "2.8.3",
|
2023-02-04 11:14:47 -05:00
|
|
|
"@parcel/core": "2.8.3",
|
|
|
|
"@parcel/transformer-sass": "2.8.3",
|
|
|
|
"@parcel/transformer-svg-react": "2.8.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",
|
2023-04-07 11:17:14 -05:00
|
|
|
"@silverhand/eslint-config": "3.0.1",
|
|
|
|
"@silverhand/eslint-config-react": "3.0.1",
|
2023-03-18 00:02:51 -05:00
|
|
|
"@silverhand/essentials": "^2.5.0",
|
2023-03-24 11:28:36 -05:00
|
|
|
"@silverhand/ts-config": "3.0.0",
|
|
|
|
"@silverhand/ts-config-react": "3.0.0",
|
2023-04-20 11:21:21 -05:00
|
|
|
"@swc/core": "^1.3.52",
|
|
|
|
"@swc/jest": "^0.2.26",
|
2023-02-19 11:15:42 -05:00
|
|
|
"@testing-library/react": "^14.0.0",
|
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",
|
2022-11-22 10:28:01 -05:00
|
|
|
"camelcase-keys": "^8.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",
|
2022-05-14 01:50:37 -05:00
|
|
|
"cross-env": "^7.0.3",
|
2023-02-16 10:49:03 -05:00
|
|
|
"eslint": "^8.34.0",
|
2023-04-21 05:21:09 -05:00
|
|
|
"i18next": "^22.4.15",
|
2023-04-21 05:23:45 -05:00
|
|
|
"i18next-browser-languagedetector": "^7.0.1",
|
2023-03-14 04:31:48 -05:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2023-03-07 01:54:57 -05:00
|
|
|
"jest": "^29.5.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",
|
2022-12-13 05:26:51 -05:00
|
|
|
"ky": "^0.33.0",
|
2022-04-24 05:02:18 -05:00
|
|
|
"libphonenumber-js": "^1.9.49",
|
2022-06-02 00:19:09 -05:00
|
|
|
"lint-staged": "^13.0.0",
|
2023-02-04 11:14:47 -05:00
|
|
|
"parcel": "2.8.3",
|
2023-03-11 02:56:09 -05:00
|
|
|
"parcel-resolver-ignore": "^2.1.3",
|
2022-02-20 01:12:07 -05:00
|
|
|
"postcss": "^8.4.6",
|
|
|
|
"postcss-modules": "^4.3.0",
|
2023-02-16 10:49:03 -05:00
|
|
|
"prettier": "^2.8.2",
|
2022-08-05 01:13:30 -05:00
|
|
|
"react": "^18.0.0",
|
2022-05-17 03:32:02 -05:00
|
|
|
"react-device-detect": "^2.2.2",
|
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-04-21 05:23:45 -05:00
|
|
|
"react-i18next": "^12.2.0",
|
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-03-21 06:37:51 -05:00
|
|
|
"typescript": "^5.0.0",
|
2022-11-22 03:47:17 -05:00
|
|
|
"use-debounced-loader": "^0.1.1",
|
2022-12-14 00:23:59 -05:00
|
|
|
"zod": "^3.20.2"
|
2022-02-20 01:12:07 -05:00
|
|
|
},
|
2022-11-05 11:29:28 -05:00
|
|
|
"engines": {
|
2023-01-07 07:42:10 -05:00
|
|
|
"node": "^18.12.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": {
|
|
|
|
"browsers": "defaults"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
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": {
|
2022-11-03 06:22:32 -05:00
|
|
|
"jsx-a11y/no-autofocus": "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
|
|
|
},
|
2022-10-12 02:42:33 -05:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
2021-07-11 08:08:38 -05:00
|
|
|
}
|