@fileverse-dev/ddoc 2.0.9 → 2.1.0-patch-2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.0.9",
5
+ "version": "2.1.0-patch-2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -22,13 +22,24 @@
22
22
  "scripts": {
23
23
  "dev": "vite",
24
24
  "build": "tsc && vite build",
25
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
26
- "preview": "vite preview"
25
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
26
+ "preview": "vite preview",
27
+ "prepare": "husky install"
28
+ },
29
+ "lint-staged": {
30
+ "**/*.{js,jsx,ts,tsx}": [
31
+ "eslint --fix",
32
+ "prettier --write"
33
+ ],
34
+ "**/*.{json,css,md}": [
35
+ "prettier --write"
36
+ ]
27
37
  },
28
38
  "dependencies": {
29
39
  "@_ueberdosis/prosemirror-tables": "^1.1.3",
30
40
  "@aarkue/tiptap-math-extension": "^1.3.3",
31
- "@fileverse/ui": "^4.1.3-patch-7",
41
+ "@fileverse-dev/md2slides": "^0.0.8",
42
+ "@fileverse/ui": "4.1.3-patch-8",
32
43
  "@radix-ui/react-focus-scope": "^1.1.0",
33
44
  "@radix-ui/react-popover": "^1.0.7",
34
45
  "@tippyjs/react": "^4.2.6",
@@ -99,9 +110,14 @@
99
110
  "@vitejs/plugin-react": "^4.2.0",
100
111
  "autoprefixer": "^10.4.19",
101
112
  "eslint": "^8.53.0",
113
+ "eslint-config-prettier": "^9.1.0",
114
+ "eslint-plugin-prettier": "^5.2.1",
102
115
  "eslint-plugin-react-hooks": "^4.6.0",
103
116
  "eslint-plugin-react-refresh": "^0.4.4",
117
+ "husky": "^9.1.7",
118
+ "lint-staged": "^15.2.10",
104
119
  "postcss": "^8.4.38",
120
+ "prettier": "^3.4.2",
105
121
  "sass": "^1.77.2",
106
122
  "tailwindcss": "^3.4.3",
107
123
  "typescript": "^5.2.2",