|
47 | 47 | "build": "NODE_ENV=production microbundle", |
48 | 48 | "build-docs": "esdoc", |
49 | 49 | "build-gh-pages": "npm run build-docs", |
50 | | - "ci:build": "npm run build", |
51 | | - "ci:test": "npm run lint-config && npm run lint && npm run cover", |
52 | 50 | "commit-msg": "commitlint --edit", |
53 | 51 | "cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test", |
54 | 52 | "debug": "NODE_ENV=debug npm run test -- -st --fail-fast", |
|
64 | 62 | "prepare": "npm run build", |
65 | 63 | "prepublishOnly": "pinst --disable", |
66 | 64 | "release": "np --message ':hatching_chick: release: Bumping to v%s.'", |
67 | | - "test": "ava" |
| 65 | + "test": "npm run test:src", |
| 66 | + "test-cmd": "NODE_LOADER_CONFIG=test/loader/config.js ava", |
| 67 | + "test:cjs": "IMPORT_MAP_PATH=test/import-maps/dist/index.json npm run test-cmd", |
| 68 | + "test:dist": "npm run test:modern && npm run test:module && npm run test:cjs", |
| 69 | + "test:modern": "IMPORT_MAP_PATH=test/import-maps/dist/index.modern.json npm run test-cmd", |
| 70 | + "test:module": "IMPORT_MAP_PATH=test/import-maps/dist/index.module.json npm run test-cmd", |
| 71 | + "test:src": "IMPORT_MAP_PATH=test/import-maps/src/index.json npm run test-cmd" |
68 | 72 | }, |
69 | 73 | "dependencies": { |
70 | 74 | "@iterable-iterator/cardinality": "^4.0.0", |
|
85 | 89 | "@iterable-iterator/sorted": "^1.0.0", |
86 | 90 | "@js-library/commitlint-config": "0.0.4", |
87 | 91 | "@node-loader/babel": "2.0.1", |
| 92 | + "@node-loader/core": "2.0.0", |
| 93 | + "@node-loader/import-maps": "1.1.0", |
88 | 94 | "@randomized/random": "^4.1.0", |
89 | 95 | "@total-order/primitive": "^1.0.1", |
90 | 96 | "ava": "4.3.3", |
|
112 | 118 | "test/src/**/*" |
113 | 119 | ], |
114 | 120 | "nodeArguments": [ |
115 | | - "--experimental-loader=@node-loader/babel" |
| 121 | + "--experimental-loader=@node-loader/core" |
116 | 122 | ], |
117 | 123 | "require": [ |
118 | 124 | "regenerator-runtime/runtime" |
|
0 commit comments