forked from samuelmeuli/mini-diary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) Β· 3.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "mini-diary",
"productName": "Mini Diary",
"version": "1.2.0",
"description": "Simple and secure journal app",
"main": "bundle/main.js",
"author": "Samuel Meuli <[email protected]>",
"repository": "github:samuelmeuli/mini-diary",
"homepage": "https://minidiary.app",
"license": "MIT",
"private": true,
"scripts": {
"postinstall": "electron-builder install-app-deps",
"start": "npm-run-all start:webpack --parallel start:webpack-watch start:electron",
"start:webpack": "webpack --mode development",
"start:webpack-watch": "webpack --mode development --watch",
"start:electron": "electron .",
"format:any": "prettier --ignore-path .gitignore --print-width 100 --write",
"format:js": "prettier --ignore-path .gitignore --print-width 100 --single-quote --write",
"lint:css": "stylelint",
"lint:scss": "stylelint --syntax scss",
"lint:js": "eslint --ext .html,.js",
"pack": "electron-builder --dir",
"build": "run-s build:*",
"build:clean": "rm -rf bundle dist",
"build:webpack": "webpack --mode production",
"build:electron": "electron-builder -mwl",
"release": "run-s build:clean build:webpack \"build:electron --publish always\"",
"website": "run-s website:*",
"website:build": "cp node_modules/minireset.css/minireset.min.css website/styles/",
"website:serve": "serve website --listen 3000"
},
"dependencies": {
"elasticlunr": "^0.9.5",
"electron-debug": "^2.0.0",
"electron-is": "^3.0.0",
"electron-md-to-pdf": "^1.0.1",
"electron-settings": "^3.2.0",
"electron-updater": "^4.0.6",
"feather-icons": "^4.9.0",
"lodash.debounce": "^4.0.8",
"minireset.css": "^0.0.4",
"moment": "^2.22.2",
"prop-types": "^15.6.2",
"react": "^16.4.1",
"react-autosize-textarea": "^6.0.0",
"react-day-picker": "https://github.com/samuelmeuli/react-day-picker",
"react-dom": "^16.4.1",
"react-redux": "^6.0.0",
"react-simple-svg": "^1.0.2",
"redux": "^4.0.0",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.4",
"copy-webpack-plugin": "^4.6.0",
"css-loader": "^2.0.0",
"electron": "^4.0.1",
"electron-builder": "^20.38.2",
"eslint": "^5.6.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-html": "^5.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.10.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.0.1",
"lint-staged": "^8.1.0",
"node-sass": "^4.9.2",
"npm-run-all": "^4.1.3",
"prettier": "^1.16.1",
"sass-loader": "^7.0.3",
"serve": "^10.1.1",
"style-loader": "^0.23.0",
"stylelint": "^9.6.0",
"stylelint-config-primer": "^3.0.1",
"svg-inline-loader": "^0.8.0",
"url-loader": "^1.1.1",
"webpack": "^4.16.1",
"webpack-cli": "^3.0.8"
},
"build": {
"appId": "com.samuelmeuli.minidiary",
"mac": {
"target": [
"dmg",
"mas",
"zip"
],
"category": "public.app-category.lifestyle",
"darkModeSupport": true,
"electronLanguages": [
"de",
"en",
"es",
"fr",
"pt"
]
},
"linux": {
"category": "Office"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{html,js}": [
"yarn format:js",
"yarn lint:js",
"git add"
],
"*.css": [
"yarn format:any",
"yarn lint:css",
"git add"
],
"*.scss": [
"yarn format:any",
"yarn lint:scss",
"git add"
],
"*.{json,md,yml}": [
"yarn format:any",
"git add"
]
}
}