|
50 | 50 | "build": "NODE_ENV=production microbundle", |
51 | 51 | "build-docs": "esdoc", |
52 | 52 | "build-gh-pages": "npm run build-docs", |
53 | | - "ci:build": "npm run build", |
54 | | - "ci:test": "npm run lint-config && npm run lint && npm run cover", |
55 | 53 | "commit-msg": "commitlint --edit", |
56 | 54 | "cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test", |
57 | 55 | "debug": "NODE_ENV=debug npm run test -- -st --fail-fast", |
|
67 | 65 | "prepare": "npm run build", |
68 | 66 | "prepublishOnly": "pinst --disable", |
69 | 67 | "release": "np --message ':hatching_chick: release: Bumping to v%s.'", |
70 | | - "test": "ava" |
| 68 | + "test": "npm run test:src", |
| 69 | + "test-cmd": "NODE_LOADER_CONFIG=test/loader/config.js ava", |
| 70 | + "test:cjs": "IMPORT_MAP_PATH=test/import-maps/dist/index.json npm run test-cmd", |
| 71 | + "test:dist": "npm run test:modern && npm run test:module && npm run test:cjs", |
| 72 | + "test:modern": "IMPORT_MAP_PATH=test/import-maps/dist/index.modern.json npm run test-cmd", |
| 73 | + "test:module": "IMPORT_MAP_PATH=test/import-maps/dist/index.module.json npm run test-cmd", |
| 74 | + "test:src": "IMPORT_MAP_PATH=test/import-maps/src/index.json npm run test-cmd" |
71 | 75 | }, |
72 | 76 | "dependencies": { |
73 | 77 | "@functional-abstraction/predicate": "^4.0.0", |
|
84 | 88 | "@iterable-iterator/zip": "1.0.1", |
85 | 89 | "@js-library/commitlint-config": "0.0.4", |
86 | 90 | "@node-loader/babel": "2.0.1", |
| 91 | + "@node-loader/core": "2.0.0", |
| 92 | + "@node-loader/import-maps": "1.1.0", |
87 | 93 | "ava": "6.1.1", |
88 | 94 | "babel-plugin-transform-remove-console": "6.9.4", |
89 | 95 | "babel-plugin-unassert": "3.2.0", |
|
109 | 115 | "test/src/**/*" |
110 | 116 | ], |
111 | 117 | "nodeArguments": [ |
112 | | - "--experimental-loader=@node-loader/babel" |
| 118 | + "--experimental-loader=@node-loader/core" |
113 | 119 | ], |
114 | 120 | "require": [ |
115 | 121 | "regenerator-runtime/runtime.js" |
|
0 commit comments