|
1 | 1 | {
|
2 |
| - "name": "import-meta-resolve", |
3 |
| - "version": "4.1.0", |
4 |
| - "description": "Resolve things like Node.js — ponyfill for `import.meta.resolve`", |
5 |
| - "license": "MIT", |
6 |
| - "keywords": [ |
7 |
| - "resolve", |
8 |
| - "node", |
9 |
| - "esm", |
10 |
| - "module" |
11 |
| - ], |
12 |
| - "repository": "wooorm/import-meta-resolve", |
13 |
| - "bugs": "https://github.com/wooorm/import-meta-resolve/issues", |
14 |
| - "funding": { |
15 |
| - "type": "github", |
16 |
| - "url": "https://github.com/sponsors/wooorm" |
17 |
| - }, |
18 | 2 | "author": "Titus Wormer <[email protected]> (https://wooorm.com)",
|
| 3 | + "bugs": "https://github.com/wooorm/import-meta-resolve/issues", |
19 | 4 | "contributors": [
|
20 | 5 | "Titus Wormer <[email protected]> (https://wooorm.com)"
|
21 | 6 | ],
|
22 |
| - "sideEffects": false, |
23 |
| - "type": "module", |
24 |
| - "main": "index.js", |
25 |
| - "types": "index.d.ts", |
26 |
| - "files": [ |
27 |
| - "lib/", |
28 |
| - "index.d.ts", |
29 |
| - "index.js" |
30 |
| - ], |
| 7 | + "description": "Resolve things like Node.js — ponyfill for `import.meta.resolve`", |
31 | 8 | "devDependencies": {
|
32 | 9 | "@types/node": "^24.0.0",
|
33 | 10 | "@types/semver": "^7.0.0",
|
|
41 | 18 | "typescript": "^5.0.0",
|
42 | 19 | "xo": "^1.0.0"
|
43 | 20 | },
|
44 |
| - "scripts": { |
45 |
| - "prepack": "npm run generate && npm run build && npm run format", |
46 |
| - "generate": "node --conditions development script.js", |
47 |
| - "build": "tsc --build --clean && tsc --build && type-coverage", |
48 |
| - "format": "remark . -qfo && prettier . -w --log-level warn && xo --fix", |
49 |
| - "test-api": "node --experimental-import-meta-resolve test/baseline.js && node --experimental-import-meta-resolve test/baseline-async.js && node test/index.js", |
50 |
| - "test-coverage": "c8 --check-coverage --branches 75 --functions 75 --lines 75 --statements 75 --reporter lcov npm run test-api", |
51 |
| - "test": "npm run generate && npm run build && npm run format && npm run test-coverage" |
| 21 | + "files": [ |
| 22 | + "lib/", |
| 23 | + "index.d.ts", |
| 24 | + "index.js" |
| 25 | + ], |
| 26 | + "funding": { |
| 27 | + "type": "github", |
| 28 | + "url": "https://github.com/sponsors/wooorm" |
52 | 29 | },
|
| 30 | + "keywords": [ |
| 31 | + "esm", |
| 32 | + "module", |
| 33 | + "node", |
| 34 | + "resolve" |
| 35 | + ], |
| 36 | + "license": "MIT", |
| 37 | + "main": "index.js", |
| 38 | + "name": "import-meta-resolve", |
53 | 39 | "prettier": {
|
54 |
| - "tabWidth": 2, |
55 |
| - "useTabs": false, |
56 |
| - "singleQuote": true, |
57 | 40 | "bracketSpacing": false,
|
58 | 41 | "semi": false,
|
59 |
| - "trailingComma": "none" |
| 42 | + "singleQuote": true, |
| 43 | + "tabWidth": 2, |
| 44 | + "trailingComma": "none", |
| 45 | + "useTabs": false |
60 | 46 | },
|
61 | 47 | "remarkConfig": {
|
62 | 48 | "plugins": [
|
63 |
| - "preset-wooorm", |
| 49 | + "remark-preset-wooorm", |
64 | 50 | [
|
65 | 51 | "remark-lint-maximum-heading-length",
|
66 | 52 | false
|
67 | 53 | ]
|
68 | 54 | ]
|
69 | 55 | },
|
| 56 | + "repository": "wooorm/import-meta-resolve", |
| 57 | + "scripts": { |
| 58 | + "build": "tsc --build --clean && tsc --build && type-coverage", |
| 59 | + "format": "remark --frail --quiet --output -- . && prettier --write --log-level warn -- . && xo --fix", |
| 60 | + "generate": "node --conditions development script.js", |
| 61 | + "prepack": "npm run generate && npm run build && npm run format", |
| 62 | + "test-api": "node --experimental-import-meta-resolve test/baseline.js && node --experimental-import-meta-resolve test/baseline-async.js && node test/index.js", |
| 63 | + "test-coverage": "c8 --branches 75 --functions 75 --lines 75 --statements 75 --reporter lcov -- npm run test-api", |
| 64 | + "test": "npm run generate && npm run build && npm run format && npm run test-coverage" |
| 65 | + }, |
| 66 | + "sideEffects": false, |
70 | 67 | "typeCoverage": {
|
71 | 68 | "atLeast": 100,
|
72 |
| - "detail": true, |
73 | 69 | "strict": true,
|
74 |
| - "ignoreCatch": true, |
75 | 70 | "ignoreFiles": [
|
76 | 71 | "lib/errors.d.ts"
|
77 | 72 | ]
|
78 |
| - } |
| 73 | + }, |
| 74 | + "types": "index.d.ts", |
| 75 | + "type": "module", |
| 76 | + "version": "4.1.0" |
79 | 77 | }
|
0 commit comments