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",
|
||||
"version": "8.1.3",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"main": "./dist/cjs/index.js",
|
||||
"module": "./dist/esm/index.js",
|
||||
"types": "./dist/types/index.d.ts",
|
||||
"sideEffects": false,
|
||||
"exports": {
|
||||
".": {
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
"types": "./dist/types/index.d.ts",
|
||||
"default": "./dist/cjs/index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"default": "./dist/index.mjs"
|
||||
"types": "./dist/types/index.d.ts",
|
||||
"default": "./dist/esm/index.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -58,7 +59,7 @@
|
||||
"pretest:e2e": "node scripts/prebuild.mjs",
|
||||
"test:e2e": "cross-env IS_E2E=true vitest run",
|
||||
"test": "vitest run",
|
||||
"build": "tsup-node src/index.ts",
|
||||
"build": "node ../../scripts/build.mjs",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "npm run build -- --watch"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user