@pickaxeproject/react 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +6 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pickaxeproject/react",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Client utility library for Pickaxe",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,15 +20,6 @@
20
20
  "files": [
21
21
  "dist"
22
22
  ],
23
- "lint-staged": {
24
- "*.{js,jsx,ts,tsx}": [
25
- "eslint --fix",
26
- "prettier --write"
27
- ],
28
- "*.{md,mdx,yml,json}": [
29
- "prettier --write"
30
- ]
31
- },
32
23
  "browserslist": [
33
24
  "> 1%",
34
25
  "not dead",
@@ -49,6 +40,7 @@
49
40
  "@chromatic-com/storybook": "3.2.3",
50
41
  "@mdx-js/react": "^3.1.0",
51
42
  "@nem035/gpt-3-encoder": "^1.1.7",
43
+ "@prettier/plugin-xml": "^3.4.1",
52
44
  "@rollup/plugin-alias": "^5.1.1",
53
45
  "@rollup/plugin-babel": "^6.0.3",
54
46
  "@rollup/plugin-commonjs": "^24.0.0",
@@ -88,7 +80,7 @@
88
80
  "eslint": "8.31.0",
89
81
  "eslint-config-prettier": "^8.6.0",
90
82
  "eslint-plugin-jsx-a11y": "^6.7.1",
91
- "eslint-plugin-prettier": "^4.2.1",
83
+ "eslint-plugin-prettier": "^5.4.0",
92
84
  "eslint-plugin-react": "^7.32.0",
93
85
  "eslint-plugin-react-hooks": "^4.6.0",
94
86
  "eslint-plugin-storybook": "^0.11.2",
@@ -96,10 +88,9 @@
96
88
  "husky": "^8.0.3",
97
89
  "isomorphic-dompurify": "^2.20.0",
98
90
  "katex": "^0.16.19",
99
- "lint-staged": "^13.1.0",
100
91
  "lottie-react": "^2.4.0",
101
92
  "postcss": "^8.4.49",
102
- "prettier": "^2.8.2",
93
+ "prettier": "^3.5.3",
103
94
  "prismjs": "^1.29.0",
104
95
  "react": "^18.2.0",
105
96
  "react-dom": "^18.2.0",
@@ -170,6 +161,8 @@
170
161
  "scripts": {
171
162
  "build": "cross-env NODE_ENV=production rollup -c",
172
163
  "lint": "eslint . --ext .ts,.tsx,.js,.jsx",
164
+ "lint:format": "prettier --check src/**/*",
165
+ "lint:staged": "pnpm run lint && pnpm run lint:format",
173
166
  "format": "prettier --write .",
174
167
  "changeset": "changeset",
175
168
  "release": "changeset publish",