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",
|
2020-09-25 05:33:36 +08:00
|
|
|
"version": "0.44.4",
|
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",
|
|
|
|
"start-electron": "cross-env TRILIUM_ENV=dev electron .",
|
2019-08-21 03:40:47 +08:00
|
|
|
"build-backend-docs": "./node_modules/.bin/jsdoc -c jsdoc-conf.json -d ./docs/backend_api src/entities/*.js src/services/backend_script_api.js",
|
2020-04-22 05:14:55 +08:00
|
|
|
"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",
|
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": {
|
2020-07-10 03:46:33 +08:00
|
|
|
"async-mutex": "0.2.4",
|
2020-08-23 05:07:31 +08:00
|
|
|
"axios": "0.20.0",
|
2020-09-15 04:48:20 +08:00
|
|
|
"better-sqlite3": "7.1.1",
|
2019-05-09 02:19:31 +08:00
|
|
|
"body-parser": "1.19.0",
|
2018-08-24 05:42:47 +08:00
|
|
|
"cls-hooked": "4.2.2",
|
2020-09-13 03:25:47 +08:00
|
|
|
"commonmark": "0.29.2",
|
2020-03-15 18:08:16 +08:00
|
|
|
"cookie-parser": "1.4.5",
|
2020-01-20 01:05:06 +08:00
|
|
|
"csurf": "1.11.0",
|
2020-09-19 03:47:59 +08:00
|
|
|
"dayjs": "1.8.36",
|
2020-08-18 02:58:34 +08:00
|
|
|
"ejs": "3.1.5",
|
2020-05-24 15:30:08 +08:00
|
|
|
"electron-debug": "3.1.0",
|
2020-08-03 02:44:46 +08:00
|
|
|
"electron-dl": "3.0.2",
|
2019-06-11 05:00:50 +08:00
|
|
|
"electron-find": "1.0.6",
|
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",
|
2020-04-19 15:42:10 +08:00
|
|
|
"express-session": "1.17.1",
|
2020-09-15 22:46:03 +08:00
|
|
|
"file-type": "15.0.1",
|
2020-06-18 15:12:30 +08:00
|
|
|
"fs-extra": "9.0.1",
|
2020-09-13 03:25:47 +08:00
|
|
|
"helmet": "4.1.1",
|
2018-08-24 05:42:47 +08:00
|
|
|
"html": "1.0.0",
|
2019-03-28 04:04:25 +08:00
|
|
|
"html2plaintext": "2.1.2",
|
2020-02-11 03:57:56 +08:00
|
|
|
"http-proxy-agent": "4.0.1",
|
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",
|
2018-08-24 05:42:47 +08:00
|
|
|
"ini": "1.3.5",
|
2020-04-01 02:52:41 +08:00
|
|
|
"is-svg": "4.2.1",
|
2020-08-29 04:04:35 +08:00
|
|
|
"jimp": "0.16.1",
|
2020-09-23 05:10:01 +08:00
|
|
|
"jsdom": "^16.4.0",
|
2020-04-26 05:52:13 +08:00
|
|
|
"mime-types": "2.1.27",
|
2019-07-19 02:20:38 +08:00
|
|
|
"multer": "1.4.2",
|
2020-08-26 05:25:15 +08:00
|
|
|
"node-abi": "2.19.1",
|
2020-08-28 20:52:38 +08:00
|
|
|
"open": "7.2.1",
|
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",
|
2020-08-27 18:44:49 +08:00
|
|
|
"sanitize-html": "1.27.4",
|
2019-03-28 04:04:25 +08:00
|
|
|
"sax": "1.2.4",
|
2020-04-15 03:57:42 +08:00
|
|
|
"semver": "7.3.2",
|
2018-08-24 05:42:47 +08:00
|
|
|
"serve-favicon": "2.5.0",
|
2020-01-30 03:14:02 +08:00
|
|
|
"session-file-store": "1.4.0",
|
2020-08-03 02:44:46 +08:00
|
|
|
"striptags": "3.1.1",
|
2020-03-15 18:08:16 +08:00
|
|
|
"turndown": "6.0.0",
|
2019-10-01 02:56:32 +08:00
|
|
|
"turndown-plugin-gfm": "1.0.2",
|
2018-08-24 05:42:47 +08:00
|
|
|
"unescape": "1.0.1",
|
2020-07-06 05:53:55 +08:00
|
|
|
"ws": "7.3.1",
|
2020-08-03 02:44:46 +08:00
|
|
|
"yauzl": "2.10.0",
|
|
|
|
"yazl": "2.5.1"
|
2017-10-21 11:43:20 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-08-03 02:44:46 +08:00
|
|
|
"cross-env": "7.0.2",
|
2020-09-15 22:46:03 +08:00
|
|
|
"electron": "9.3.1",
|
2020-09-19 03:47:59 +08:00
|
|
|
"electron-builder": "22.8.1",
|
2020-08-23 05:07:31 +08:00
|
|
|
"electron-packager": "15.1.0",
|
2020-09-13 03:25:47 +08:00
|
|
|
"electron-rebuild": "2.0.3",
|
2020-07-25 05:14:31 +08:00
|
|
|
"esm": "3.2.25",
|
2020-07-26 05:24:48 +08:00
|
|
|
"jasmine": "3.6.1",
|
2020-09-21 03:41:40 +08:00
|
|
|
"jsdoc": "3.6.6",
|
2020-04-12 20:22:51 +08:00
|
|
|
"lorem-ipsum": "2.0.3",
|
2020-08-28 05:04:00 +08:00
|
|
|
"rcedit": "2.2.0",
|
2020-09-19 03:47:59 +08:00
|
|
|
"webpack": "5.0.0-beta.32",
|
2020-04-12 20:22:51 +08:00
|
|
|
"webpack-cli": "4.0.0-beta.8"
|
2019-12-26 17:02:55 +08:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"electron-installer-debian": "2.0.1"
|
2017-10-15 11:31:44 +08:00
|
|
|
}
|
|
|
|
}
|