2022-05-29 08:11:58 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/demo-app",
|
2022-09-01 01:11:38 -05:00
|
|
|
"version": "1.0.0-beta.8",
|
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": {
|
|
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
|
|
"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-09-01 01:11:38 -05:00
|
|
|
"@logto/phrases": "^1.0.0-beta.8",
|
2022-09-05 22:37:06 -05:00
|
|
|
"@logto/react": "^1.0.0-beta.3",
|
2022-09-01 01:11:38 -05:00
|
|
|
"@logto/schemas": "^1.0.0-beta.8",
|
|
|
|
"@logto/shared": "^1.0.0-beta.8",
|
2022-08-11 09:54:30 -05:00
|
|
|
"@parcel/core": "2.7.0",
|
|
|
|
"@parcel/transformer-sass": "2.7.0",
|
2022-09-01 04:03:49 -05:00
|
|
|
"@silverhand/eslint-config": "1.0.0",
|
|
|
|
"@silverhand/eslint-config-react": "1.0.0",
|
|
|
|
"@silverhand/ts-config": "1.0.0",
|
|
|
|
"@silverhand/ts-config-react": "1.0.0",
|
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-08-11 09:54:30 -05:00
|
|
|
"parcel": "2.7.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",
|
|
|
|
"typescript": "^4.7.4"
|
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"
|
|
|
|
}
|