mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
core: use tsc instead of tsup for builds
This commit is contained in:
committed by
Abdullah Atta
parent
0a02431f6a
commit
02008ad098
@@ -2,18 +2,19 @@
|
|||||||
"name": "@notesnook/core",
|
"name": "@notesnook/core",
|
||||||
"version": "8.1.3",
|
"version": "8.1.3",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/cjs/index.js",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/esm/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/types/index.d.ts",
|
||||||
|
"sideEffects": false,
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"require": {
|
"require": {
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/types/index.d.ts",
|
||||||
"default": "./dist/index.js"
|
"default": "./dist/cjs/index.js"
|
||||||
},
|
},
|
||||||
"import": {
|
"import": {
|
||||||
"types": "./dist/index.d.mts",
|
"types": "./dist/types/index.d.ts",
|
||||||
"default": "./dist/index.mjs"
|
"default": "./dist/esm/index.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -58,7 +59,7 @@
|
|||||||
"pretest:e2e": "node scripts/prebuild.mjs",
|
"pretest:e2e": "node scripts/prebuild.mjs",
|
||||||
"test:e2e": "cross-env IS_E2E=true vitest run",
|
"test:e2e": "cross-env IS_E2E=true vitest run",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"build": "tsup-node src/index.ts",
|
"build": "node ../../scripts/build.mjs",
|
||||||
"prepublishOnly": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
"watch": "npm run build -- --watch"
|
"watch": "npm run build -- --watch"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user