|
52 | 52 | "build": "NODE_ENV=production microbundle",
|
53 | 53 | "build-docs": "esdoc",
|
54 | 54 | "build-gh-pages": "npm run build-docs",
|
55 |
| - "ci:build": "npm run build", |
56 |
| - "ci:test": "npm run lint-config && npm run lint && npm run cover", |
57 | 55 | "commit-msg": "commitlint --edit",
|
58 | 56 | "cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test",
|
59 | 57 | "debug": "NODE_ENV=debug npm run test -- -st --fail-fast",
|
|
69 | 67 | "prepare": "npm run build",
|
70 | 68 | "prepublishOnly": "pinst --disable",
|
71 | 69 | "release": "np --message ':hatching_chick: release: Bumping to v%s.'",
|
72 |
| - "test": "ava" |
| 70 | + "test": "npm run test:src", |
| 71 | + "test-cmd": "NODE_LOADER_CONFIG=test/loader/config.js ava", |
| 72 | + "test:cjs": "IMPORT_MAP_PATH=test/import-maps/dist/index.json npm run test-cmd", |
| 73 | + "test:dist": "npm run test:modern && npm run test:module && npm run test:cjs", |
| 74 | + "test:modern": "IMPORT_MAP_PATH=test/import-maps/dist/index.modern.json npm run test-cmd", |
| 75 | + "test:module": "IMPORT_MAP_PATH=test/import-maps/dist/index.module.json npm run test-cmd", |
| 76 | + "test:src": "IMPORT_MAP_PATH=test/import-maps/src/index.json npm run test-cmd" |
73 | 77 | },
|
74 | 78 | "dependencies": {},
|
75 | 79 | "devDependencies": {
|
|
81 | 85 | "@js-library/commitlint-config": "0.0.4",
|
82 | 86 | "@list-abstraction/specification": "10.0.0",
|
83 | 87 | "@node-loader/babel": "2.0.1",
|
| 88 | + "@node-loader/core": "2.0.0", |
| 89 | + "@node-loader/import-maps": "1.1.0", |
84 | 90 | "ava": "4.3.3",
|
85 | 91 | "babel-plugin-transform-remove-console": "6.9.4",
|
86 | 92 | "babel-plugin-unassert": "3.2.0",
|
|
105 | 111 | "test/src/**/*"
|
106 | 112 | ],
|
107 | 113 | "nodeArguments": [
|
108 |
| - "--experimental-loader=@node-loader/babel" |
| 114 | + "--experimental-loader=@node-loader/core" |
109 | 115 | ],
|
110 | 116 | "require": [
|
111 | 117 | "regenerator-runtime/runtime"
|
|
0 commit comments