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-06-26 03:26:48 +08:00
|
|
|
"version": "0.47.5",
|
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-04-08 04:01:52 +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 src/services/sql.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": {
|
2021-05-15 04:57:44 +08:00
|
|
|
"archiver": "^5.3.0",
|
2021-02-26 03:02:49 +08:00
|
|
|
"async-mutex": "0.3.1",
|
2020-12-24 04:03:01 +08:00
|
|
|
"axios": "0.21.1",
|
2021-04-03 17:28:11 +08:00
|
|
|
"better-sqlite3": "7.1.4",
|
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",
|
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",
|
2021-05-27 04:41:55 +08:00
|
|
|
"dayjs": "1.10.5",
|
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-03-15 03:37:35 +08:00
|
|
|
"electron-dl": "3.2.1",
|
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",
|
2021-04-18 04:35:47 +08:00
|
|
|
"express-partial-content": "^1.0.2",
|
2021-06-12 03:00:06 +08:00
|
|
|
"express-rate-limit": "^5.2.6",
|
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",
|
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",
|
2021-01-29 03:17:57 +08:00
|
|
|
"is-animated": "^2.0.1",
|
2021-03-20 07:00:49 +08:00
|
|
|
"is-svg": "4.3.1",
|
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-05-24 20:39:44 +08:00
|
|
|
"jsdom": "16.6.0",
|
2021-06-02 04:03:38 +08:00
|
|
|
"mime-types": "2.1.31",
|
2019-07-19 02:20:38 +08:00
|
|
|
"multer": "1.4.2",
|
2021-05-27 04:41:55 +08:00
|
|
|
"node-abi": "2.30.0",
|
2021-06-25 05:50:56 +08:00
|
|
|
"open": "8.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",
|
2021-05-22 18:26:45 +08:00
|
|
|
"sanitize-html": "2.4.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",
|
2020-10-23 04:49:22 +08:00
|
|
|
"turndown": "7.0.0",
|
2018-08-24 05:42:47 +08:00
|
|
|
"unescape": "1.0.1",
|
2021-06-25 05:50:56 +08:00
|
|
|
"ws": "7.5.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-06-25 05:50:56 +08:00
|
|
|
"electron": "13.1.4",
|
2021-06-12 03:00:06 +08:00
|
|
|
"electron-builder": "22.11.7",
|
2020-12-06 06:00:28 +08:00
|
|
|
"electron-packager": "15.2.0",
|
2021-02-07 02:58:12 +08:00
|
|
|
"electron-rebuild": "2.3.5",
|
2020-07-25 05:14:31 +08:00
|
|
|
"esm": "3.2.25",
|
2021-03-20 07:00:49 +08:00
|
|
|
"jasmine": "3.7.0",
|
2021-05-16 04:57:23 +08:00
|
|
|
"jsdoc": "3.6.7",
|
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",
|
2021-06-25 05:50:56 +08:00
|
|
|
"webpack": "5.40.0",
|
2021-06-12 03:00:06 +08:00
|
|
|
"webpack-cli": "4.7.2"
|
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
|
|
|
}
|
|
|
|
}
|