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-12-23 03:21:15 +08:00
|
|
|
"version": "0.45.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",
|
|
|
|
"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-11-30 03:55:24 +08:00
|
|
|
"async-mutex": "0.2.6",
|
2020-12-24 04:03:01 +08:00
|
|
|
"axios": "0.21.1",
|
2020-12-21 05:20:21 +08:00
|
|
|
"better-sqlite3": "7.1.2",
|
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-12-06 06:00:28 +08:00
|
|
|
"commonmark": "0.29.3",
|
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-12-28 05:19:27 +08:00
|
|
|
"dayjs": "1.9.8",
|
2020-08-18 02:58:34 +08:00
|
|
|
"ejs": "3.1.5",
|
2020-12-24 04:03:01 +08:00
|
|
|
"electron-debug": "3.2.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-06-18 15:12:30 +08:00
|
|
|
"fs-extra": "9.0.1",
|
2020-12-30 05:27:31 +08:00
|
|
|
"helmet": "4.3.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",
|
2020-12-15 05:12:26 +08:00
|
|
|
"ini": "2.0.0",
|
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-11-20 06:02:25 +08:00
|
|
|
"node-abi": "2.19.3",
|
2020-10-08 05:08:17 +08:00
|
|
|
"open": "7.3.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",
|
2020-12-17 22:04:04 +08:00
|
|
|
"sanitize-html": "2.3.0",
|
2019-03-28 04:04:25 +08:00
|
|
|
"sax": "1.2.4",
|
2020-12-04 04:50:41 +08:00
|
|
|
"semver": "7.3.4",
|
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",
|
2020-08-03 02:44:46 +08:00
|
|
|
"striptags": "3.1.1",
|
2020-10-14 04:50:45 +08:00
|
|
|
"tmp": "^0.2.1",
|
2020-10-23 04:49:22 +08:00
|
|
|
"turndown": "7.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-12-31 06:09:29 +08:00
|
|
|
"ws": "7.4.2",
|
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-12-04 04:50:41 +08:00
|
|
|
"cross-env": "7.0.3",
|
2020-11-25 03:12:49 +08:00
|
|
|
"electron": "9.3.5",
|
2020-10-23 04:49:22 +08:00
|
|
|
"electron-builder": "22.9.1",
|
2020-12-06 06:00:28 +08:00
|
|
|
"electron-packager": "15.2.0",
|
2020-12-04 04:50:41 +08:00
|
|
|
"electron-rebuild": "2.3.4",
|
2020-07-25 05:14:31 +08:00
|
|
|
"esm": "3.2.25",
|
2020-11-01 05:47:15 +08:00
|
|
|
"jasmine": "3.6.3",
|
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-12-15 05:12:26 +08:00
|
|
|
"rcedit": "3.0.0",
|
2020-12-30 05:27:31 +08:00
|
|
|
"webpack": "5.11.1",
|
2020-12-28 05:19:27 +08:00
|
|
|
"webpack-cli": "4.3.0"
|
2019-12-26 17:02:55 +08:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"electron-installer-debian": "2.0.1"
|
2017-10-15 11:31:44 +08:00
|
|
|
}
|
|
|
|
}
|