forked from vercel/hyper
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
164 lines (164 loc) · 4.24 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
{
"repository": "zeit/hyper",
"scripts": {
"start": "echo 'please run `yarn run dev` in one tab and then `yarn run app` in another one'",
"app": "electron app",
"dev": "webpack -w",
"build": "cross-env NODE_ENV=production webpack",
"lint": "xo",
"test": "yarn run lint",
"test:unit": "ava test/unit",
"test:unit:watch": "yarn run test:unit -- --watch",
"prepush": "yarn test",
"postinstall": "electron-builder install-app-deps && yarn run rebuild-node-pty",
"rebuild-node-pty": "electron-rebuild -f -w app/node_modules/node-pty -m app",
"dist": "yarn run build && cross-env BABEL_ENV=production babel --out-file app/renderer/bundle.js --no-comments --minified app/renderer/bundle.js && build",
"clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer"
},
"xo": {
"extends": "xo-react",
"esnext": true,
"space": true,
"env": [
"browser",
"node"
],
"rules": {
"new-cap": 0,
"complexity": 0,
"react/prop-types": 0,
"react/jsx-no-bind": 0,
"linebreak-style": 0,
"import/no-extraneous-dependencies": 0,
"capitalized-comments": 0,
"react/jsx-closing-tag-location": 0,
"react/jsx-closing-bracket-location": 0
},
"ignores": [
"build/**",
"app/renderer/**",
"app/static/**",
"app/bin/**",
"assets/**",
"website/**",
"bin/**"
]
},
"babel": {
"presets": [
"react"
],
"env": {
"production": {
"plugins": [
"minify-constant-folding",
"minify-dead-code-elimination",
"minify-flip-comparisons",
"minify-guarded-expressions",
"minify-infinity",
[
"minify-mangle-names",
{
"keepClassName": true,
"keepFnName": true
}
],
"minify-replace",
"minify-simplify",
"minify-type-constructors",
"transform-member-expression-literals",
"transform-merge-sibling-variables",
"transform-minify-booleans",
"transform-property-literals",
"transform-simplify-comparison-operators",
"transform-undefined-to-void"
]
}
}
},
"build": {
"appId": "co.zeit.hyper",
"extraResources": "./bin/yarn-standalone.js",
"linux": {
"category": "TerminalEmulator",
"target": [
{
"target": "deb",
"arch": [
"x64"
]
},
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "rpm",
"arch": [
"x64"
]
}
]
},
"win": {
"target": [
"squirrel"
]
},
"mac": {
"category": "public.app-category.developer-tools",
"extendInfo": "build/Info.plist"
}
},
"license": "MIT",
"author": {
"name": "Zeit, Inc.",
"email": "[email protected]"
},
"dependencies": {
"aphrodite-simple": "0.4.1",
"color": "2.0.0",
"hterm-umdjs": "1.1.3",
"json-loader": "0.5.7",
"mousetrap": "1.6.1",
"ms": "2.0.0",
"php-escape-shell": "1.0.0",
"react": "15.6.1",
"react-deep-force-update": "2.0.1",
"react-dom": "15.6.1",
"react-redux": "5.0.6",
"redux": "3.7.2",
"redux-thunk": "2.2.0",
"reselect": "3.0.1",
"runes": "0.4.2",
"seamless-immutable": "7.1.2",
"semver": "5.4.1",
"uuid": "3.1.0"
},
"devDependencies": {
"ava": "0.22.0",
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-loader": "7.1.2",
"babel-preset-babili": "0.1.4",
"babel-preset-react": "6.24.1",
"copy-webpack-plugin": "4.0.1",
"cross-env": "5.0.5",
"electron": "1.7.9",
"electron-builder": "19.27.2",
"electron-builder-squirrel-windows": "19.25.0",
"electron-devtools-installer": "2.2.0",
"electron-rebuild": "1.6.0",
"eslint-config-xo-react": "0.13.0",
"eslint-plugin-react": "7.3.0",
"husky": "0.14.3",
"inquirer": "3.3.0",
"node-gyp": "3.6.2",
"redux-logger": "3.0.6",
"spectron": "3.7.2",
"webpack": "3.5.5",
"xo": "0.18.2"
}
}