2022-05-29 21:11:58 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/demo-app",
|
2024-07-06 09:07:56 +08:00
|
|
|
"version": "1.3.0",
|
2022-05-29 21:11:58 +08:00
|
|
|
"description": "Logto demo app.",
|
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
|
|
"license": "MPL-2.0",
|
2022-07-01 18:47:14 +08:00
|
|
|
"private": true,
|
2023-04-18 21:13:31 +08:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2022-05-29 21:11:58 +08:00
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"start": "parcel src/index.html",
|
2022-06-06 20:06:34 +08:00
|
|
|
"dev": "cross-env PORT=5003 parcel src/index.html --public-url /demo-app --no-cache --hmr-port 6003",
|
2022-05-29 21:11:58 +08:00
|
|
|
"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": {
|
2024-04-10 21:27:24 +08:00
|
|
|
"@logto/core-kit": "workspace:^2.4.0",
|
2024-02-08 13:18:42 +08:00
|
|
|
"@logto/language-kit": "workspace:^1.1.0",
|
2024-07-06 09:07:56 +08:00
|
|
|
"@logto/phrases": "workspace:^1.12.0",
|
2024-07-02 12:32:22 +08:00
|
|
|
"@logto/react": "^3.0.12",
|
2024-07-06 09:07:56 +08:00
|
|
|
"@logto/schemas": "workspace:^1.18.0",
|
2023-10-26 15:18:59 +08:00
|
|
|
"@parcel/core": "2.9.3",
|
|
|
|
"@parcel/transformer-sass": "2.9.3",
|
2024-04-18 12:26:37 +00:00
|
|
|
"@silverhand/eslint-config": "6.0.1",
|
|
|
|
"@silverhand/eslint-config-react": "6.0.2",
|
|
|
|
"@silverhand/ts-config": "6.0.0",
|
|
|
|
"@silverhand/ts-config-react": "6.0.0",
|
2023-03-30 13:36:46 +08:00
|
|
|
"@types/react": "^18.0.31",
|
2022-08-05 15:50:31 +08:00
|
|
|
"@types/react-dom": "^18.0.0",
|
2024-06-21 06:30:30 +00:00
|
|
|
"buffer": "^6.0.0",
|
2022-06-06 20:06:34 +08:00
|
|
|
"cross-env": "^7.0.3",
|
2024-04-18 12:26:37 +00:00
|
|
|
"eslint": "^8.56.0",
|
2023-04-21 18:21:09 +08:00
|
|
|
"i18next": "^22.4.15",
|
2024-06-04 12:42:03 +08:00
|
|
|
"i18next-browser-languagedetector": "^8.0.0",
|
2024-07-12 20:53:42 +08:00
|
|
|
"jose": "^5.6.3",
|
2023-10-26 09:55:47 +08:00
|
|
|
"lint-staged": "^15.0.0",
|
2023-10-26 15:18:59 +08:00
|
|
|
"parcel": "2.9.3",
|
2023-10-09 07:30:06 +00:00
|
|
|
"postcss": "^8.4.31",
|
2023-07-08 01:17:21 +08:00
|
|
|
"prettier": "^3.0.0",
|
2022-08-05 06:13:30 +00:00
|
|
|
"react": "^18.0.0",
|
|
|
|
"react-dom": "^18.0.0",
|
2023-05-30 06:03:18 +00:00
|
|
|
"react-i18next": "^12.3.1",
|
2023-02-16 11:09:03 +08:00
|
|
|
"stylelint": "^15.0.0",
|
2023-12-22 15:16:49 +08:00
|
|
|
"typescript": "^5.3.3",
|
2024-07-12 20:56:01 +08:00
|
|
|
"zod": "^3.23.8"
|
2022-05-29 21:11:58 +08:00
|
|
|
},
|
2022-11-06 00:29:28 +08:00
|
|
|
"engines": {
|
2023-12-11 09:10:53 +08:00
|
|
|
"node": "^20.9.0"
|
2022-11-06 00:29:28 +08:00
|
|
|
},
|
2022-11-07 21:40:09 +08:00
|
|
|
"//": "https://github.com/parcel-bundler/parcel/issues/7636",
|
|
|
|
"targets": {
|
|
|
|
"default": {
|
|
|
|
"engines": {
|
|
|
|
"browsers": "defaults"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-05-29 21:11:58 +08:00
|
|
|
"alias": {
|
|
|
|
"@/*": "./src/$1"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2023-02-16 23:49:03 +08:00
|
|
|
"extends": "@silverhand/react"
|
2022-05-29 21:11:58 +08:00
|
|
|
},
|
|
|
|
"stylelint": {
|
2022-08-05 13:58:31 +08:00
|
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
2022-05-29 21:11:58 +08:00
|
|
|
},
|
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
|
|
}
|