mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-05 03:24:53 +08:00
42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"workspaces": [
|
|
"website"
|
|
],
|
|
"scripts": {
|
|
"archive": "yarn workspace nonebot docusaurus docs:version",
|
|
"build": "yarn workspace nonebot build",
|
|
"build:plugin": "cross-env BASE_URL='/website/' yarn workspace nonebot build",
|
|
"start": "yarn workspace nonebot start",
|
|
"serve": "yarn workspace nonebot serve",
|
|
"clear": "yarn workspace nonebot clear",
|
|
"prettier": "prettier --config ./.prettierrc --write \"./website/\"",
|
|
"lint": "yarn lint:js && yarn lint:style",
|
|
"lint:js": "eslint --cache --report-unused-disable-directives \"**/*.{js,jsx,ts,tsx,mjs}\"",
|
|
"lint:js:fix": "eslint --cache --report-unused-disable-directives --fix \"**/*.{js,jsx,ts,tsx,mjs}\"",
|
|
"lint:style": "stylelint \"**/*.css\"",
|
|
"lint:style:fix": "stylelint --fix \"**/*.css\"",
|
|
"pyright": "pyright"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
|
"@typescript-eslint/parser": "^6.6.0",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.48.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-import-resolver-typescript": "^3.6.0",
|
|
"eslint-plugin-import": "^2.28.1",
|
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-regexp": "^1.15.0",
|
|
"prettier": "^3.0.3",
|
|
"pyright": "^1.1.317",
|
|
"stylelint": "^15.10.3",
|
|
"stylelint-config-standard": "^34.0.0",
|
|
"stylelint-prettier": "^4.0.2"
|
|
}
|
|
}
|