2021-07-11 08:08:38 -05:00
|
|
|
{
|
2021-07-11 09:26:08 -05:00
|
|
|
"name": "@logto/ui",
|
2021-07-11 08:08:38 -05:00
|
|
|
"version": "0.1.0",
|
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-08-10 02:29:32 -05:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
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-03-07 05:54:05 -05:00
|
|
|
"dev": "PORT=5001 parcel src/index.html --no-hmr --no-cache",
|
2022-02-20 01:12:07 -05:00
|
|
|
"check": "tsc --noEmit",
|
|
|
|
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall",
|
2021-08-20 05:16:00 -05:00
|
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
2021-07-11 08:08:38 -05:00
|
|
|
"stylelint": "stylelint \"src/**/*.scss\"",
|
2022-02-20 01:12:07 -05:00
|
|
|
"test": "jest"
|
2021-07-11 08:08:38 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-07-27 12:13:51 -05:00
|
|
|
"@logto/phrases": "^0.1.0",
|
2021-08-23 08:29:58 -05:00
|
|
|
"@logto/schemas": "^0.1.0",
|
2021-07-13 10:03:02 -05:00
|
|
|
"classnames": "^2.3.1",
|
2022-02-20 01:12:07 -05:00
|
|
|
"i18next": "^21.6.11",
|
|
|
|
"i18next-browser-languagedetector": "^6.1.3",
|
|
|
|
"ky": "^0.29.0",
|
2022-03-15 04:31:13 -05:00
|
|
|
"libphonenumber-js": "^1.9.49",
|
2021-07-11 08:08:38 -05:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2",
|
2022-02-20 01:12:07 -05:00
|
|
|
"react-i18next": "^11.15.4",
|
2022-03-27 20:36:39 -05:00
|
|
|
"react-modal": "^3.14.4",
|
2022-03-15 04:31:13 -05:00
|
|
|
"react-phone-number-input": "^3.1.46",
|
2021-07-11 08:08:38 -05:00
|
|
|
"react-router-dom": "^5.2.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-02-20 01:12:07 -05:00
|
|
|
"@jest/types": "^27.5.1",
|
2022-03-11 03:30:22 -05:00
|
|
|
"@parcel/core": "^2.3.2",
|
|
|
|
"@parcel/transformer-sass": "^2.3.2",
|
2022-03-31 00:55:54 -05:00
|
|
|
"@silverhand/eslint-config": "^0.10.2",
|
|
|
|
"@silverhand/eslint-config-react": "^0.10.3",
|
|
|
|
"@silverhand/ts-config": "^0.10.2",
|
|
|
|
"@silverhand/ts-config-react": "^0.10.3",
|
2021-08-01 10:03:14 -05:00
|
|
|
"@testing-library/react": "^12.0.0",
|
2022-02-20 01:12:07 -05:00
|
|
|
"@types/jest": "^27.4.0",
|
2021-07-11 08:08:38 -05:00
|
|
|
"@types/react": "^17.0.14",
|
|
|
|
"@types/react-dom": "^17.0.9",
|
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-02-28 02:21:48 -05:00
|
|
|
"eslint": "^8.10.0",
|
2022-02-20 01:12:07 -05:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
|
|
|
"jest": "^27.5.1",
|
2022-03-15 04:31:13 -05:00
|
|
|
"jest-transform-stub": "^2.0.0",
|
2021-07-25 09:27:51 -05:00
|
|
|
"lint-staged": "^11.1.1",
|
2022-03-11 03:30:22 -05:00
|
|
|
"parcel": "^2.3.2",
|
2022-02-20 01:12:07 -05:00
|
|
|
"postcss": "^8.4.6",
|
|
|
|
"postcss-modules": "^4.3.0",
|
2021-07-11 08:08:38 -05:00
|
|
|
"prettier": "^2.3.2",
|
|
|
|
"stylelint": "^13.13.1",
|
2022-03-11 03:30:22 -05:00
|
|
|
"ts-jest": "^27.0.5",
|
|
|
|
"typescript": "^4.6.2"
|
2022-02-20 01:12:07 -05:00
|
|
|
},
|
|
|
|
"alias": {
|
|
|
|
"@/*": "./src/$1"
|
2021-07-11 08:08:38 -05:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2021-09-16 03:54:32 -05:00
|
|
|
"extends": "@silverhand/react"
|
2021-07-11 08:08:38 -05:00
|
|
|
},
|
|
|
|
"stylelint": {
|
2021-09-16 03:54:32 -05:00
|
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
2021-07-11 08:08:38 -05:00
|
|
|
},
|
2021-09-16 03:54:32 -05:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
2021-07-11 08:08:38 -05:00
|
|
|
}
|