mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 07:29:30 +01:00
ui: include both esm and cjs variants in build
This commit is contained in:
6
packages/ui/package-lock.json
generated
6
packages/ui/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@notesnook/ui",
|
||||
"version": "2.0.8",
|
||||
"version": "2.1.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@notesnook/ui",
|
||||
"version": "2.0.8",
|
||||
"version": "2.1.1",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@notesnook/theme": "file:../theme"
|
||||
@@ -48,7 +48,7 @@
|
||||
"@theme-ui/color": "^0.16.1",
|
||||
"@theme-ui/components": "^0.16.1",
|
||||
"@theme-ui/core": "^0.16.1",
|
||||
"@trpc/server": "^10.31.0",
|
||||
"@trpc/server": "^10.45.2",
|
||||
"@types/react": "^18.2.39",
|
||||
"@types/tinycolor2": "^1.4.3",
|
||||
"isomorphic-fetch": "^3.0.0",
|
||||
|
||||
@@ -1,8 +1,20 @@
|
||||
{
|
||||
"name": "@notesnook/ui",
|
||||
"version": "2.0.8",
|
||||
"version": "2.1.1",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"exports": {
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/streetwriters/notesnook.git"
|
||||
@@ -38,8 +50,8 @@
|
||||
"react-dom": ">=18"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build": "tsup-node src/index.ts",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc --watch"
|
||||
"watch": "npm run build -- --watch"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user