{ "name": "trilium", "productName": "Trilium Notes", "description": "Trilium Notes", "version": "0.57.1-beta", "license": "AGPL-3.0-only", "main": "electron.js", "bin": { "trilium": "./src/www" }, "repository": { "type": "git", "url": "https://github.com/zadam/trilium.git" }, "scripts": { "start-server": "cross-env TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev node ./src/www", "start-electron": "cross-env TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev electron --inspect=5858 .", "switch-server": "rm -r ./node_modules/better-sqlite3 && npm install", "switch-electron": "rm -r ./node_modules/better-sqlite3 && npm install && ./node_modules/.bin/electron-rebuild", "build-backend-docs": "rm -r ./docs/backend_api && ./node_modules/.bin/jsdoc -c jsdoc-conf.json -d ./docs/backend_api src/becca/entities/*.js src/services/backend_script_api.js src/services/sql.js", "build-frontend-docs": "rm -r ./docs/frontend_api && ./node_modules/.bin/jsdoc -c jsdoc-conf.json -d ./docs/frontend_api src/public/app/entities/*.js src/public/app/services/frontend_script_api.js src/public/app/widgets/collapsible_widget.js", "build-docs": "npm run build-backend-docs && npm run build-frontend-docs", "webpack": "npx webpack -c webpack-desktop.config.js && npx webpack -c webpack-mobile.config.js && npx webpack -c webpack-setup.config.js", "test-jasmine": "jasmine", "test-es6": "node -r esm spec-es6/attribute_parser.spec.js ", "test": "npm run test-jasmine && npm run test-es6", "postinstall": "rimraf ./node_modules/canvas" }, "dependencies": { "@electron/remote": "2.0.8", "@excalidraw/excalidraw": "0.12.0", "archiver": "5.3.1", "async-mutex": "0.4.0", "axios": "1.1.3", "better-sqlite3": "7.4.5", "chokidar": "3.5.3", "cls-hooked": "4.2.2", "commonmark": "0.30.0", "compression": "1.7.4", "cookie-parser": "1.4.6", "csurf": "1.11.0", "dayjs": "1.11.6", "dayjs-plugin-utc": "^0.1.2", "ejs": "3.1.8", "electron-debug": "3.2.0", "electron-dl": "3.4.1", "electron-window-state": "5.0.3", "express": "4.18.2", "express-partial-content": "1.0.2", "express-rate-limit": "6.6.0", "express-session": "1.17.3", "fs-extra": "10.1.0", "helmet": "6.0.0", "html": "1.0.0", "html2plaintext": "2.1.4", "http-proxy-agent": "5.0.0", "https-proxy-agent": "5.0.1", "image-type": "4.1.0", "ini": "3.0.1", "is-animated": "2.0.2", "is-svg": "4.3.2", "jimp": "0.16.2", "joplin-turndown-plugin-gfm": "1.0.12", "jsdom": "20.0.2", "mime-types": "2.1.35", "multer": "1.4.5-lts.1", "node-abi": "3.28.0", "normalize-strings": "1.1.1", "open": "8.4.0", "rand-token": "1.0.1", "react": "17.0.2", "react-dom": "17.0.2", "request": "2.88.2", "rimraf": "3.0.2", "safe-compare": "1.1.4", "sanitize-filename": "1.6.3", "sanitize-html": "2.7.3", "sax": "1.2.4", "semver": "7.3.8", "serve-favicon": "2.5.0", "session-file-store": "1.5.0", "stream-throttle": "0.1.3", "striptags": "3.2.0", "tmp": "0.2.1", "turndown": "7.1.1", "unescape": "1.0.1", "ws": "8.11.0", "yauzl": "2.10.0" }, "devDependencies": { "cross-env": "7.0.3", "electron": "16.2.8", "electron-builder": "23.6.0", "electron-packager": "17.1.1", "electron-rebuild": "3.2.9", "esm": "3.2.25", "jasmine": "4.5.0", "jsdoc": "4.0.0", "lorem-ipsum": "2.0.8", "rcedit": "3.0.1", "webpack": "5.74.0", "webpack-cli": "4.10.0" }, "optionalDependencies": { "electron-installer-debian": "3.1.0" } }