|
46 | 46 | "build": "NODE_ENV=production microbundle",
|
47 | 47 | "build-docs": "esdoc",
|
48 | 48 | "build-gh-pages": "npm run build-docs",
|
49 |
| - "ci:build": "npm run build", |
50 | 49 | "commit-msg": "commitlint --edit",
|
51 | 50 | "cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test",
|
52 | 51 | "debug": "NODE_ENV=debug npm run test -- -st --fail-fast",
|
|
62 | 61 | "prepare": "npm run build",
|
63 | 62 | "prepublishOnly": "pinst --disable",
|
64 | 63 | "release": "np --message ':hatching_chick: release: Bumping to v%s.'",
|
65 |
| - "test": "ava" |
| 64 | + "test": "npm run test:src", |
| 65 | + "test-cmd": "NODE_LOADER_CONFIG=test/loader/config.js ava", |
| 66 | + "test:cjs": "IMPORT_MAP_PATH=test/import-maps/dist/index.json npm run test-cmd", |
| 67 | + "test:dist": "npm run test:modern && npm run test:module && npm run test:cjs", |
| 68 | + "test:modern": "IMPORT_MAP_PATH=test/import-maps/dist/index.modern.json npm run test-cmd", |
| 69 | + "test:module": "IMPORT_MAP_PATH=test/import-maps/dist/index.module.json npm run test-cmd", |
| 70 | + "test:src": "IMPORT_MAP_PATH=test/import-maps/src/index.json npm run test-cmd" |
66 | 71 | },
|
67 | 72 | "dependencies": {
|
68 | 73 | "@async-iterable-iterator/async-iterator-to-array": "^0.0.1"
|
|
73 | 78 | "@commitlint/cli": "18.6.0",
|
74 | 79 | "@js-library/commitlint-config": "0.0.4",
|
75 | 80 | "@node-loader/babel": "2.0.1",
|
| 81 | + "@node-loader/core": "2.0.0", |
| 82 | + "@node-loader/import-maps": "1.1.0", |
76 | 83 | "ava": "6.1.1",
|
77 | 84 | "babel-plugin-transform-remove-console": "6.9.4",
|
78 | 85 | "babel-plugin-unassert": "3.2.0",
|
|
98 | 105 | "test/src/**/*"
|
99 | 106 | ],
|
100 | 107 | "nodeArguments": [
|
101 |
| - "--experimental-loader=@node-loader/babel" |
| 108 | + "--experimental-loader=@node-loader/core" |
102 | 109 | ],
|
103 | 110 | "require": [
|
104 | 111 | "regenerator-runtime/runtime.js"
|
|
0 commit comments