mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
a66abbc251
This reverts commit 7ff8550845
.
70 lines
2.2 KiB
JSON
70 lines
2.2 KiB
JSON
{
|
|
"name": "@logto/ui",
|
|
"version": "0.1.0",
|
|
"license": "MPL-2.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"precommit": "lint-staged",
|
|
"dev:tsc": "tsc -b -w --preserveWatchOutput",
|
|
"dev:razzle": "razzle start",
|
|
"dev": "PORT=5001 concurrently -c \"blue,cyan\" -k -n \"ui:tsc,ui:razzle\" \"pnpm:dev:tsc\" \"pnpm:dev:razzle\"",
|
|
"start": "NODE_ENV=production node build/server.js",
|
|
"build": "tsc -b && razzle build --noninteractive",
|
|
"lint": "eslint --ext .ts --ext .tsx src",
|
|
"stylelint": "stylelint \"src/**/*.scss\"",
|
|
"test": "pnpm -- test:watch --no-watch",
|
|
"test:watch": "razzle test --env=jsdom"
|
|
},
|
|
"dependencies": {
|
|
"@logto/phrases": "^0.1.0",
|
|
"@logto/schemas": "^0.1.0",
|
|
"@ungap/global-this": "^0.4.4",
|
|
"classnames": "^2.3.1",
|
|
"i18next": "^20.3.3",
|
|
"i18next-browser-languagedetector": "^6.1.2",
|
|
"ky": "^0.28.5",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-i18next": "^11.11.3",
|
|
"react-router-dom": "^5.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.14.6",
|
|
"@jest/types": "^27.0.6",
|
|
"@silverhand/eslint-config": "^0.4.0",
|
|
"@silverhand/eslint-config-react": "^0.4.0",
|
|
"@silverhand/ts-config": "^0.4.0",
|
|
"@silverhand/ts-config-react": "^0.4.0",
|
|
"@testing-library/react": "^12.0.0",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/react": "^17.0.14",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@types/react-router-dom": "^5.1.8",
|
|
"@types/webpack": "^4",
|
|
"@types/webpack-env": "^1.16.2",
|
|
"babel-preset-razzle": "4.0.5",
|
|
"concurrently": "^6.2.0",
|
|
"eslint": "^8.1.0",
|
|
"html-webpack-plugin": "^4.5.2",
|
|
"imports-loader": "^3.1.0",
|
|
"lint-staged": "^11.1.1",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"postcss": "^8.3.6",
|
|
"prettier": "^2.3.2",
|
|
"razzle": "^4.0.5",
|
|
"razzle-dev-utils": "^4.0.5",
|
|
"razzle-plugin-scss": "^4.0.5",
|
|
"stylelint": "^13.13.1",
|
|
"typescript": "^4.3.5",
|
|
"webpack": "^5.60.0",
|
|
"webpack-dev-server": "^3.11.2"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand/react"
|
|
},
|
|
"stylelint": {
|
|
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|