|
1 | 1 | { |
2 | 2 | "name": "pretty-quick", |
3 | 3 | "version": "4.1.1", |
| 4 | + "type": "commonjs", |
4 | 5 | "description": "Get Pretty Quick", |
5 | 6 | "repository": "prettier/pretty-quick", |
6 | 7 | "author": "Lucas Azzola <@azz>", |
7 | 8 | "maintainers": [ |
8 | | - "JounQin (https://www.1stG.me) <admin@1stg.me>" |
| 9 | + "JounQin <admin@1stg.me> (https://www.1stG.me)" |
9 | 10 | ], |
| 11 | + "funding": "https://opencollective.com/pretty-quick", |
10 | 12 | "license": "MIT", |
11 | 13 | "packageManager": "yarn@3.6.4", |
12 | 14 | "engines": { |
13 | 15 | "node": ">=14" |
14 | 16 | }, |
15 | 17 | "bin": "lib/cli.mjs", |
16 | 18 | "main": "lib/index.js", |
17 | | - "module": "lib/index.esm.mjs", |
| 19 | + "types": "lib/index.d.ts", |
| 20 | + "module": "lib/index.mjs", |
18 | 21 | "exports": { |
19 | 22 | ".": { |
20 | | - "types": "./lib/index.d.ts", |
21 | | - "require": "./lib/index.js", |
22 | | - "default": "./lib/index.esm.mjs" |
| 23 | + "import": { |
| 24 | + "types": "./lib/index.d.mts", |
| 25 | + "default": "./lib/index.mjs" |
| 26 | + }, |
| 27 | + "require": { |
| 28 | + "types": "./lib/index.d.ts", |
| 29 | + "default": "./lib/index.js" |
| 30 | + } |
23 | 31 | }, |
24 | 32 | "./*": "./lib/*.js", |
25 | 33 | "./package.json": "./package.json" |
26 | 34 | }, |
27 | | - "types": "lib/index.d.ts", |
28 | 35 | "files": [ |
29 | 36 | "bin", |
30 | 37 | "img", |
|
44 | 51 | ], |
45 | 52 | "scripts": { |
46 | 53 | "build": "run-p 'build:*'", |
47 | | - "build:r": "r -f esm", |
48 | 54 | "build:tsc": "tsc -b", |
| 55 | + "build:tsdown": "tsdown --no-clean -d lib", |
| 56 | + "format": "prettier --write .", |
49 | 57 | "lint": "run-p 'lint:*'", |
50 | 58 | "lint:es": "eslint . --cache", |
51 | 59 | "lint:tsc": "tsc --noEmit", |
|
57 | 65 | "prettier": "^3.0.0" |
58 | 66 | }, |
59 | 67 | "dependencies": { |
60 | | - "find-up": "^5.0.0", |
61 | | - "ignore": "^7.0.3", |
| 68 | + "@pkgr/core": "^0.2.7", |
| 69 | + "ignore": "^7.0.5", |
62 | 70 | "mri": "^1.2.0", |
63 | 71 | "picocolors": "^1.1.1", |
64 | 72 | "picomatch": "^4.0.2", |
65 | | - "tinyexec": "^0.3.2", |
| 73 | + "tinyexec": "^1.0.1", |
66 | 74 | "tslib": "^2.8.1" |
67 | 75 | }, |
68 | 76 | "devDependencies": { |
69 | | - "@1stg/lib-config": "^13.0.0", |
| 77 | + "@1stg/common-config": "^14.1.0", |
70 | 78 | "@changesets/changelog-github": "^0.5.1", |
71 | | - "@changesets/cli": "^2.28.1", |
72 | | - "@commitlint/cli": "^18.6.1", |
73 | | - "@pkgr/rollup": "^6.0.0", |
| 79 | + "@changesets/cli": "^2.29.4", |
| 80 | + "@commitlint/cli": "^19.8.1", |
74 | 81 | "@total-typescript/ts-reset": "^0.6.1", |
75 | 82 | "@types/jest": "^29.5.14", |
76 | 83 | "@types/mock-fs": "^4.13.4", |
77 | | - "@types/picomatch": "^3.0.2", |
| 84 | + "@types/picomatch": "^4.0.0", |
78 | 85 | "@unts/patch-package": "^8.1.1", |
79 | | - "clean-pkg-json": "^1.2.0", |
80 | | - "eslint": "^8.57.1", |
| 86 | + "clean-pkg-json": "^1.3.0", |
| 87 | + "eslint": "^9.28.0", |
81 | 88 | "jest": "^29.7.0", |
82 | | - "lint-staged": "^15.4.3", |
83 | 89 | "mock-fs": "^5.5.0", |
| 90 | + "nano-staged": "^0.8.0", |
84 | 91 | "npm-run-all": "^4.1.5", |
85 | 92 | "prettier": "^3.5.3", |
86 | 93 | "pretty-quick": "link:.", |
87 | | - "simple-git-hooks": "^2.9.0", |
| 94 | + "simple-git-hooks": "^2.13.0", |
88 | 95 | "size-limit": "^11.2.0", |
89 | | - "size-limit-preset-node-lib": "^0.3.0", |
90 | | - "ts-jest": "^29.2.6", |
| 96 | + "size-limit-preset-node-lib": "^0.4.0", |
| 97 | + "ts-jest": "^29.3.4", |
91 | 98 | "ts-node": "^10.9.2", |
92 | | - "typescript": "^5.8.2" |
| 99 | + "tsdown": "^0.12.5", |
| 100 | + "typescript": "^5.8.3" |
93 | 101 | }, |
94 | 102 | "resolutions": { |
95 | | - "prettier": "^3.5.3", |
96 | | - "rollup": "^3.29.5" |
| 103 | + "prettier": "^3.5.3" |
97 | 104 | }, |
98 | 105 | "commitlint": { |
99 | 106 | "extends": "@1stg" |
100 | 107 | }, |
101 | | - "eslintConfig": { |
102 | | - "extends": "@1stg", |
103 | | - "rules": { |
104 | | - "unicorn/prefer-node-protocol": "off" |
105 | | - }, |
106 | | - "overrides": [ |
107 | | - { |
108 | | - "files": "__mocks__/*.*", |
109 | | - "env": { |
110 | | - "jest": true |
111 | | - } |
112 | | - } |
113 | | - ] |
114 | | - }, |
115 | | - "eslintIgnore": [ |
116 | | - "coverage", |
117 | | - "lib", |
118 | | - "!/.*.js" |
119 | | - ], |
120 | 108 | "jest": { |
121 | 109 | "preset": "ts-jest", |
122 | 110 | "testMatch": [ |
|
0 commit comments