mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"name": "@triliumnext/commons",
|
|
"version": "0.96.0",
|
|
"description": "Shared library between the clients (e.g. browser, Electron) and the server, mostly for type definitions and utility methods.",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./dist/main.js",
|
|
"module": "./dist/main.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"development": "./src/index.ts",
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/main.js",
|
|
"default": "./dist/main.js"
|
|
}
|
|
},
|
|
"license": "AGPL-3.0-only",
|
|
"author": {
|
|
"name": "Trilium Notes Team",
|
|
"email": "contact@eliandoran.me",
|
|
"url": "https://github.com/TriliumNext/Notes"
|
|
},
|
|
"nx": {
|
|
"name": "commons",
|
|
"sourceRoot": "packages/commons/src",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/esbuild:esbuild",
|
|
"outputs": [
|
|
"{options.outputPath}"
|
|
],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"main": "packages/commons/src/index.ts",
|
|
"outputPath": "packages/commons/dist",
|
|
"outputFileName": "main.js",
|
|
"tsConfig": "packages/commons/tsconfig.lib.json",
|
|
"platform": "node",
|
|
"format": [
|
|
"esm"
|
|
],
|
|
"declarationRootDir": "packages/commons/src"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"minify": false
|
|
},
|
|
"production": {
|
|
"minify": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |