-
Notifications
You must be signed in to change notification settings - Fork 77
/
package.json
124 lines (124 loc) · 2.81 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
{
"name": "Taskr",
"version": "1.0.0",
"description": "A simple task manager app",
"main": "main/index.js",
"repository": "https://github.com/bukinoshita/taskr.git",
"author": "Bu Kinoshita <[email protected]>",
"license": "MIT",
"scripts": {
"start": "electron .",
"build": "next build renderer && next export renderer",
"dist": "npm run build && build --dir",
"prod": "electron-builder",
"test": "xo",
"postinstall": "electron-builder install-app-deps",
"precommit": "lint-staged"
},
"build": {
"appId": "taskr",
"files": [
"**/*",
"!renderer",
"renderer/out"
],
"win": {
"target": [
"squirrel"
],
"icon": "main/static/icon.ico"
},
"mac": {
"category": "public.app-category.developer-tools",
"icon": "main/static/icon.icns"
},
"linux": {
"target": [
"AppImage",
"deb"
]
}
},
"dependencies": {
"app-root-path": "^2.1.0",
"axios": "^0.18.1",
"babel-plugin-inline-dotenv": "^1.2.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"classnames": "^2.2.6",
"electron-is-dev": "^1.0.1",
"electron-next": "^3.1.5",
"fs-extra": "^7.0.1",
"ngprogress": "^1.1.3",
"nprogress": "^0.2.0",
"path-exists": "^3.0.0",
"prop-types": "^15.7.2",
"react-cookies": "^0.1.0",
"react-hash-avatar": "^0.0.2",
"react-render-html": "^0.6.0",
"react-sortable-hoc": "^1.6.1",
"uid-promise": "^1.1.0"
},
"devDependencies": {
"electron": "^4.0.6",
"electron-builder": "^20.38.5",
"electron-builder-squirrel-windows": "^20.39.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"next": "^8.0.3",
"prettier": "^1.16.4",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"xo": "^0.24.0"
},
"xo": {
"extends": [
"prettier",
"prettier/react",
"plugin:react/recommended"
],
"rules": {
"react/no-unescaped-entities": 0,
"react/react-in-jsx-scope": 0,
"react/display-name": 0,
"react/prop-types": 0,
"default-case": 0,
"no-case-declarations": 0,
"no-return-assign": 0,
"new-cap": 0,
"import/prefer-default-export": 0
},
"ignores": [
"node_modules"
],
"globals": [
"localStorage",
"document"
]
},
"lint-staged": {
"*.js": [
"yarn test",
"prettier --semi false --single-quote --write",
"git add"
]
},
"babel": {
"presets": [
"next/babel"
],
"env": {
"development": {
"plugins": [
"inline-dotenv"
]
},
"production": {
"plugins": [
"transform-inline-environment-variables"
]
}
}
}
}