mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-08 18:22:54 -08:00
As Quang Lam said: when you compile the app, all dependencies in dependencies would be kept, and all deps in devDependencies would be removed in the final package the frontend code is already compiled in build, so actually you don't need to keep frontend-related packages in the app package => frontend packages should stay in devDependencies your app right now is about 155 MB. You can actually bring it down to around 60-70 MB
122 lines
4 KiB
JSON
Executable file
122 lines
4 KiB
JSON
Executable file
{
|
|
"name": "TiddlyGit",
|
|
"description": "Customizable personal knowledge-base with Github as unlimited storage and blogging platform.",
|
|
"version": "0.1.1",
|
|
"main": "public/electron.js",
|
|
"scripts": {
|
|
"electron-dev": "npm run clean:dev && concurrently \"cross-env BROWSER=none npm run start\" \"wait-on http://localhost:3000 && electron .\" -k",
|
|
"dist-dev": "npm run clean:dev && cross-env CSC_IDENTITY_AUTO_DISCOVERY=false npm run dist",
|
|
"dist": "npm run build && node dist.js",
|
|
"clean:dev": "rm -rf ./logs && rm -rf ./dist && rm -rf ./build",
|
|
"build": "rescripts build",
|
|
"start": "rescripts start",
|
|
"test": "mocha ./tests",
|
|
"lint": "eslint ./public ./src --ext js",
|
|
"lint:fix": "eslint ./public ./src --ext js --fix",
|
|
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
|
|
"postinstall": "npx patch-package && electron-builder install-app-deps && if-env CI=true && echo \"skip flow-typed\" || npm run flow-typed"
|
|
},
|
|
"repository": "https://github.com/tiddly-gittly/TiddlyGit-Desktop",
|
|
"author": "Lin Onetwo<linonetwo012@gmail.com>, Quang Lam <quang.lam2807@gmail.com>",
|
|
"dependencies": {
|
|
"@cliqz/adblocker-electron": "1.17.0",
|
|
"chokidar": "^3.4.1",
|
|
"download": "8.0.0",
|
|
"dugite": "1.91.3",
|
|
"darkreader": "4.9.16",
|
|
"electron-context-menu": "2.2.0",
|
|
"electron-is-dev": "1.2.0",
|
|
"electron-settings": "4.0.2",
|
|
"electron-updater": "4.3.4",
|
|
"electron-window-state": "5.0.3",
|
|
"fs-extra": "9.0.1",
|
|
"i18next": "^19.6.3",
|
|
"i18next-electron-fs-backend": "^1.3.4",
|
|
"i18next-fs-backend": "^1.0.7",
|
|
"jimp": "0.14.0",
|
|
"lodash": "4.17.19",
|
|
"menubar": "9.0.1",
|
|
"node-fetch": "2.6.0",
|
|
"proxy-agent": "3.1.1",
|
|
"regedit": "3.0.3",
|
|
"semver": "7.3.2",
|
|
"tiddlywiki": "5.1.22",
|
|
"tmp": "0.2.1",
|
|
"uuid": "8.3.0",
|
|
"winston": "^3.3.3",
|
|
"winston-daily-rotate-file": "^4.5.0",
|
|
"winston-transport": "^4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@authing/sso": "1.6.0",
|
|
"@date-io/date-fns": "2.8.0",
|
|
"@material-ui/core": "4.11.0",
|
|
"@material-ui/icons": "4.9.1",
|
|
"@material-ui/lab": "^4.0.0-alpha.56",
|
|
"@material-ui/pickers": "^4.0.0-alpha.10",
|
|
"ace-builds": "1.4.12",
|
|
"classnames": "2.2.6",
|
|
"date-fns": "2.15.0",
|
|
"graphql-hooks": "4.5.0",
|
|
"is-url": "1.2.4",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.13.1",
|
|
"react-ace": "9.1.1",
|
|
"react-dom": "16.13.1",
|
|
"react-i18next": "^11.7.0",
|
|
"react-redux": "7.2.1",
|
|
"react-scripts": "3.4.1",
|
|
"react-sortable-hoc": "1.11.0",
|
|
"react-window": "1.8.5",
|
|
"react-window-infinite-loader": "1.0.5",
|
|
"redux": "4.0.5",
|
|
"redux-thunk": "2.3.0",
|
|
"simplebar": "5.2.1",
|
|
"simplebar-react": "2.2.1",
|
|
"styled-components": "5.1.1",
|
|
"styled-is": "1.3.0",
|
|
"typeface-roboto": "0.0.75",
|
|
"@rescripts/cli": "0.0.14",
|
|
"babel-eslint": "10.1.0",
|
|
"babel-preset-env": "1.7.0",
|
|
"babel-preset-react": "6.24.1",
|
|
"concurrently": "5.2.0",
|
|
"cross-env": "7.0.2",
|
|
"electron": "9.1.2",
|
|
"electron-builder": "22.8.0",
|
|
"electron-notarize": "1.0.0",
|
|
"eslint": "7.6.0",
|
|
"eslint-config-airbnb": "18.2.0",
|
|
"eslint-config-prettier": "6.11.0",
|
|
"eslint-config-standard": "14.1.1",
|
|
"eslint-plugin-flowtype": "5.2.0",
|
|
"eslint-plugin-html": "6.0.2",
|
|
"eslint-plugin-import": "2.22.0",
|
|
"eslint-plugin-jsx-a11y": "6.3.1",
|
|
"eslint-plugin-node": "11.1.0",
|
|
"eslint-plugin-prettier": "3.1.4",
|
|
"eslint-plugin-promise": "4.2.1",
|
|
"eslint-plugin-react": "7.20.5",
|
|
"eslint-plugin-react-hooks": "4.0.8",
|
|
"eslint-plugin-sonarjs": "0.5.0",
|
|
"eslint-plugin-standard": "4.0.1",
|
|
"eslint-plugin-unicorn": "21.0.0",
|
|
"flow-bin": "0.130.0",
|
|
"flow-typed": "2.6.2",
|
|
"if-env": "^1.0.4",
|
|
"patch-package": "6.2.2",
|
|
"rescript-disable-eslint": "1.0.2",
|
|
"wait-on": "5.1.0"
|
|
},
|
|
"homepage": "./",
|
|
"private": false,
|
|
"rescripts": [
|
|
"disable-eslint"
|
|
],
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
]
|
|
}
|