2022-05-29 08:11:58 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/demo-app",
|
2023-01-01 06:55:54 -05:00
|
|
|
"version": "1.0.0-beta.13",
|
2022-05-29 08:11:58 -05:00
|
|
|
"description": "Logto demo app.",
|
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
|
|
"license": "MPL-2.0",
|
2022-07-01 05:47:14 -05:00
|
|
|
"private": true,
|
2022-05-29 08:11:58 -05:00
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"start": "parcel src/index.html",
|
2022-06-06 07:06:34 -05:00
|
|
|
"dev": "cross-env PORT=5003 parcel src/index.html --public-url /demo-app --no-cache --hmr-port 6003",
|
2022-05-29 08:11:58 -05: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": {
|
2022-12-14 00:23:59 -05:00
|
|
|
"@logto/core-kit": "workspace:*",
|
|
|
|
"@logto/language-kit": "workspace:*",
|
2022-12-07 08:39:32 -05:00
|
|
|
"@logto/phrases": "workspace:*",
|
2022-12-12 08:51:01 -05:00
|
|
|
"@logto/react": "1.0.0-beta.14",
|
2022-12-07 08:39:32 -05:00
|
|
|
"@logto/schemas": "workspace:*",
|
2022-12-21 21:43:38 -05:00
|
|
|
"@parcel/core": "2.8.2",
|
|
|
|
"@parcel/transformer-sass": "2.8.2",
|
2022-10-20 21:17:09 -05:00
|
|
|
"@silverhand/eslint-config": "1.3.0",
|
|
|
|
"@silverhand/eslint-config-react": "1.3.0",
|
2022-10-13 22:46:33 -05:00
|
|
|
"@silverhand/ts-config": "1.2.1",
|
|
|
|
"@silverhand/ts-config-react": "1.2.1",
|
2022-08-05 02:50:31 -05:00
|
|
|
"@types/react": "^18.0.0",
|
|
|
|
"@types/react-dom": "^18.0.0",
|
2022-06-06 07:06:34 -05:00
|
|
|
"cross-env": "^7.0.3",
|
2022-08-05 00:58:31 -05:00
|
|
|
"eslint": "^8.21.0",
|
2022-08-05 11:47:58 -05:00
|
|
|
"i18next": "^21.8.16",
|
|
|
|
"i18next-browser-languagedetector": "^6.1.4",
|
2022-06-02 00:19:09 -05:00
|
|
|
"lint-staged": "^13.0.0",
|
2022-12-21 21:43:38 -05:00
|
|
|
"parcel": "2.8.2",
|
2022-05-29 08:11:58 -05:00
|
|
|
"postcss": "^8.4.6",
|
2022-12-22 03:52:39 -05:00
|
|
|
"prettier": "^2.8.1",
|
2022-08-05 01:13:30 -05:00
|
|
|
"react": "^18.0.0",
|
|
|
|
"react-dom": "^18.0.0",
|
2022-08-05 11:47:58 -05:00
|
|
|
"react-i18next": "^11.18.3",
|
2022-08-05 00:58:31 -05:00
|
|
|
"stylelint": "^14.9.1",
|
2022-12-12 08:15:09 -05:00
|
|
|
"typescript": "^4.9.4",
|
2022-12-14 00:23:59 -05:00
|
|
|
"zod": "^3.20.2"
|
2022-05-29 08:11:58 -05:00
|
|
|
},
|
2022-11-05 11:29:28 -05:00
|
|
|
"engines": {
|
2023-01-07 07:42:10 -05:00
|
|
|
"node": "^18.12.0"
|
2022-11-05 11:29:28 -05:00
|
|
|
},
|
2022-11-07 08:40:09 -05:00
|
|
|
"//": "https://github.com/parcel-bundler/parcel/issues/7636",
|
|
|
|
"targets": {
|
|
|
|
"default": {
|
|
|
|
"engines": {
|
|
|
|
"browsers": "defaults"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-05-29 08:11:58 -05:00
|
|
|
"alias": {
|
|
|
|
"@/*": "./src/$1"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "@silverhand/react",
|
|
|
|
"rules": {
|
|
|
|
"complexity": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"stylelint": {
|
2022-08-05 00:58:31 -05:00
|
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
2022-05-29 08:11:58 -05:00
|
|
|
},
|
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
|
|
}
|