mirror of
https://github.com/dream-num/univer.git
synced 2026-10-02 04:24:34 +08:00
* chore: migrate to eslint 8+ * chore: remove unused deps * fix: fix type check * chore(eslint): add missing rules
73 lines
2.4 KiB
JSON
73 lines
2.4 KiB
JSON
{
|
|
"name": "univer",
|
|
"type": "module",
|
|
"version": "0.1.0-beta.2",
|
|
"private": true,
|
|
"author": "DreamNum Inc. <developer@univer.ai>",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": "^18.17.0",
|
|
"pnpm": "^8.6.2"
|
|
},
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"pre-commit": "lint-staged",
|
|
"dev:demo": "turbo dev:demo",
|
|
"dev:storybook": "storybook dev -p 6006 --no-open",
|
|
"lint:style": "stylelint **/*.less",
|
|
"lint:types": "turbo lint:types",
|
|
"test": "turbo test -- --passWithNoTests",
|
|
"coverage": "turbo coverage -- --passWithNoTests",
|
|
"build": "turbo build",
|
|
"build:demo": "turbo build:demo",
|
|
"build:storybook": "storybook build",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "^2.6.3",
|
|
"@commitlint/cli": "^18.4.3",
|
|
"@commitlint/config-conventional": "^18.4.4",
|
|
"@playwright/test": "^1.40.1",
|
|
"@storybook/addon-docs": "^7.6.7",
|
|
"@storybook/addon-essentials": "^7.6.7",
|
|
"@storybook/addon-interactions": "^7.6.7",
|
|
"@storybook/addon-links": "^7.6.7",
|
|
"@storybook/blocks": "^7.6.7",
|
|
"@storybook/react": "^7.6.7",
|
|
"@storybook/react-vite": "^7.6.7",
|
|
"@storybook/testing-library": "^0.2.2",
|
|
"@types/node": "^20.10.6",
|
|
"@types/react": "^18.2.46",
|
|
"@typescript-eslint/parser": "^6.19.1",
|
|
"@univerjs/design": "workspace:*",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"eslint": "^8.56.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.4.5",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^15.2.0",
|
|
"prettier": "^3.1.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"storybook": "^7.6.7",
|
|
"stylelint": "^15.11.0",
|
|
"stylelint-config-clean-order": "^5.2.0",
|
|
"stylelint-config-prettier": "^9.0.5",
|
|
"stylelint-config-standard": "^34.0.0",
|
|
"stylelint-config-standard-less": "^2.0.0",
|
|
"turbo": "^1.11.2",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"lint-staged": {
|
|
"**/src/**/*.{tsx,ts}": [
|
|
"eslint --fix"
|
|
],
|
|
"**/*.less": [
|
|
"stylelint --fix"
|
|
]
|
|
}
|
|
}
|