mirror of
https://github.com/zadam/trilium.git
synced 2024-11-10 17:13:45 +08:00
98 lines
3 KiB
JSON
98 lines
3 KiB
JSON
{
|
|
"name": "trilium",
|
|
"productName": "Trilium Notes",
|
|
"description": "Trilium Notes",
|
|
"version": "0.47.3",
|
|
"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_ENV=dev node ./src/www",
|
|
"start-electron": "cross-env TRILIUM_ENV=dev electron --inspect=5858 .",
|
|
"build-backend-docs": "./node_modules/.bin/jsdoc -c jsdoc-conf.json -d ./docs/backend_api src/entities/*.js src/services/backend_script_api.js src/services/sql.js",
|
|
"build-frontend-docs": "./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",
|
|
"test-es6": "node -r esm spec-es6/attribute_parser.spec.js ",
|
|
"test-all": "npm run test && npm run test-es6"
|
|
},
|
|
"dependencies": {
|
|
"archiver": "^5.3.0",
|
|
"async-mutex": "0.3.1",
|
|
"axios": "0.21.1",
|
|
"better-sqlite3": "7.1.4",
|
|
"body-parser": "1.19.0",
|
|
"chokidar": "^3.5.1",
|
|
"cls-hooked": "4.2.2",
|
|
"commonmark": "0.29.3",
|
|
"cookie-parser": "1.4.5",
|
|
"csurf": "1.11.0",
|
|
"dayjs": "1.10.5",
|
|
"ejs": "3.1.6",
|
|
"electron-debug": "3.2.0",
|
|
"electron-dl": "3.2.1",
|
|
"electron-find": "1.0.6",
|
|
"electron-window-state": "5.0.3",
|
|
"express": "4.17.1",
|
|
"express-partial-content": "^1.0.2",
|
|
"express-session": "1.17.2",
|
|
"fs-extra": "10.0.0",
|
|
"helmet": "4.6.0",
|
|
"html": "1.0.0",
|
|
"html2plaintext": "2.1.2",
|
|
"http-proxy-agent": "4.0.1",
|
|
"https-proxy-agent": "5.0.0",
|
|
"image-type": "4.1.0",
|
|
"ini": "2.0.0",
|
|
"is-animated": "^2.0.1",
|
|
"is-svg": "4.3.1",
|
|
"jimp": "0.16.1",
|
|
"joplin-turndown-plugin-gfm": "1.0.12",
|
|
"jsdom": "16.6.0",
|
|
"mime-types": "2.1.30",
|
|
"multer": "1.4.2",
|
|
"node-abi": "2.30.0",
|
|
"open": "8.2.0",
|
|
"portscanner": "2.2.0",
|
|
"rand-token": "1.0.1",
|
|
"request": "^2.88.2",
|
|
"rimraf": "3.0.2",
|
|
"sanitize-filename": "1.6.3",
|
|
"sanitize-html": "2.4.0",
|
|
"sax": "1.2.4",
|
|
"semver": "7.3.5",
|
|
"serve-favicon": "2.5.0",
|
|
"session-file-store": "1.5.0",
|
|
"stream-throttle": "^0.1.3",
|
|
"striptags": "3.1.1",
|
|
"tmp": "^0.2.1",
|
|
"turndown": "7.0.0",
|
|
"unescape": "1.0.1",
|
|
"ws": "7.4.6",
|
|
"yauzl": "2.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "7.0.3",
|
|
"electron": "13.0.1",
|
|
"electron-builder": "22.11.3",
|
|
"electron-packager": "15.2.0",
|
|
"electron-rebuild": "2.3.5",
|
|
"esm": "3.2.25",
|
|
"jasmine": "3.7.0",
|
|
"jsdoc": "3.6.7",
|
|
"lorem-ipsum": "2.0.3",
|
|
"rcedit": "3.0.0",
|
|
"webpack": "5.37.1",
|
|
"webpack-cli": "4.7.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"electron-installer-debian": "3.1.0"
|
|
}
|
|
}
|