{ "name": "@logto/ui", "version": "0.1.0", "license": "MPL-2.0", "private": true, "scripts": { "preinstall": "npx only-allow pnpm", "precommit": "lint-staged", "start": "parcel src/index.html", "dev": "PORT=5001 parcel src/index.html --no-cache --hmr-port 6001", "check": "tsc --noEmit", "build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall --no-cache", "lint": "eslint --ext .ts --ext .tsx src", "lint:report": "pnpm lint --format json --output-file report.json", "stylelint": "stylelint \"src/**/*.scss\"", "test": "jest" }, "devDependencies": { "@logto/jest-config": "^0.1.0", "@logto/phrases": "^0.1.0", "@logto/schemas": "^0.1.0", "@parcel/core": "^2.5.0", "@parcel/transformer-sass": "^2.5.0", "@peculiar/webcrypto": "^1.3.3", "@silverhand/eslint-config": "^0.12.0", "@silverhand/eslint-config-react": "^0.11.0", "@silverhand/essentials": "^1.1.7", "@silverhand/ts-config": "^0.11.0", "@silverhand/ts-config-react": "^0.11.0", "@testing-library/react": "^12.0.0", "@types/jest": "^27.4.1", "@types/react": "^17.0.14", "@types/react-dom": "^17.0.9", "@types/react-modal": "^3.13.1", "@types/react-router-dom": "^5.3.2", "classnames": "^2.3.1", "eslint": "^8.10.0", "i18next": "^21.6.12", "i18next-browser-languagedetector": "^6.1.3", "jest": "^27.5.1", "js-base64": "^3.7.2", "ky": "^0.30.0", "libphonenumber-js": "^1.9.49", "lint-staged": "^12.0.0", "parcel": "^2.5.0", "postcss": "^8.4.6", "postcss-modules": "^4.3.0", "prettier": "^2.3.2", "react": "^17.0.2", "react-dom": "^17.0.2", "react-i18next": "^11.15.4", "react-modal": "^3.14.4", "react-phone-number-input": "^3.1.46", "react-router-dom": "^6.2.2", "react-string-replace": "^1.0.0", "react-timer-hook": "^3.0.5", "stylelint": "^13.13.1", "typescript": "^4.6.2" }, "alias": { "@/*": "./src/$1" }, "eslintConfig": { "extends": "@silverhand/react", "rules": { "complexity": "off" } }, "stylelint": { "extends": "@silverhand/eslint-config-react/.stylelintrc", "rules": { "selector-pseudo-class-no-unknown": [ true, { "ignorePseudoClasses": [ "global" ] } ] } }, "prettier": "@silverhand/eslint-config/.prettierrc", "dependencies": { "react-device-detect": "^2.2.2", "use-debounced-loader": "^0.1.1" } }