|
14 | 14 | "compile": "tsc", |
15 | 15 | "preexample": "yarn run compile", |
16 | 16 | "example": "prettier --config ./examples/.prettierrc --plugin lib/src/index.js", |
17 | | - "test": "jest -i", |
| 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", |
|
33 | 34 | }, |
34 | 35 | "license": "Apache-2.0", |
35 | 36 | "dependencies": { |
36 | | - "@babel/generator": "7.17.7", |
37 | | - "@babel/parser": "^7.20.5", |
38 | | - "@babel/traverse": "7.23.2", |
39 | | - "@babel/types": "7.17.0", |
| 37 | + "@babel/generator": "7.26.2", |
| 38 | + "@babel/parser": "7.26.2", |
| 39 | + "@babel/traverse": "7.25.9", |
| 40 | + "@babel/types": "7.26.0", |
40 | 41 | "javascript-natural-sort": "0.7.1", |
41 | 42 | "lodash": "^4.17.21" |
42 | 43 | }, |
43 | 44 | "devDependencies": { |
44 | | - "@babel/core": "^7.20.7", |
45 | | - "@types/chai": "4.2.15", |
46 | | - "@types/jest": "26.0.20", |
47 | | - "@types/lodash": "4.14.168", |
48 | | - "@types/node": "20.8.6", |
49 | | - "@vue/compiler-sfc": "^3.2.41", |
50 | | - "jest": "26.6.3", |
51 | | - "prettier": "2.8", |
52 | | - "ts-jest": "26.5.3", |
53 | | - "typescript": "4.9.4" |
| 45 | + "@babel/core": "^7.26.0", |
| 46 | + "@types/chai": "5.0.1", |
| 47 | + "@types/jest": "29.5.14", |
| 48 | + "@types/lodash": "4.17.13", |
| 49 | + "@types/node": "22.9.1", |
| 50 | + "@vue/compiler-sfc": "^3.5.13", |
| 51 | + "jest": "29.7.0", |
| 52 | + "patch-package": "^8.0.0", |
| 53 | + "postinstall-postinstall": "^2.1.0", |
| 54 | + "prettier": "3.3.3", |
| 55 | + "prettier-plugin-svelte": "3.3.1", |
| 56 | + "svelte": "^4.2.19", |
| 57 | + "ts-jest": "29.2.5", |
| 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" |
| 65 | + }, |
| 66 | + "engines": { |
| 67 | + "node": ">18.12" |
58 | 68 | }, |
59 | 69 | "peerDependenciesMeta": { |
60 | 70 | "@vue/compiler-sfc": { |
61 | 71 | "optional": true |
| 72 | + }, |
| 73 | + "prettier-plugin-svelte": { |
| 74 | + "optional": true |
| 75 | + }, |
| 76 | + "svelte": { |
| 77 | + "optional": true |
62 | 78 | } |
| 79 | + }, |
| 80 | + "resolutions": { |
| 81 | + "@types/babel__generator": "7.6.8" |
63 | 82 | } |
64 | 83 | } |
0 commit comments