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