Skip to content

Commit

Permalink
fix: exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyrlex committed Jul 3, 2024
1 parent 39a620e commit f8d5cd8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"name": "@countbot/loggage",
"version": "1.0.0",
"version": "1.1.0",
"description": "Simple logging library for Node.js",
"type": "module",
"author": "Rick-vm",
"license": "MIT",
"bugs": {
"url": "https://github.com/Count-Bot/loggage/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/Count-Bot/loggage#readme",
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^8.56.0",
Expand All @@ -17,15 +22,22 @@
"typescript": "^5.4.5",
"typescript-eslint": "^7.15.0"
},
"dependencies": {
"dayjs": "^1.11.11"
},
"exports": {
".": {
"import": "./build/index.js",
"require": "./index.js",
"types": "./index.d.ts"
}
},
"scripts": {
"test:lcov": "npm run build:node && node --import tsx --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info",
"test:spec": "npm run build:node && node --import tsx --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout",
"build:node": "tsc",
"build:ci": "tsc --noEmit",
"preinstall": "npm run build:node",
"lint": "eslint src --cache --fix"
},
"dependencies": {
"dayjs": "^1.11.11"
}
}

0 comments on commit f8d5cd8

Please sign in to comment.