|
45 | 45 | "build": "NODE_ENV=production microbundle", |
46 | 46 | "build-docs": "esdoc", |
47 | 47 | "build-gh-pages": "npm run build-docs", |
48 | | - "ci:build": "npm run build", |
49 | | - "ci:test": "npm run lint-config && npm run lint && npm run cover", |
50 | 48 | "commit-msg": "commitlint --edit", |
51 | 49 | "cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test", |
52 | 50 | "debug": "NODE_ENV=debug npm run test -- -st --fail-fast", |
|
62 | 60 | "prepare": "npm run build", |
63 | 61 | "prepublishOnly": "pinst --disable", |
64 | 62 | "release": "np --message ':hatching_chick: release: Bumping to v%s.'", |
65 | | - "test": "ava" |
| 63 | + "test": "npm run test:src", |
| 64 | + "test-cmd": "NODE_LOADER_CONFIG=test/loader/config.js ava", |
| 65 | + "test:cjs": "IMPORT_MAP_PATH=test/import-maps/dist/index.json npm run test-cmd", |
| 66 | + "test:dist": "npm run test:modern && npm run test:module && npm run test:cjs", |
| 67 | + "test:modern": "IMPORT_MAP_PATH=test/import-maps/dist/index.modern.json npm run test-cmd", |
| 68 | + "test:module": "IMPORT_MAP_PATH=test/import-maps/dist/index.module.json npm run test-cmd", |
| 69 | + "test:src": "IMPORT_MAP_PATH=test/import-maps/src/index.json npm run test-cmd" |
66 | 70 | }, |
67 | 71 | "dependencies": {}, |
68 | 72 | "devDependencies": { |
|
77 | 81 | "@iterable-iterator/slice": "1.0.2", |
78 | 82 | "@js-library/commitlint-config": "0.0.4", |
79 | 83 | "@node-loader/babel": "2.0.1", |
| 84 | + "@node-loader/core": "2.0.0", |
| 85 | + "@node-loader/import-maps": "1.0.3", |
80 | 86 | "@randomized/random": "4.1.0", |
81 | 87 | "@set-theory/closure": "1.0.0", |
82 | 88 | "@total-order/lex": "1.0.0", |
|
109 | 115 | ], |
110 | 116 | "timeout": "1m", |
111 | 117 | "nodeArguments": [ |
112 | | - "--experimental-loader=@node-loader/babel" |
| 118 | + "--experimental-loader=@node-loader/core" |
113 | 119 | ] |
114 | 120 | }, |
115 | 121 | "babel": { |
|
0 commit comments