|
16 | 16 | "example": "prettier --config ./examples/.prettierrc --plugin lib/src/index.js", |
17 | 17 | "test": "yarn node --experimental-vm-modules $(yarn bin jest)", |
18 | 18 | "type-check": "tsc --noEmit", |
19 | | - "prepublishOnly": "npm run compile && npm run test" |
| 19 | + "prepublishOnly": "npm run compile && npm run test", |
| 20 | + "postinstall": "patch-package" |
20 | 21 | }, |
21 | 22 | "keywords": [ |
22 | 23 | "prettier", |
|
41 | 42 | "lodash": "^4.17.21" |
42 | 43 | }, |
43 | 44 | "devDependencies": { |
44 | | - "@babel/core": "7.26.0", |
| 45 | + "@babel/core": "^7.26.0", |
45 | 46 | "@types/chai": "5.0.1", |
46 | 47 | "@types/jest": "29.5.14", |
47 | 48 | "@types/lodash": "4.17.13", |
48 | | - "@types/node": "22.9.0", |
49 | | - "@vue/compiler-sfc": "^3.5.12", |
| 49 | + "@types/node": "22.9.1", |
| 50 | + "@vue/compiler-sfc": "^3.5.13", |
50 | 51 | "jest": "29.7.0", |
| 52 | + "patch-package": "^8.0.0", |
| 53 | + "postinstall-postinstall": "^2.1.0", |
51 | 54 | "prettier": "3.3.3", |
| 55 | + "prettier-plugin-svelte": "3.3.1", |
| 56 | + "svelte": "^4.2.19", |
52 | 57 | "ts-jest": "29.2.5", |
53 | 58 | "typescript": "5.6.3" |
54 | 59 | }, |
55 | 60 | "peerDependencies": { |
56 | 61 | "@vue/compiler-sfc": "3.x", |
57 | | - "prettier": "2.x - 3.x" |
| 62 | + "prettier": "2.x - 3.x", |
| 63 | + "prettier-plugin-svelte": "3.x", |
| 64 | + "svelte": "4.x" |
58 | 65 | }, |
59 | 66 | "engines": { |
60 | 67 | "node": ">18.12" |
61 | 68 | }, |
62 | 69 | "peerDependenciesMeta": { |
63 | 70 | "@vue/compiler-sfc": { |
64 | 71 | "optional": true |
| 72 | + }, |
| 73 | + "prettier-plugin-svelte": { |
| 74 | + "optional": true |
| 75 | + }, |
| 76 | + "svelte": { |
| 77 | + "optional": true |
65 | 78 | } |
66 | 79 | } |
67 | 80 | } |
0 commit comments