|
2 | 2 | "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me/)",
|
3 | 3 | "name": "glob",
|
4 | 4 | "description": "the most correct and second fastest glob implementation in JavaScript",
|
5 |
| - "version": "10.3.3", |
6 |
| - "bin": "./dist/cjs/src/bin.js", |
7 |
| - "repository": { |
8 |
| - "type": "git", |
9 |
| - "url": "git://github.com/isaacs/node-glob.git" |
| 5 | + "version": "10.3.10", |
| 6 | + "type": "module", |
| 7 | + "tshy": { |
| 8 | + "main": true, |
| 9 | + "exports": { |
| 10 | + "./package.json": "./package.json", |
| 11 | + ".": "./src/index.ts" |
| 12 | + } |
10 | 13 | },
|
11 |
| - "main": "./dist/cjs/src/index.js", |
12 |
| - "module": "./dist/mjs/index.js", |
13 |
| - "types": "./dist/mjs/index.d.ts", |
| 14 | + "bin": "./dist/esm/bin.mjs", |
| 15 | + "main": "./dist/commonjs/index.js", |
| 16 | + "types": "./dist/commonjs/index.d.ts", |
14 | 17 | "exports": {
|
| 18 | + "./package.json": "./package.json", |
15 | 19 | ".": {
|
16 | 20 | "import": {
|
17 |
| - "types": "./dist/mjs/index.d.ts", |
18 |
| - "default": "./dist/mjs/index.js" |
| 21 | + "types": "./dist/esm/index.d.ts", |
| 22 | + "default": "./dist/esm/index.js" |
19 | 23 | },
|
20 | 24 | "require": {
|
21 |
| - "types": "./dist/cjs/src/index.d.ts", |
22 |
| - "default": "./dist/cjs/src/index.js" |
| 25 | + "types": "./dist/commonjs/index.d.ts", |
| 26 | + "default": "./dist/commonjs/index.js" |
23 | 27 | }
|
24 | 28 | }
|
25 | 29 | },
|
| 30 | + "repository": { |
| 31 | + "type": "git", |
| 32 | + "url": "git://github.com/isaacs/node-glob.git" |
| 33 | + }, |
26 | 34 | "files": [
|
27 | 35 | "dist"
|
28 | 36 | ],
|
29 | 37 | "scripts": {
|
30 | 38 | "preversion": "npm test",
|
31 | 39 | "postversion": "npm publish",
|
32 | 40 | "prepublishOnly": "git push origin --follow-tags",
|
33 |
| - "preprepare": "rm -rf dist", |
34 |
| - "prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json && bash fixup.sh", |
| 41 | + "prepare": "tshy", |
35 | 42 | "pretest": "npm run prepare",
|
36 | 43 | "presnap": "npm run prepare",
|
37 |
| - "test": "c8 tap", |
38 |
| - "snap": "c8 tap", |
| 44 | + "test": "tap", |
| 45 | + "snap": "tap", |
39 | 46 | "format": "prettier --write . --loglevel warn",
|
40 |
| - "typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts", |
| 47 | + "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts", |
41 | 48 | "prepublish": "npm run benchclean",
|
42 | 49 | "profclean": "rm -f v8.log profile.txt",
|
43 | 50 | "test-regen": "npm run profclean && TEST_REGEN=1 node --no-warnings --loader ts-node/esm test/00-setup.ts",
|
44 | 51 | "prebench": "npm run prepare",
|
45 | 52 | "bench": "bash benchmark.sh",
|
46 | 53 | "preprof": "npm run prepare",
|
47 | 54 | "prof": "bash prof.sh",
|
48 |
| - "benchclean": "node benchclean.js" |
| 55 | + "benchclean": "node benchclean.cjs" |
49 | 56 | },
|
50 | 57 | "prettier": {
|
51 | 58 | "semi": false,
|
|
60 | 67 | },
|
61 | 68 | "dependencies": {
|
62 | 69 | "foreground-child": "^3.1.0",
|
63 |
| - "jackspeak": "^2.0.3", |
| 70 | + "jackspeak": "^2.3.5", |
64 | 71 | "minimatch": "^9.0.1",
|
65 | 72 | "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
|
66 | 73 | "path-scurry": "^1.10.1"
|
67 | 74 | },
|
68 | 75 | "devDependencies": {
|
69 | 76 | "@types/node": "^20.3.2",
|
70 |
| - "@types/tap": "^15.0.7", |
71 |
| - "c8": "^7.12.0", |
72 | 77 | "memfs": "^3.4.13",
|
73 |
| - "mkdirp": "^2.1.4", |
| 78 | + "mkdirp": "^3.0.1", |
74 | 79 | "prettier": "^2.8.3",
|
75 |
| - "rimraf": "^4.1.3", |
76 |
| - "tap": "^16.3.4", |
77 |
| - "ts-node": "^10.9.1", |
78 |
| - "typedoc": "^0.23.24", |
79 |
| - "typescript": "^4.9.4" |
| 80 | + "rimraf": "^5.0.1", |
| 81 | + "sync-content": "^1.0.2", |
| 82 | + "tap": "^18.1.4", |
| 83 | + "tshy": "^1.2.2", |
| 84 | + "typedoc": "^0.25.1", |
| 85 | + "typescript": "^5.2.2" |
80 | 86 | },
|
81 | 87 | "tap": {
|
82 |
| - "before": "test/00-setup.ts", |
83 |
| - "coverage": false, |
84 |
| - "node-arg": [ |
85 |
| - "--no-warnings", |
86 |
| - "--loader", |
87 |
| - "ts-node/esm" |
88 |
| - ], |
89 |
| - "ts": false |
| 88 | + "before": "test/00-setup.ts" |
90 | 89 | },
|
91 | 90 | "license": "ISC",
|
92 | 91 | "funding": {
|
|
0 commit comments