2017-10-15 11:31:44 +08:00
|
|
|
{
|
|
|
|
"name": "trilium",
|
2018-11-20 00:16:22 +08:00
|
|
|
"productName": "Trilium Notes",
|
2017-12-27 01:55:40 +08:00
|
|
|
"description": "Trilium Notes",
|
2021-11-24 04:53:32 +08:00
|
|
|
"version": "0.48.7",
|
2018-01-05 10:37:36 +08:00
|
|
|
"license": "AGPL-3.0-only",
|
2018-01-31 21:03:25 +08:00
|
|
|
"main": "electron.js",
|
2018-07-06 06:05:06 +08:00
|
|
|
"bin": {
|
|
|
|
"trilium": "./src/www"
|
|
|
|
},
|
2018-01-05 10:37:36 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/zadam/trilium.git"
|
|
|
|
},
|
2017-10-15 11:31:44 +08:00
|
|
|
"scripts": {
|
2020-05-29 18:01:20 +08:00
|
|
|
"start-server": "cross-env TRILIUM_ENV=dev node ./src/www",
|
2021-03-24 05:18:23 +08:00
|
|
|
"start-electron": "cross-env TRILIUM_ENV=dev electron --inspect=5858 .",
|
2021-11-11 04:30:54 +08:00
|
|
|
"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",
|
2020-04-12 20:22:51 +08:00
|
|
|
"build-docs": "npm run build-backend-docs && npm run build-frontend-docs",
|
2020-05-18 01:43:37 +08:00
|
|
|
"webpack": "npx webpack -c webpack-desktop.config.js && npx webpack -c webpack-mobile.config.js && npx webpack -c webpack-setup.config.js",
|
2020-06-04 06:04:57 +08:00
|
|
|
"test": "jasmine",
|
2020-08-15 04:30:01 +08:00
|
|
|
"test-es6": "node -r esm spec-es6/attribute_parser.spec.js ",
|
|
|
|
"test-all": "npm run test && npm run test-es6"
|
2017-10-15 11:31:44 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-07-20 19:29:11 +08:00
|
|
|
"archiver": "5.3.0",
|
2021-09-01 03:54:42 +08:00
|
|
|
"async-mutex": "0.3.2",
|
2021-11-16 04:23:19 +08:00
|
|
|
"axios": "0.24.0",
|
2021-11-21 17:40:48 +08:00
|
|
|
"better-sqlite3": "7.4.5",
|
2019-05-09 02:19:31 +08:00
|
|
|
"body-parser": "1.19.0",
|
2021-06-25 05:50:56 +08:00
|
|
|
"chokidar": "3.5.2",
|
2018-08-24 05:42:47 +08:00
|
|
|
"cls-hooked": "4.2.2",
|
2021-06-25 05:50:56 +08:00
|
|
|
"commonmark": "0.30.0",
|
2021-11-17 05:43:08 +08:00
|
|
|
"cookie-parser": "1.4.6",
|
2020-01-20 01:05:06 +08:00
|
|
|
"csurf": "1.11.0",
|
2021-09-11 20:34:37 +08:00
|
|
|
"dayjs": "1.10.7",
|
2021-02-08 04:50:34 +08:00
|
|
|
"ejs": "3.1.6",
|
2020-12-24 04:03:01 +08:00
|
|
|
"electron-debug": "3.2.0",
|
2021-11-16 04:23:19 +08:00
|
|
|
"electron-dl": "3.3.0",
|
2021-07-20 19:29:11 +08:00
|
|
|
"electron-find": "1.0.7",
|
2019-03-28 04:04:25 +08:00
|
|
|
"electron-window-state": "5.0.3",
|
2019-06-11 05:00:50 +08:00
|
|
|
"express": "4.17.1",
|
2021-04-18 04:35:47 +08:00
|
|
|
"express-partial-content": "^1.0.2",
|
2021-11-16 04:23:19 +08:00
|
|
|
"express-rate-limit": "5.5.1",
|
2021-05-22 18:26:45 +08:00
|
|
|
"express-session": "1.17.2",
|
2021-05-08 17:20:20 +08:00
|
|
|
"fs-extra": "10.0.0",
|
|
|
|
"helmet": "4.6.0",
|
2018-08-24 05:42:47 +08:00
|
|
|
"html": "1.0.0",
|
2021-11-21 17:40:48 +08:00
|
|
|
"html2plaintext": "2.1.4",
|
2021-09-24 04:08:23 +08:00
|
|
|
"http-proxy-agent": "5.0.0",
|
2020-02-08 17:40:58 +08:00
|
|
|
"https-proxy-agent": "5.0.0",
|
2019-05-09 02:19:31 +08:00
|
|
|
"image-type": "4.1.0",
|
2020-12-15 05:12:26 +08:00
|
|
|
"ini": "2.0.0",
|
2021-01-29 03:17:57 +08:00
|
|
|
"is-animated": "^2.0.1",
|
2021-11-25 04:27:55 +08:00
|
|
|
"is-svg": "4.3.2",
|
2020-08-29 04:04:35 +08:00
|
|
|
"jimp": "0.16.1",
|
2021-03-28 07:07:38 +08:00
|
|
|
"joplin-turndown-plugin-gfm": "1.0.12",
|
2021-12-06 04:50:02 +08:00
|
|
|
"jsdom": "19.0.0",
|
2021-11-16 04:23:19 +08:00
|
|
|
"mime-types": "2.1.34",
|
2021-08-13 02:57:43 +08:00
|
|
|
"multer": "1.4.3",
|
2021-11-17 05:43:08 +08:00
|
|
|
"node-abi": "3.5.0",
|
2021-11-21 23:27:50 +08:00
|
|
|
"normalize-strings": "^1.1.1",
|
2021-11-16 04:23:19 +08:00
|
|
|
"open": "8.4.0",
|
2019-07-19 04:35:16 +08:00
|
|
|
"portscanner": "2.2.0",
|
2020-03-26 23:21:17 +08:00
|
|
|
"rand-token": "1.0.1",
|
2020-08-23 05:07:31 +08:00
|
|
|
"request": "^2.88.2",
|
2020-02-11 03:57:56 +08:00
|
|
|
"rimraf": "3.0.2",
|
2019-08-27 02:34:50 +08:00
|
|
|
"sanitize-filename": "1.6.3",
|
2021-11-25 04:27:55 +08:00
|
|
|
"sanitize-html": "2.6.0",
|
2019-03-28 04:04:25 +08:00
|
|
|
"sax": "1.2.4",
|
2021-03-28 07:07:38 +08:00
|
|
|
"semver": "7.3.5",
|
2018-08-24 05:42:47 +08:00
|
|
|
"serve-favicon": "2.5.0",
|
2020-10-08 05:08:17 +08:00
|
|
|
"session-file-store": "1.5.0",
|
2020-11-18 06:05:05 +08:00
|
|
|
"stream-throttle": "^0.1.3",
|
2021-06-25 05:50:56 +08:00
|
|
|
"striptags": "3.2.0",
|
2020-10-14 04:50:45 +08:00
|
|
|
"tmp": "^0.2.1",
|
2021-06-30 04:15:57 +08:00
|
|
|
"turndown": "7.1.1",
|
2018-08-24 05:42:47 +08:00
|
|
|
"unescape": "1.0.1",
|
2021-11-25 04:27:55 +08:00
|
|
|
"ws": "8.3.0",
|
2021-05-15 04:57:44 +08:00
|
|
|
"yauzl": "2.10.0"
|
2017-10-21 11:43:20 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-12-04 04:50:41 +08:00
|
|
|
"cross-env": "7.0.3",
|
2021-12-04 19:50:02 +08:00
|
|
|
"electron": "16.0.4",
|
2021-11-17 05:43:08 +08:00
|
|
|
"@electron/remote": "2.0.1",
|
2021-11-21 17:40:48 +08:00
|
|
|
"electron-builder": "22.14.5",
|
2021-09-11 20:34:37 +08:00
|
|
|
"electron-packager": "15.4.0",
|
2021-11-16 04:23:19 +08:00
|
|
|
"electron-rebuild": "3.2.5",
|
2020-07-25 05:14:31 +08:00
|
|
|
"esm": "3.2.25",
|
2021-10-15 02:49:48 +08:00
|
|
|
"jasmine": "3.10.0",
|
2021-05-16 04:57:23 +08:00
|
|
|
"jsdoc": "3.6.7",
|
2021-10-01 04:26:56 +08:00
|
|
|
"lorem-ipsum": "2.0.4",
|
2021-07-20 19:29:11 +08:00
|
|
|
"rcedit": "3.0.1",
|
2021-12-02 06:12:54 +08:00
|
|
|
"webpack": "5.64.4",
|
2021-10-20 04:48:38 +08:00
|
|
|
"webpack-cli": "4.9.1"
|
2019-12-26 17:02:55 +08:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2021-03-28 07:07:38 +08:00
|
|
|
"electron-installer-debian": "3.1.0"
|
2017-10-15 11:31:44 +08:00
|
|
|
}
|
|
|
|
}
|