This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
259 lines (259 sloc)
6.85 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "mini-diary", | |
"productName": "Mini Diary", | |
"version": "3.3.0", | |
"description": "Simple and secure journal app", | |
"main": "./bundle/main.js", | |
"author": { | |
"name": "Samuel Meuli", | |
"email": "me@samuelmeuli.com", | |
"url": "https://samuelmeuli.com" | |
}, | |
"repository": "github:samuelmeuli/mini-diary", | |
"homepage": "https://minidiary.app", | |
"license": "MIT", | |
"private": true, | |
"scripts": { | |
"postinstall": "electron-builder install-app-deps", | |
"start": "npm-run-all build:ts --parallel start:*", | |
"start:ts": "run-p start:ts:*", | |
"start:ts:main": "webpack --config ./webpack.main.ts --mode development --watch", | |
"start:ts:renderer": "webpack --config ./webpack.renderer.ts --mode development --watch", | |
"start:app": "electron .", | |
"build": "run-s build:*", | |
"build:clean": "rm -rf ./bundle ./dist", | |
"build:ts": "run-p build:ts:*", | |
"build:ts:main": "webpack --config ./webpack.main.ts --mode production", | |
"build:ts:renderer": "webpack --config ./webpack.renderer.ts --mode production", | |
"website:start": "npm-run-all website:build:css --parallel website:start:*", | |
"website:start:serve": "serve ./website --listen 3000", | |
"website:start:ts": "tsc --project ./website --watch", | |
"website:build": "run-p website:build:*", | |
"website:build:css": "cp ./node_modules/minireset.css/minireset.min.css ./website/styles/", | |
"website:build:ts": "tsc --project ./website", | |
"test": "run-s test:*", | |
"test:jest": "jest", | |
"test:types": "tsc --noEmit && tsc --project ./website --noEmit", | |
"lint:css": "stylelint --ignore-path ./.gitignore --max-warnings 0 \"**/*.{css,sass,scss}\"", | |
"lint:css:fix": "yarn lint:css --fix", | |
"lint:ts": "eslint --ext .ts,.tsx --ignore-path ./.gitignore --max-warnings 0 \"**/*.{ts,tsx}\"", | |
"lint:ts:fix": "yarn lint:ts --fix", | |
"format": "prettier --ignore-path ./.gitignore --list-different \"**/*.{css,html,js,json,jsx,less,md,scss,ts,tsx,vue,yaml,yml}\"", | |
"format:fix": "yarn format --write" | |
}, | |
"dependencies": { | |
"@svgr/webpack": "^5.4.0", | |
"@types/draft-js": "^0.10.40", | |
"@types/electron-settings": "^3.1.1", | |
"@types/lodash.debounce": "^4.0.6", | |
"@types/moment-timezone": "^0.5.13", | |
"@types/node": "^14.0.5", | |
"@types/react": "^16.9.35", | |
"@types/react-dom": "^16.9.8", | |
"@types/react-redux": "^7.1.9", | |
"@types/redux-logger": "^3.0.7", | |
"@types/semver": "^7.2.0", | |
"draft-js": "^0.11.5", | |
"draft-js-list-plugin": "^1.0.2", | |
"draft-js-plugins-editor": "^3.0.0", | |
"electron-context-menu": "^2.0.1", | |
"electron-debug": "^3.1.0", | |
"electron-log": "^4.2.0", | |
"electron-md-to-pdf": "^2.2.0", | |
"electron-settings": "^3.2.0", | |
"electron-unhandled": "^3.0.1", | |
"electron-updater": "4.2.5", | |
"electron-util": "^0.14.1", | |
"feather-icons": "^4.28.0", | |
"lodash.debounce": "^4.0.8", | |
"markdown-draft-js": "^2.2.0", | |
"minireset.css": "^0.0.6", | |
"minisearch": "^2.3.1", | |
"moment-timezone": "^0.5.31", | |
"move-file": "^2.0.0", | |
"react": "^16.13.1", | |
"react-day-picker": "github:samuelmeuli/react-day-picker", | |
"react-dom": "^16.13.1", | |
"react-redux": "^7.2.0", | |
"redux": "^4.0.5", | |
"redux-logger": "^3.0.6", | |
"redux-thunk": "^2.3.0", | |
"remark": "^12.0.0", | |
"remark-stringify": "^8.0.0", | |
"semver": "^7.3.2", | |
"strip-markdown": "^3.1.2", | |
"word-count": "github:samuelmeuli/word-count" | |
}, | |
"devDependencies": { | |
"@babel/core": "^7.10.1", | |
"@babel/plugin-proposal-class-properties": "^7.10.1", | |
"@babel/preset-env": "^7.10.1", | |
"@babel/preset-react": "^7.10.1", | |
"@babel/preset-typescript": "^7.10.1", | |
"@samuelmeuli/eslint-config": "^6.0.0", | |
"@samuelmeuli/prettier-config": "^1.0.0", | |
"@samuelmeuli/stylelint-config": "^3.0.0", | |
"@samuelmeuli/tsconfig": "^1.0.0", | |
"@types/html-webpack-plugin": "^3.2.3", | |
"@types/jest": "^25.2.3", | |
"@types/license-checker-webpack-plugin": "^0.0.2", | |
"@types/webpack": "^4.41.13", | |
"@types/webpack-merge": "^4.1.5", | |
"@typescript-eslint/eslint-plugin": "^2.34.0", | |
"@typescript-eslint/parser": "^2.34.0", | |
"babel-loader": "^8.1.0", | |
"css-loader": "^3.5.3", | |
"electron": "^8.3.0", | |
"electron-builder": "22.4.1", | |
"electron-builder-notarize": "^1.1.1", | |
"eslint": "6.8.0", | |
"eslint-config-airbnb": "18.1.0", | |
"eslint-config-prettier": "^6.11.0", | |
"eslint-plugin-import": "^2.20.2", | |
"eslint-plugin-jsx-a11y": "^6.2.3", | |
"eslint-plugin-react": "^7.20.0", | |
"eslint-plugin-react-hooks": "^2.5.1", | |
"file-loader": "^6.0.0", | |
"html-webpack-plugin": "^4.3.0", | |
"jest": "^26.0.1", | |
"license-checker-webpack-plugin": "^0.1.4", | |
"mockdate": "^3.0.2", | |
"npm-run-all": "^4.1.3", | |
"prettier": "^1.18.2", | |
"sass": "^1.26.7", | |
"sass-loader": "^8.0.0", | |
"serve": "^11.3.1", | |
"style-loader": "^1.2.1", | |
"stylelint": "^12.0.1", | |
"ts-node": "^8.10.2", | |
"typescript": "^3.9.3", | |
"webpack": "^4.43.0", | |
"webpack-cli": "^3.3.11", | |
"webpack-merge": "^4.2.2" | |
}, | |
"browserslist": [ | |
"electron 8.0" | |
], | |
"babel": { | |
"presets": [ | |
"@babel/preset-env", | |
"@babel/preset-react", | |
"@babel/preset-typescript" | |
], | |
"plugins": [ | |
"@babel/plugin-proposal-class-properties" | |
] | |
}, | |
"jest": { | |
"moduleNameMapper": { | |
"electron": "<rootDir>/test/setup/electron-mock.ts" | |
}, | |
"setupFiles": [ | |
"<rootDir>/test/setup/setup.ts" | |
] | |
}, | |
"eslintConfig": { | |
"root": true, | |
"extends": [ | |
"@samuelmeuli/eslint-config/typescript-react", | |
"plugin:import/electron" | |
], | |
"env": { | |
"browser": true, | |
"node": true, | |
"jest": true | |
}, | |
"rules": { | |
"import/no-extraneous-dependencies": [ | |
"error", | |
{ | |
"devDependencies": [ | |
"scripts/**/*", | |
"test/**/*", | |
"webpack.*.ts" | |
] | |
} | |
] | |
} | |
}, | |
"stylelint": { | |
"extends": "@samuelmeuli/stylelint-config" | |
}, | |
"prettier": "@samuelmeuli/prettier-config", | |
"build": { | |
"appId": "com.samuelmeuli.minidiary", | |
"files": [ | |
"!**/*", | |
"./bundle/**/*" | |
], | |
"extraResources": [ | |
{ | |
"from": "./bundle/licenses-main.txt", | |
"to": "./licenses-main.txt" | |
}, | |
{ | |
"from": "./bundle/licenses-renderer.txt", | |
"to": "./licenses-renderer.txt" | |
} | |
], | |
"afterPack": "./scripts/after-pack.js", | |
"afterSign": "electron-builder-notarize", | |
"mac": { | |
"target": [ | |
"dmg", | |
"mas", | |
"zip" | |
], | |
"category": "public.app-category.lifestyle", | |
"darkModeSupport": true, | |
"electronLanguages": [ | |
"de", | |
"de_AT", | |
"de_CH", | |
"de_DE", | |
"el", | |
"en", | |
"en_AU", | |
"en_CA", | |
"en_GB", | |
"en_NZ", | |
"en_US", | |
"en_ZA", | |
"es", | |
"es_419", | |
"fr", | |
"fr_CA", | |
"fr_CH", | |
"fr_FR", | |
"is", | |
"it", | |
"it_CH", | |
"it_IT", | |
"nb", | |
"no", | |
"pt", | |
"pt_BR", | |
"pt_PT", | |
"tr", | |
"uk", | |
"zh", | |
"zh_CN", | |
"zh_TW" | |
], | |
"entitlements": "./build/entitlements.mac.plist", | |
"entitlementsInherit": "./build/entitlements.mac.plist", | |
"hardenedRuntime": true | |
}, | |
"mas": { | |
"entitlements": "./build/entitlements.mas.plist", | |
"entitlementsInherit": "./build/entitlements.mas.inherit.plist", | |
"hardenedRuntime": false | |
}, | |
"linux": { | |
"category": "Utility" | |
}, | |
"dmg": { | |
"icon": false | |
} | |
} | |
} |