Notes/packages/commons/package.json

48 lines
1.2 KiB
JSON
Raw Normal View History

{
"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.",
"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"
},
"nx": {
2025-04-30 22:28:25 +03:00
"name": "commons",
"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"
}
}