|
57 | 57 | "build": "NODE_ENV=production microbundle",
|
58 | 58 | "build-docs": "esdoc",
|
59 | 59 | "build-gh-pages": "npm run build-docs",
|
60 |
| - "ci:build": "npm run build", |
61 |
| - "ci:test": "npm run lint-config && npm run lint && npm run cover", |
62 | 60 | "commit-msg": "commitlint --edit",
|
63 | 61 | "cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test",
|
64 | 62 | "debug": "NODE_ENV=debug npm run test -- -st --fail-fast",
|
|
74 | 72 | "prepare": "npm run build",
|
75 | 73 | "prepublishOnly": "pinst --disable",
|
76 | 74 | "release": "np --message ':hatching_chick: release: Bumping to v%s.'",
|
77 |
| - "test": "ava" |
| 75 | + "test": "npm run test:src", |
| 76 | + "test-cmd": "NODE_LOADER_CONFIG=test/loader/config.js ava", |
| 77 | + "test:cjs": "IMPORT_MAP_PATH=test/import-maps/dist/index.json npm run test-cmd", |
| 78 | + "test:dist": "npm run test:modern && npm run test:module && npm run test:cjs", |
| 79 | + "test:modern": "IMPORT_MAP_PATH=test/import-maps/dist/index.modern.json npm run test-cmd", |
| 80 | + "test:module": "IMPORT_MAP_PATH=test/import-maps/dist/index.module.json npm run test-cmd", |
| 81 | + "test:src": "IMPORT_MAP_PATH=test/import-maps/src/index.json npm run test-cmd" |
78 | 82 | },
|
79 | 83 | "dependencies": {
|
80 | 84 | "@iterable-iterator/filter": "^1.0.1",
|
|
91 | 95 | "@commitlint/cli": "19.0.3",
|
92 | 96 | "@js-library/commitlint-config": "0.0.4",
|
93 | 97 | "@node-loader/babel": "2.0.1",
|
| 98 | + "@node-loader/core": "2.0.0", |
| 99 | + "@node-loader/import-maps": "1.1.0", |
94 | 100 | "ava": "6.1.2",
|
95 | 101 | "babel-plugin-transform-remove-console": "6.9.4",
|
96 | 102 | "babel-plugin-unassert": "3.2.0",
|
|
116 | 122 | "test/src/**/*"
|
117 | 123 | ],
|
118 | 124 | "nodeArguments": [
|
119 |
| - "--experimental-loader=@node-loader/babel" |
| 125 | + "--experimental-loader=@node-loader/core" |
120 | 126 | ],
|
121 | 127 | "require": [
|
122 | 128 | "regenerator-runtime/runtime.js"
|
|
0 commit comments