|
1 | 1 | {
|
2 | 2 | "name": "ignore",
|
3 |
| - "version": "7.0.1", |
| 3 | + "version": "7.0.3", |
4 | 4 | "description": "Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.",
|
5 | 5 | "types": "index.d.ts",
|
6 | 6 | "files": [
|
|
16 | 16 | "==================== linting ======================": "",
|
17 | 17 | "lint": "eslint .",
|
18 | 18 |
|
19 |
| - "=================== typescript ====================": "", |
| 19 | + "===================== import ======================": "", |
20 | 20 | "ts": "npm run test:ts && npm run test:16",
|
21 |
| - "test:ts": "ts-node ./test/ts/simple.ts", |
| 21 | + "test:ts": "ts-node ./test/import/simple.ts", |
22 | 22 | "test:16": "npm run test:ts:16 && npm run test:cjs:16 && npm run test:mjs:16",
|
23 |
| - "test:ts:16": "ts-node --compilerOptions '{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ./test/ts/simple.ts", |
24 |
| - "test:cjs:16": "ts-node --compilerOptions '{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ./test/ts/simple.cjs", |
25 |
| - "test:mjs:16": "ts-node --compilerOptions '{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ./test/ts/simple.mjs", |
| 23 | + "test:ts:16": "ts-node --compilerOptions '{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ./test/import/simple.ts && tsc ./test/import/simple.ts --lib ES6 --moduleResolution Node16 --module Node16 && node ./test/import/simple.js", |
| 24 | + "test:cjs:16": "ts-node --compilerOptions '{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ./test/import/simple.cjs", |
| 25 | + "test:mjs:16": "ts-node --compilerOptions '{\"moduleResolution\": \"Node16\", \"module\": \"Node16\"}' ./test/import/simple.mjs && babel -o ./test/import/simple-mjs.js ./test/import/simple.mjs && node ./test/import/simple-mjs.js", |
26 | 26 |
|
27 | 27 | "===================== cases =======================": "",
|
28 | 28 | "test:cases": "npm run tap test/*.test.js -- --coverage",
|
29 | 29 | "tap": "tap --reporter classic",
|
| 30 | + |
| 31 | + "===================== debug =======================": "", |
30 | 32 | "test:git": "npm run tap test/git-check-ignore.test.js",
|
31 | 33 | "test:ignore": "npm run tap test/ignore.test.js",
|
32 | 34 | "test:ignore:only": "IGNORE_ONLY_IGNORES=1 npm run tap test/ignore.test.js",
|
|
0 commit comments