mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
72 lines
2.1 KiB
JSON
72 lines
2.1 KiB
JSON
{
|
|
"name": "@logto/demo-app",
|
|
"version": "1.0.1",
|
|
"description": "Logto demo app.",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"start": "parcel src/index.html",
|
|
"dev": "cross-env PORT=5003 parcel src/index.html --public-url /demo-app --no-cache --hmr-port 6003",
|
|
"check": "tsc --noEmit",
|
|
"build": "pnpm check && rm -rf dist && parcel build src/index.html --no-autoinstall --no-cache --public-url /demo-app",
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"stylelint": "stylelint \"src/**/*.scss\""
|
|
},
|
|
"devDependencies": {
|
|
"@logto/core-kit": "workspace:^2.0.0",
|
|
"@logto/language-kit": "workspace:^1.0.0",
|
|
"@logto/phrases": "workspace:^1.2.0",
|
|
"@logto/react": "^2.0.0",
|
|
"@logto/schemas": "workspace:^1.2.3",
|
|
"@parcel/core": "2.8.3",
|
|
"@parcel/transformer-sass": "2.8.3",
|
|
"@silverhand/eslint-config": "3.0.1",
|
|
"@silverhand/eslint-config-react": "3.0.1",
|
|
"@silverhand/ts-config": "3.0.0",
|
|
"@silverhand/ts-config-react": "3.0.0",
|
|
"@types/react": "^18.0.31",
|
|
"@types/react-dom": "^18.0.0",
|
|
"buffer": "^5.7.1",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.34.0",
|
|
"i18next": "^22.4.15",
|
|
"i18next-browser-languagedetector": "^7.0.1",
|
|
"lint-staged": "^13.0.0",
|
|
"parcel": "2.8.3",
|
|
"postcss": "^8.4.6",
|
|
"prettier": "^2.8.2",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0",
|
|
"react-i18next": "^12.2.0",
|
|
"stylelint": "^15.0.0",
|
|
"typescript": "^5.0.0",
|
|
"zod": "^3.20.2"
|
|
},
|
|
"engines": {
|
|
"node": "^18.12.0"
|
|
},
|
|
"//": "https://github.com/parcel-bundler/parcel/issues/7636",
|
|
"targets": {
|
|
"default": {
|
|
"engines": {
|
|
"browsers": "defaults"
|
|
}
|
|
}
|
|
},
|
|
"alias": {
|
|
"@/*": "./src/$1"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react"
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|