2022-05-29 08:11:58 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/demo-app",
|
2022-10-19 03:28:21 -05:00
|
|
|
"version": "1.0.0-beta.12",
|
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-11-22 03:47:17 -05:00
|
|
|
"@logto/core-kit": "1.0.0-beta.25",
|
|
|
|
"@logto/language-kit": "1.0.0-beta.24",
|
2022-10-21 00:59:08 -05:00
|
|
|
"@logto/phrases": "workspace:^",
|
2022-11-08 09:11:03 -05:00
|
|
|
"@logto/react": "1.0.0-beta.13",
|
2022-10-21 00:59:08 -05:00
|
|
|
"@logto/schemas": "workspace:^",
|
2022-11-22 03:47:17 -05:00
|
|
|
"@parcel/core": "2.8.0",
|
|
|
|
"@parcel/transformer-sass": "2.8.0",
|
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-11-22 03:47:17 -05:00
|
|
|
"parcel": "2.8.0",
|
2022-05-29 08:11:58 -05:00
|
|
|
"postcss": "^8.4.6",
|
2022-08-05 00:58:31 -05:00
|
|
|
"prettier": "^2.7.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-11-22 03:47:17 -05:00
|
|
|
"typescript": "^4.7.4",
|
|
|
|
"zod": "^3.19.1"
|
2022-05-29 08:11:58 -05:00
|
|
|
},
|
2022-11-05 11:29:28 -05:00
|
|
|
"engines": {
|
|
|
|
"node": "^16.13.0 || ^18.12.0"
|
|
|
|
},
|
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"
|
|
|
|
}
|