2025-04-22 14:45:25 +03:00
|
|
|
{
|
|
|
|
"name": "@triliumnext/commons",
|
|
|
|
"version": "0.0.1",
|
2025-04-28 23:31:58 +03:00
|
|
|
"description": "Shared library between the clients (e.g. browser, Electron) and the server, mostly for type definitions and utility methods.",
|
2025-04-22 14:45:25 +03:00
|
|
|
"private": true,
|
|
|
|
"type": "module",
|
|
|
|
"main": "./dist/index.js",
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"exports": {
|
|
|
|
"./package.json": "./package.json",
|
|
|
|
".": {
|
|
|
|
"development": "./src/index.ts",
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"import": "./dist/index.js",
|
|
|
|
"default": "./dist/index.js"
|
|
|
|
}
|
|
|
|
},
|
2025-04-28 23:31:58 +03:00
|
|
|
"license": "AGPL-3.0-only",
|
|
|
|
"author": {
|
|
|
|
"name": "TriliumNext Notes Team",
|
|
|
|
"email": "contact@eliandoran.me",
|
|
|
|
"url": "https://github.com/TriliumNext/Notes"
|
|
|
|
},
|
2025-04-22 14:45:25 +03:00
|
|
|
"nx": {
|
2025-04-30 22:28:25 +03:00
|
|
|
"name": "commons",
|
2025-04-22 14:45:25 +03:00
|
|
|
"sourceRoot": "packages/commons/src",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
|
|
|
"executor": "@nx/js:swc",
|
|
|
|
"outputs": [
|
|
|
|
"{options.outputPath}"
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"outputPath": "packages/commons/dist",
|
|
|
|
"main": "packages/commons/src/index.ts",
|
|
|
|
"tsConfig": "packages/commons/tsconfig.lib.json",
|
|
|
|
"skipTypeCheck": true,
|
|
|
|
"stripLeadingPaths": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@swc/helpers": "~0.5.11"
|
|
|
|
}
|
|
|
|
}
|