2021-07-11 08:08:38 -05:00
|
|
|
{
|
2021-07-11 09:26:08 -05:00
|
|
|
"name": "@logto/ui",
|
2022-08-30 00:44:34 -05:00
|
|
|
"version": "1.0.0-beta.6",
|
2021-08-11 09:12:36 -05:00
|
|
|
"license": "MPL-2.0",
|
2021-07-25 09:36:22 -05:00
|
|
|
"private": true,
|
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-05-29 20:42:59 -05:00
|
|
|
"test:coverage": "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": {
|
2022-08-30 00:44:34 -05:00
|
|
|
"@logto/phrases": "^1.0.0-beta.6",
|
|
|
|
"@logto/phrases-ui": "^1.0.0-beta.6",
|
|
|
|
"@logto/schemas": "^1.0.0-beta.6",
|
2022-08-11 09:54:30 -05:00
|
|
|
"@parcel/core": "2.7.0",
|
|
|
|
"@parcel/transformer-sass": "2.7.0",
|
|
|
|
"@parcel/transformer-svg-react": "2.7.0",
|
2022-04-12 02:03:38 -05:00
|
|
|
"@peculiar/webcrypto": "^1.3.3",
|
2022-08-05 00:58:31 -05:00
|
|
|
"@silverhand/eslint-config": "1.0.0-rc.2",
|
|
|
|
"@silverhand/eslint-config-react": "1.0.0-rc.2",
|
2022-08-16 22:40:50 -05:00
|
|
|
"@silverhand/essentials": "^1.2.0",
|
2022-08-05 00:58:31 -05:00
|
|
|
"@silverhand/jest-config": "1.0.0-rc.3",
|
|
|
|
"@silverhand/ts-config": "1.0.0-rc.2",
|
|
|
|
"@silverhand/ts-config-react": "1.0.0-rc.2",
|
2022-08-05 02:50:31 -05:00
|
|
|
"@testing-library/react": "^13.3.0",
|
2022-05-24 20:58:54 -05:00
|
|
|
"@types/color": "^3.0.3",
|
2022-08-05 00:58:31 -05:00
|
|
|
"@types/jest": "^28.1.6",
|
2022-08-05 02:50:31 -05:00
|
|
|
"@types/react": "^18.0.0",
|
|
|
|
"@types/react-dom": "^18.0.0",
|
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-05-27 02:43:42 -05:00
|
|
|
"camelcase-keys": "^7.0.2",
|
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",
|
2022-08-05 00:58:31 -05:00
|
|
|
"eslint": "^8.21.0",
|
2022-08-05 11:47:58 -05:00
|
|
|
"i18next": "^21.8.16",
|
|
|
|
"i18next-browser-languagedetector": "^6.1.4",
|
2022-08-05 00:58:31 -05:00
|
|
|
"jest": "^28.1.3",
|
|
|
|
"jest-environment-jsdom": "^28.1.3",
|
|
|
|
"jest-transformer-svg": "^2.0.0",
|
2022-04-24 05:02:18 -05:00
|
|
|
"js-base64": "^3.7.2",
|
2022-06-24 00:13:05 -05:00
|
|
|
"ky": "^0.31.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",
|
2022-08-11 09:54:30 -05:00
|
|
|
"parcel": "2.7.0",
|
2022-02-20 01:12:07 -05:00
|
|
|
"postcss": "^8.4.6",
|
|
|
|
"postcss-modules": "^4.3.0",
|
2022-08-05 00:58:31 -05:00
|
|
|
"prettier": "^2.7.1",
|
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",
|
2022-08-05 11:47:58 -05:00
|
|
|
"react-i18next": "^11.18.3",
|
2022-08-05 02:50:31 -05:00
|
|
|
"react-modal": "^3.15.1",
|
2022-05-19 20:59:40 -05:00
|
|
|
"react-modal-promise": "^1.0.2",
|
2022-04-24 05:02:18 -05:00
|
|
|
"react-router-dom": "^6.2.2",
|
|
|
|
"react-string-replace": "^1.0.0",
|
|
|
|
"react-timer-hook": "^3.0.5",
|
2022-08-05 00:58:31 -05:00
|
|
|
"stylelint": "^14.9.1",
|
2022-07-18 06:36:12 -05:00
|
|
|
"superstruct": "^0.16.0",
|
2022-08-05 00:58:31 -05:00
|
|
|
"typescript": "^4.7.4",
|
2022-05-16 21:26:55 -05:00
|
|
|
"use-debounced-loader": "^0.1.1"
|
2022-02-20 01:12:07 -05:00
|
|
|
},
|
|
|
|
"alias": {
|
|
|
|
"@/*": "./src/$1"
|
2021-07-11 08:08:38 -05:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2022-05-11 01:32:03 -05:00
|
|
|
"extends": "@silverhand/react",
|
|
|
|
"rules": {
|
2022-07-18 06:36:12 -05:00
|
|
|
"complexity": "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-06-29 02:56:05 -05:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
|
|
"dependencies": {
|
2022-08-30 00:44:34 -05:00
|
|
|
"@logto/shared": "^1.0.0-beta.6"
|
2022-06-29 02:56:05 -05:00
|
|
|
}
|
2021-07-11 08:08:38 -05:00
|
|
|
}
|