misc: add cjs path for logger (#15084)
This commit is contained in:
Родитель
8ecbb94050
Коммит
b0a9217284
|
@ -4,7 +4,7 @@
|
|||
|
||||
cli/test/fixtures/byte-efficiency/bundle.js
|
||||
|
||||
/dist/**
|
||||
dist
|
||||
|
||||
coverage/**
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ npm-debug.log
|
|||
.tmp_env
|
||||
.tgz
|
||||
|
||||
/dist
|
||||
dist
|
||||
coverage
|
||||
lcov.info
|
||||
.nyc_output
|
||||
|
|
|
@ -1,8 +1,16 @@
|
|||
{
|
||||
"type": "module",
|
||||
"name": "lighthouse-logger",
|
||||
"version": "1.4.0",
|
||||
"version": "1.4.1",
|
||||
"license": "Apache-2.0",
|
||||
"exports": {
|
||||
"require": "./dist/index.cjs",
|
||||
"import": "./index.js"
|
||||
},
|
||||
"scripts": {
|
||||
"prepack": "yarn build-cjs",
|
||||
"build-cjs": "npx rollup --format=cjs --file=dist/index.cjs -- index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": "^2.6.9",
|
||||
"marky": "^1.2.2"
|
||||
|
|
Загрузка…
Ссылка в новой задаче