mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
69 lines
2 KiB
JSON
69 lines
2 KiB
JSON
{
|
|
"name": "@logto/demo-app",
|
|
"version": "1.0.0-beta.0",
|
|
"description": "Logto demo app.",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"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/phrases": "^1.0.0-beta.0",
|
|
"@logto/react": "^1.0.0-alpha.2",
|
|
"@logto/schemas": "^1.0.0-beta.0",
|
|
"@logto/shared": "^1.0.0-beta.0",
|
|
"@parcel/core": "2.6.2",
|
|
"@parcel/transformer-sass": "2.6.2",
|
|
"@silverhand/eslint-config": "^0.17.0",
|
|
"@silverhand/eslint-config-react": "^0.17.0",
|
|
"@silverhand/ts-config": "^0.17.0",
|
|
"@silverhand/ts-config-react": "^0.17.0",
|
|
"@types/react": "^17.0.14",
|
|
"@types/react-dom": "^17.0.9",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.19.0",
|
|
"i18next": "^21.6.12",
|
|
"i18next-browser-languagedetector": "^6.1.3",
|
|
"lint-staged": "^13.0.0",
|
|
"parcel": "2.6.2",
|
|
"postcss": "^8.4.6",
|
|
"prettier": "^2.3.2",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-i18next": "^11.15.4",
|
|
"stylelint": "^14.8.2",
|
|
"typescript": "^4.7.2"
|
|
},
|
|
"alias": {
|
|
"@/*": "./src/$1"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react",
|
|
"rules": {
|
|
"complexity": "off"
|
|
}
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc",
|
|
"rules": {
|
|
"scss/function-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreFunctions": [
|
|
"/^_./"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|