-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
178 lines (178 loc) · 5.38 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "mdyna",
"version": "0.21.0",
"description": "A notes application with markdown support, build with React and Electron",
"homepage": "https://mdyna.dev",
"main": "index.js",
"scripts": {
"build-dist": " rimraf ./dist && cross-env NODE_ENV=PROD yarn build-electron && electron-builder -lw",
"build-dist-mac": "rimraf ./dist && cross-env NODE_ENV=PROD yarn build-electron && electron-builder -m",
"build-electron": "rimraf ./dist/web && cross-env NODE_ENV=PROD webpack --config webpack.config.electron.js",
"build-webpack": "rimraf ./dist/web && cross-env NODE_ENV=PROD webpack --optimize-minimize --config webpack.config.js",
"copy-package-files": "rimraf release && mkdir release && cp dist/*.AppImage release && cp dist/*.deb release && cp dist/*.exe release",
"create-icons": "electron-icon-maker --input=./resources/Logo.png --output=./resources/",
"electron-builder": "electron-builder",
"install-all": "rimraf ./node_modules && yarn install && cd app && rimraf ./node_modules && yarn install",
"pack-asar": "./node_modules/.bin/asar pack mdyna app.asar",
"pack-build": "yarn build-dist && yarn copy-package-files",
"publish-app": "yarn build-dist --publish always",
"publish-app-mac": "yarn build-dist-mac --publish always",
"reset": "yarn && cd app && yarn",
"start": "rimraf ./dist && cross-env NODE_ENV=DEV concurrently \"webpack-dev-server --hot --inline\" \"sleep 2 && electron ./index.js\"",
"start-electron": "yarn build-electron && cross-env NODE_ENV=PROD electron --debug ./index.js",
"test": "lint-staged",
"version:patch": "yarn version --new-version patch",
"version:minor": "yarn version --new-version minor",
"version:major": "yarn version --new-version major",
"watch": "webpack-dev-server --hot --inline"
},
"author": {
"name": "David Morais",
"email": "[email protected]"
},
"license": "MIT",
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"build": {
"productName": "MDyna",
"appId": "com.electron.mdyna",
"files": [
"dist/web/",
"node_modules/",
"splash.html",
"main/**",
"index.js",
"package.json",
"resources/icons/**",
"resources/**"
],
"directories": {
"app": ".",
"buildResources": "resources"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "resources/icons/win/icon.ico",
"publish": {
"provider": "github",
"releaseType": "release"
}
},
"mac": {
"category": "public.app-category.productivity",
"target": [
"pkg",
"dmg"
],
"icon": "icons/png",
"publish": {
"provider": "github",
"releaseType": "release"
}
},
"linux": {
"target": [
"deb",
"AppImage"
],
"icon": "icons/png",
"publish": {
"provider": "github",
"releaseType": "release"
},
"category": "Development"
}
},
"dependencies": {
"electron-devtools-installer": "^2.2.4",
"electron-log": "^2.2.17",
"electron-reload": "^1.2.2",
"electron-store": "^2.0.0",
"electron-updater": "^4.0.6",
"fs-jetpack": "^2.2.3",
"global": "^4.4.0",
"lodash": "^4.17.15",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0-beta.49",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0-beta.49",
"@babel/preset-react": "^7.0.0-beta.49",
"@welldone-software/why-did-you-render": "^4.0.0",
"asar": "^0.14.3",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.5",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"concurrently": "^3.5.1",
"copy-webpack-plugin": "4.0.1",
"cross-env": "^7.0.2",
"css-loader": "^2.1.1",
"electron": "^4.2.12",
"electron-builder": "^22.0.0",
"electron-devtools-installer": "^2.2.4",
"electron-icon-maker": "0.0.4",
"eslint": "^5.0.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-config-standard": "^10.2.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-standard": "^3.0.1",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^3.0.1",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"inuit-defaults": "^0.2.3",
"lint-staged": "^8.1.0",
"node-sass": "^4.11.0",
"prettier-eslint": "^9.0.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"svg-inline-loader": "^0.8.0",
"url-loader": "^1.1.2",
"webpack": "4.28.3",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "3.1.14",
"webpack-merge": "^4.2.1"
},
"repository": {
"type": "git",
"url": "https://github.com/Mdyna/Mdyna-app.git"
},
"keywords": [
"react",
"webpack",
"electron",
"babel",
"es6",
"markdown",
"notes",
"productivity",
"cross-platform",
"linux",
"macOS",
"mac",
"windows"
]
}