mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
logger: include both esm and cjs variants in build
This commit is contained in:
4
packages/logger/package-lock.json
generated
4
packages/logger/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@notesnook/logger",
|
||||
"version": "2.0.7",
|
||||
"version": "2.1.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@notesnook/logger",
|
||||
"version": "2.0.7",
|
||||
"version": "2.1.1",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"devDependencies": {}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,24 @@
|
||||
{
|
||||
"name": "@notesnook/logger",
|
||||
"version": "2.0.7",
|
||||
"version": "2.1.1",
|
||||
"description": "A really simple logger with a pluggable interface.",
|
||||
"main": "dist/index.js",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"prepublishOnly": "npm run build"
|
||||
"build": "tsup-node src/index.ts",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "npm run build -- --watch"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -19,10 +32,5 @@
|
||||
"url": "https://github.com/streetwriters/logger/issues"
|
||||
},
|
||||
"homepage": "https://github.com/streetwriters/logger#readme",
|
||||
"np": {
|
||||
"tests": false,
|
||||
"releaseDraft": false,
|
||||
"message": "chore: bump version to %s"
|
||||
},
|
||||
"devDependencies": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user