0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/ui/package.json
2021-07-25 17:41:07 +08:00

79 lines
2.2 KiB
JSON

{
"name": "@logto/ui",
"version": "0.1.0",
"license": "UNLICENSED",
"scripts": {
"dev:tsc": "tsc -b -w --preserveWatchOutput",
"dev:razzle": "razzle start",
"start": "concurrently -c \"blue,cyan\" \"yarn:dev:tsc\" -k \"yarn:dev:razzle\"",
"start:prod": "NODE_ENV=production node build/server.js",
"build": "tsc -b && razzle build",
"lint": "eslint --format pretty --ext .ts --ext .tsx src",
"stylelint": "stylelint \"src/**/*.scss\"",
"test": "razzle test --env=jsdom",
"prepare": "husky install"
},
"dependencies": {
"classnames": "^2.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.2.0"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@logto/eslint-config": "^0.1.0-rc.6",
"@logto/eslint-config-react": "^0.1.0-rc.7",
"@logto/ts-config": "^0.1.0-rc.6",
"@logto/ts-config-react": "^0.1.0-rc.7",
"@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": "^5.28.0",
"@types/webpack-env": "^1.16.2",
"babel-preset-razzle": "4.0.5",
"concurrently": "^6.2.0",
"eslint": "^7.30.0",
"eslint-formatter-pretty": "^4.1.0",
"html-webpack-plugin": "^4.5.2",
"husky": "^7.0.1",
"lint-staged": ">=10",
"mini-css-extract-plugin": "^0.9.0",
"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": "^4.44.1",
"webpack-dev-server": "^3.11.2"
},
"eslintConfig": {
"extends": "@logto/react",
"rules": {
"unicorn/prevent-abbreviations": [
"error",
{
"replacements": {
"props": false
}
}
]
}
},
"stylelint": {
"extends": "@logto/eslint-config-react/.stylelintrc"
},
"prettier": "@logto/eslint-config/.prettierrc",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{ts,tsx}": "eslint --format pretty --cache --fix",
"*.scss": "stylelint --fix"
}
}