2017-10-15 11:31:44 +08:00
|
|
|
{
|
|
|
|
"name": "trilium",
|
2017-12-27 01:55:40 +08:00
|
|
|
"description": "Trilium Notes",
|
2018-08-15 00:06:31 +08:00
|
|
|
"version": "0.19.1",
|
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": {
|
2018-05-22 07:35:49 +08:00
|
|
|
"start": "node ./src/www",
|
2017-10-21 11:43:20 +08:00
|
|
|
"test-electron": "xo",
|
2017-11-16 11:13:45 +08:00
|
|
|
"rebuild-electron": "electron-rebuild",
|
2018-03-24 09:01:49 +08:00
|
|
|
"start-electron": "electron . --disable-gpu",
|
2018-05-09 04:39:01 +08:00
|
|
|
"build-electron": "electron-packager . --out=dist --asar --overwrite --platform=win32,linux --arch=ia32,x64 --app-version=",
|
2017-11-06 06:58:55 +08:00
|
|
|
"start-forge": "electron-forge start",
|
|
|
|
"package-forge": "electron-forge package",
|
|
|
|
"make-forge": "electron-forge make",
|
2018-08-23 16:10:04 +08:00
|
|
|
"publish-forge": "electron-forge publish",
|
2018-08-23 18:55:45 +08:00
|
|
|
"build-backend-docs": "jsdoc -d ./docs/backend_api src/entities/*.js src/services/backend_script_api.js",
|
|
|
|
"build-frontend-docs": "jsdoc -d ./docs/frontend_api src/public/javascripts/entities/*.js src/public/javascripts/services/frontend_script_api.js",
|
|
|
|
"build-docs": "npm run build-backend-docs && npm run build-frontend-docs"
|
2017-10-15 11:31:44 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-08-24 05:42:47 +08:00
|
|
|
"async-mutex": "0.1.3",
|
|
|
|
"axios": "0.18",
|
|
|
|
"body-parser": "1.18.3",
|
|
|
|
"cls-hooked": "4.2.2",
|
|
|
|
"cookie-parser": "1.4.3",
|
|
|
|
"debug": "3.1.0",
|
|
|
|
"devtron": "1.4.0",
|
|
|
|
"ejs": "2.6.1",
|
|
|
|
"electron-debug": "2.0.0",
|
|
|
|
"electron-dl": "1.12.0",
|
|
|
|
"electron-in-page-search": "1.3.2",
|
|
|
|
"express": "4.16.3",
|
|
|
|
"express-session": "1.15.6",
|
|
|
|
"fs-extra": "7.0.0",
|
|
|
|
"get-port": "4.0.0",
|
|
|
|
"helmet": "3.13.0",
|
|
|
|
"html": "1.0.0",
|
|
|
|
"image-type": "3.0.0",
|
|
|
|
"imagemin": "6.0.0",
|
|
|
|
"imagemin-giflossy": "5.1.10",
|
|
|
|
"imagemin-mozjpeg": "7.0.0",
|
|
|
|
"imagemin-pngquant": "6.0.0",
|
|
|
|
"ini": "1.3.5",
|
|
|
|
"jimp": "0.3.5",
|
|
|
|
"moment": "2.22.2",
|
|
|
|
"multer": "1.3.1",
|
2018-02-19 11:19:07 +08:00
|
|
|
"open": "0.0.5",
|
2018-08-24 05:42:47 +08:00
|
|
|
"rand-token": "0.4.0",
|
|
|
|
"rcedit": "1.1.0",
|
|
|
|
"request": "2.88.0",
|
|
|
|
"request-promise": "4.2.2",
|
|
|
|
"rimraf": "2.6.2",
|
|
|
|
"sanitize-filename": "1.6.1",
|
|
|
|
"scrypt": "6.0.3",
|
|
|
|
"serve-favicon": "2.5.0",
|
|
|
|
"session-file-store": "1.2.0",
|
|
|
|
"simple-node-logger": "0.93.37",
|
|
|
|
"sqlite": "3.0.0",
|
|
|
|
"tar-stream": "1.6.1",
|
|
|
|
"unescape": "1.0.1",
|
|
|
|
"ws": "6.0.0",
|
|
|
|
"xml2js": "0.4.19"
|
2017-10-21 11:43:20 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-08-24 05:42:47 +08:00
|
|
|
"electron": "2.0.7",
|
|
|
|
"electron-compile": "6.4.3",
|
|
|
|
"electron-packager": "12.1.1",
|
2018-08-15 02:25:37 +08:00
|
|
|
"electron-prebuilt-compile": "2.0.7",
|
2018-08-24 05:42:47 +08:00
|
|
|
"electron-rebuild": "1.8.2",
|
|
|
|
"lorem-ipsum": "1.0.5",
|
|
|
|
"tape": "4.9.1",
|
|
|
|
"xo": "0.22.0",
|
|
|
|
"pkg": "4.3.4"
|
2017-11-06 06:58:55 +08:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"forge": {
|
|
|
|
"make_targets": {
|
|
|
|
"win32": [
|
|
|
|
"squirrel"
|
|
|
|
],
|
|
|
|
"darwin": [
|
|
|
|
"zip"
|
|
|
|
],
|
|
|
|
"linux": [
|
|
|
|
"deb",
|
|
|
|
"rpm"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"electronPackagerConfig": {
|
|
|
|
"packageManager": "npm"
|
|
|
|
},
|
|
|
|
"electronWinstallerConfig": {
|
|
|
|
"name": "trilium"
|
|
|
|
},
|
|
|
|
"electronInstallerDebian": {},
|
|
|
|
"electronInstallerRedhat": {},
|
|
|
|
"github_repository": {
|
|
|
|
"owner": "",
|
|
|
|
"name": ""
|
|
|
|
},
|
|
|
|
"windowsStoreConfig": {
|
|
|
|
"packageName": "",
|
|
|
|
"name": "trilium"
|
|
|
|
}
|
|
|
|
}
|
2017-10-21 11:43:20 +08:00
|
|
|
},
|
|
|
|
"xo": {
|
|
|
|
"envs": [
|
|
|
|
"node",
|
|
|
|
"browser"
|
|
|
|
]
|
2018-07-06 06:05:06 +08:00
|
|
|
},
|
|
|
|
"pkg": {
|
|
|
|
"assets": [
|
|
|
|
"./db/**/*",
|
|
|
|
"./src/public/**/*",
|
2018-07-21 14:55:24 +08:00
|
|
|
"./src/views/**/*",
|
|
|
|
"./node_modules/mozjpeg/vendor/*",
|
|
|
|
"./node_modules/pngquant-bin/vendor/*",
|
|
|
|
"./node_modules/giflossy/vendor/*"
|
2018-07-06 06:05:06 +08:00
|
|
|
]
|
2017-10-15 11:31:44 +08:00
|
|
|
}
|
|
|
|
}
|