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",
|
|
|
|
"dev": "PORT=5001 pnpm start",
|
|
|
|
"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",
|
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",
|
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",
|
|
|
|
"@parcel/core": "^2.3.1",
|
|
|
|
"@parcel/transformer-sass": "^2.3.1",
|
2022-02-16 06:06:58 -05:00
|
|
|
"@silverhand/eslint-config": "^0.8.1",
|
|
|
|
"@silverhand/eslint-config-react": "^0.8.1",
|
|
|
|
"@silverhand/ts-config": "^0.8.1",
|
|
|
|
"@silverhand/ts-config-react": "^0.8.1",
|
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-02-20 01:12:07 -05:00
|
|
|
"@types/react-router-dom": "^5.3.2",
|
2021-12-20 01:20:23 -05:00
|
|
|
"eslint": "^8.1.0",
|
2022-02-20 01:12:07 -05:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
|
|
|
"jest": "^27.5.1",
|
2021-07-25 09:27:51 -05:00
|
|
|
"lint-staged": "^11.1.1",
|
2022-02-20 01:12:07 -05:00
|
|
|
"parcel": "^2.3.1",
|
|
|
|
"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-02-20 01:12:07 -05:00
|
|
|
"ts-jest": "^27.0.5"
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|