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",
|
2023-09-22 05:38:18 +08:00
|
|
|
"version": "0.61.7-beta",
|
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": {
|
2023-04-15 17:31:55 +08:00
|
|
|
"start-server": "cross-env TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev TRILIUM_SYNC_SERVER_HOST=http://tsyncserver:4000 nodemon ./src/www",
|
|
|
|
"start-server-no-dir": "cross-env TRILIUM_ENV=dev TRILIUM_SYNC_SERVER_HOST=http://tsyncserver:4000 nodemon ./src/www",
|
2023-01-06 22:14:04 +08:00
|
|
|
"start-electron": "cross-env TRILIUM_DATA_DIR=./data TRILIUM_SYNC_SERVER_HOST=http://tsyncserver:4000 TRILIUM_ENV=dev electron --inspect=5858 .",
|
|
|
|
"start-electron-no-dir": "cross-env TRILIUM_ENV=dev TRILIUM_SYNC_SERVER_HOST=http://tsyncserver:4000 electron --inspect=5858 .",
|
2023-01-04 05:35:45 +08:00
|
|
|
"switch-server": "rm -rf ./node_modules/better-sqlite3 && npm install",
|
2023-04-13 17:56:28 +08:00
|
|
|
"switch-electron": "./node_modules/.bin/electron-rebuild",
|
2023-02-17 21:49:45 +08:00
|
|
|
"build-backend-docs": "rm -rf ./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",
|
2023-02-17 23:30:14 +08:00
|
|
|
"build-frontend-docs": "rm -rf ./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/right_panel_widget.js",
|
2023-02-17 21:49:45 +08:00
|
|
|
"build-docs": "npm run build-backend-docs && npm run build-frontend-docs",
|
2023-04-15 17:39:26 +08:00
|
|
|
"webpack": "webpack -c webpack.config.js",
|
2022-10-22 21:58:15 +08:00
|
|
|
"test-jasmine": "jasmine",
|
2020-08-15 04:30:01 +08:00
|
|
|
"test-es6": "node -r esm spec-es6/attribute_parser.spec.js ",
|
2022-10-22 21:58:15 +08:00
|
|
|
"test": "npm run test-jasmine && npm run test-es6",
|
2023-04-11 00:16:49 +08:00
|
|
|
"postinstall": "rimraf ./node_modules/canvas",
|
|
|
|
"lint": "eslint . --cache",
|
2023-05-20 20:23:22 +08:00
|
|
|
"prepare": "husky install || echo 'Husky install failed, expected on flatpak build'"
|
2017-10-15 11:31:44 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-08-09 05:42:47 +08:00
|
|
|
"@braintree/sanitize-url": "6.0.4",
|
2023-09-06 04:48:20 +08:00
|
|
|
"@electron/remote": "2.0.11",
|
2023-09-21 17:16:03 +08:00
|
|
|
"@excalidraw/excalidraw": "0.16.1",
|
2022-04-16 05:09:07 +08:00
|
|
|
"archiver": "5.3.1",
|
2022-09-03 21:11:03 +08:00
|
|
|
"async-mutex": "0.4.0",
|
2023-09-06 04:48:20 +08:00
|
|
|
"axios": "1.5.0",
|
2023-05-29 06:19:54 +08:00
|
|
|
"better-sqlite3": "8.4.0",
|
2022-02-01 04:25:18 +08:00
|
|
|
"chokidar": "3.5.3",
|
2018-08-24 05:42:47 +08:00
|
|
|
"cls-hooked": "4.2.2",
|
2022-10-15 03:59:43 +08:00
|
|
|
"compression": "1.7.4",
|
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",
|
2023-09-21 17:16:03 +08:00
|
|
|
"dayjs": "1.11.10",
|
2023-05-19 05:57:18 +08:00
|
|
|
"dayjs-plugin-utc": "0.1.2",
|
|
|
|
"debounce": "1.2.1",
|
2023-04-11 00:50:55 +08:00
|
|
|
"ejs": "3.1.9",
|
2020-12-24 04:03:01 +08:00
|
|
|
"electron-debug": "3.2.0",
|
2022-11-23 03:48:04 +08:00
|
|
|
"electron-dl": "3.5.0",
|
2019-03-28 04:04:25 +08:00
|
|
|
"electron-window-state": "5.0.3",
|
2023-04-21 06:19:17 +08:00
|
|
|
"escape-html": "1.0.3",
|
2022-10-15 03:59:43 +08:00
|
|
|
"express": "4.18.2",
|
2022-01-15 02:53:59 +08:00
|
|
|
"express-partial-content": "1.0.2",
|
2023-09-07 05:11:02 +08:00
|
|
|
"express-rate-limit": "6.11.0",
|
2022-05-12 03:33:41 +08:00
|
|
|
"express-session": "1.17.3",
|
2023-04-11 00:50:55 +08:00
|
|
|
"fs-extra": "11.1.1",
|
2023-05-07 21:23:46 +08:00
|
|
|
"helmet": "7.0.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",
|
2023-05-29 06:19:54 +08:00
|
|
|
"http-proxy-agent": "7.0.0",
|
2023-09-06 04:48:20 +08:00
|
|
|
"https-proxy-agent": "7.0.2",
|
2019-05-09 02:19:31 +08:00
|
|
|
"image-type": "4.1.0",
|
2022-09-03 21:11:03 +08:00
|
|
|
"ini": "3.0.1",
|
2022-01-15 02:53:59 +08:00
|
|
|
"is-animated": "2.0.2",
|
2021-11-25 04:27:55 +08:00
|
|
|
"is-svg": "4.3.2",
|
2023-07-28 03:40:47 +08:00
|
|
|
"jimp": "0.22.10",
|
2021-03-28 07:07:38 +08:00
|
|
|
"joplin-turndown-plugin-gfm": "1.0.12",
|
2023-05-29 06:19:54 +08:00
|
|
|
"jsdom": "22.1.0",
|
2023-09-19 05:45:00 +08:00
|
|
|
"marked": "9.0.3",
|
2022-03-23 04:20:47 +08:00
|
|
|
"mime-types": "2.1.35",
|
2022-06-01 04:45:57 +08:00
|
|
|
"multer": "1.4.5-lts.1",
|
2023-08-30 06:11:32 +08:00
|
|
|
"node-abi": "3.47.0",
|
2022-01-15 02:53:59 +08:00
|
|
|
"normalize-strings": "1.1.1",
|
2023-02-10 19:29:07 +08:00
|
|
|
"open": "8.4.1",
|
2020-03-26 23:21:17 +08:00
|
|
|
"rand-token": "1.0.1",
|
2023-07-15 18:01:09 +08:00
|
|
|
"react": "18.2.0",
|
|
|
|
"react-dom": "18.2.0",
|
2022-01-15 02:53:59 +08:00
|
|
|
"request": "2.88.2",
|
2023-05-21 05:46:45 +08:00
|
|
|
"rimraf": "5.0.1",
|
2022-08-01 03:45:32 +08:00
|
|
|
"safe-compare": "1.1.4",
|
2019-08-27 02:34:50 +08:00
|
|
|
"sanitize-filename": "1.6.3",
|
2023-06-29 02:53:55 +08:00
|
|
|
"sanitize-html": "2.11.0",
|
2019-03-28 04:04:25 +08:00
|
|
|
"sax": "1.2.4",
|
2023-07-11 01:10:07 +08:00
|
|
|
"semver": "7.5.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",
|
2022-01-15 02:53:59 +08:00
|
|
|
"stream-throttle": "0.1.3",
|
2021-06-25 05:50:56 +08:00
|
|
|
"striptags": "3.2.0",
|
2022-01-15 02:53:59 +08:00
|
|
|
"tmp": "0.2.1",
|
2023-04-11 00:50:55 +08:00
|
|
|
"turndown": "7.1.2",
|
2018-08-24 05:42:47 +08:00
|
|
|
"unescape": "1.0.1",
|
2023-09-21 17:16:03 +08:00
|
|
|
"ws": "8.14.2",
|
2023-07-28 03:40:47 +08:00
|
|
|
"xml2js": "0.6.2",
|
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",
|
2023-09-23 06:04:16 +08:00
|
|
|
"electron": "25.8.2",
|
2023-09-06 04:48:20 +08:00
|
|
|
"electron-builder": "24.6.4",
|
2023-08-30 06:11:32 +08:00
|
|
|
"electron-packager": "17.1.2",
|
2022-09-03 21:11:03 +08:00
|
|
|
"electron-rebuild": "3.2.9",
|
2023-09-21 17:16:03 +08:00
|
|
|
"eslint": "8.49.0",
|
2023-05-07 21:23:46 +08:00
|
|
|
"eslint-config-airbnb-base": "15.0.0",
|
2023-08-09 05:42:47 +08:00
|
|
|
"eslint-config-prettier": "9.0.0",
|
2023-08-30 06:11:32 +08:00
|
|
|
"eslint-plugin-import": "2.28.1",
|
2023-06-14 05:39:42 +08:00
|
|
|
"eslint-plugin-jsonc": "2.9.0",
|
2023-07-14 05:54:47 +08:00
|
|
|
"eslint-plugin-prettier": "5.0.0",
|
2020-07-25 05:14:31 +08:00
|
|
|
"esm": "3.2.25",
|
2023-04-25 03:22:34 +08:00
|
|
|
"husky": "8.0.3",
|
2023-07-28 03:40:47 +08:00
|
|
|
"jasmine": "5.1.0",
|
2023-04-11 00:50:55 +08:00
|
|
|
"jsdoc": "4.0.2",
|
2023-07-15 16:31:50 +08:00
|
|
|
"jsonc-eslint-parser": "2.3.0",
|
2023-09-06 04:48:20 +08:00
|
|
|
"lint-staged": "14.0.1",
|
2022-06-12 05:29:52 +08:00
|
|
|
"lorem-ipsum": "2.0.8",
|
2023-07-11 01:10:07 +08:00
|
|
|
"nodemon": "3.0.1",
|
2023-08-30 06:11:32 +08:00
|
|
|
"prettier": "3.0.3",
|
2023-08-09 05:42:47 +08:00
|
|
|
"rcedit": "3.1.0",
|
2023-07-22 23:48:09 +08:00
|
|
|
"webpack": "5.88.2",
|
2023-06-14 05:39:42 +08:00
|
|
|
"webpack-cli": "5.1.4"
|
2019-12-26 17:02:55 +08:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2023-08-30 06:11:32 +08:00
|
|
|
"electron-installer-debian": "3.2.0"
|
2023-04-11 00:16:49 +08:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": "eslint --cache --fix"
|
2017-10-15 11:31:44 +08:00
|
|
|
}
|
|
|
|
}
|