2016-06-30 22:01:04 -08:00
|
|
|
{
|
2016-10-06 07:28:43 -08:00
|
|
|
"repository": "zeit/hyper",
|
2016-10-17 00:29:12 -08:00
|
|
|
"scripts": {
|
2016-11-22 02:59:55 -09:00
|
|
|
"start": "echo 'please run `npm run dev` in one tab and then `npm run app` in another one'",
|
2016-10-17 00:29:12 -08:00
|
|
|
"app": "electron app",
|
|
|
|
|
"dev": "webpack -w",
|
2016-11-11 08:18:04 -09:00
|
|
|
"build": "cross-env NODE_ENV=production webpack",
|
2016-11-22 03:42:06 -09:00
|
|
|
"lint": "xo",
|
2016-12-07 05:43:55 -09:00
|
|
|
"test": "npm run lint",
|
2017-02-16 09:44:44 -09:00
|
|
|
"test:unit": "ava test/unit",
|
|
|
|
|
"test:unit:watch": "npm run test:unit -- --watch",
|
2016-10-17 00:29:12 -08:00
|
|
|
"prepush": "npm test",
|
2017-01-21 14:50:56 -09:00
|
|
|
"postinstall": "install-app-deps && npm run rebuild-node-pty",
|
2017-01-15 06:23:02 -09:00
|
|
|
"rebuild-node-pty": "electron-rebuild -f -w app/node_modules/node-pty -m app",
|
2017-01-12 11:47:04 -09:00
|
|
|
"dist": "npm run build && cross-env BABEL_ENV=production babel --out-file app/dist/bundle.js --no-comments --minified app/dist/bundle.js && build",
|
2017-01-09 17:37:46 -09:00
|
|
|
"clean": "npm cache clear && rm -rf node_modules && rm -rf app/node_modules && rm -rf app/dist"
|
2016-06-30 22:01:04 -08:00
|
|
|
},
|
2016-09-21 06:27:11 -08:00
|
|
|
"xo": {
|
|
|
|
|
"extends": "xo-react",
|
|
|
|
|
"esnext": true,
|
|
|
|
|
"space": true,
|
|
|
|
|
"env": [
|
|
|
|
|
"browser",
|
2016-10-17 00:24:10 -08:00
|
|
|
"node"
|
2016-07-24 09:59:21 -08:00
|
|
|
],
|
2016-06-30 22:01:04 -08:00
|
|
|
"rules": {
|
2016-10-12 17:35:44 -08:00
|
|
|
"new-cap": 0,
|
2016-09-21 06:27:11 -08:00
|
|
|
"complexity": 0,
|
2016-10-12 17:35:44 -08:00
|
|
|
"react/prop-types": 0,
|
2017-01-11 14:54:08 -09:00
|
|
|
"react/jsx-no-bind": 0,
|
|
|
|
|
"linebreak-style": 0
|
2016-08-03 11:39:58 -08:00
|
|
|
},
|
2016-10-17 00:26:05 -08:00
|
|
|
"ignores": [
|
|
|
|
|
"build/**",
|
|
|
|
|
"app/dist/**",
|
|
|
|
|
"app/static/**",
|
2017-01-27 17:45:42 -09:00
|
|
|
"assets/**",
|
|
|
|
|
"website/**"
|
2016-09-21 06:27:11 -08:00
|
|
|
]
|
2016-06-30 22:01:04 -08:00
|
|
|
},
|
2016-07-24 09:59:21 -08:00
|
|
|
"babel": {
|
|
|
|
|
"presets": [
|
|
|
|
|
"react"
|
2017-01-09 12:32:15 -09:00
|
|
|
],
|
|
|
|
|
"env": {
|
|
|
|
|
"production": {
|
2017-02-15 17:09:14 -09:00
|
|
|
"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"
|
2017-01-09 12:32:15 -09:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-07-24 09:59:21 -08:00
|
|
|
},
|
|
|
|
|
"build": {
|
2016-10-06 07:28:43 -08:00
|
|
|
"appId": "co.zeit.hyper",
|
2016-07-24 10:10:30 -08:00
|
|
|
"asar": false,
|
2016-07-25 15:41:24 -08:00
|
|
|
"extend-info": "build/Info.plist",
|
|
|
|
|
"linux": {
|
2016-10-17 00:23:58 -08:00
|
|
|
"arch": [
|
|
|
|
|
"ia32",
|
|
|
|
|
"x64"
|
|
|
|
|
],
|
2016-07-26 16:11:40 -08:00
|
|
|
"target": [
|
|
|
|
|
"deb",
|
2016-11-19 11:56:04 -09:00
|
|
|
"AppImage",
|
2017-03-18 15:08:32 -08:00
|
|
|
"rpm",
|
|
|
|
|
"snap"
|
2016-07-26 16:11:40 -08:00
|
|
|
]
|
2016-09-14 23:36:48 -08:00
|
|
|
},
|
2016-11-16 03:01:02 -09:00
|
|
|
"win": {
|
|
|
|
|
"target": [
|
|
|
|
|
"squirrel"
|
|
|
|
|
]
|
|
|
|
|
},
|
2016-09-14 23:36:48 -08:00
|
|
|
"mac": {
|
|
|
|
|
"category": "public.app-category.developer-tools"
|
2017-02-16 08:23:18 -09:00
|
|
|
},
|
|
|
|
|
"snap": {
|
|
|
|
|
"confinement": "classic",
|
|
|
|
|
"grade": "stable"
|
2016-07-25 15:41:24 -08:00
|
|
|
}
|
2016-07-24 09:59:21 -08:00
|
|
|
},
|
2016-10-17 00:29:12 -08:00
|
|
|
"license": "MIT",
|
|
|
|
|
"author": {
|
|
|
|
|
"name": "Zeit, Inc.",
|
|
|
|
|
"email": "team@zeit.co"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"aphrodite-simple": "0.4.1",
|
2016-11-04 13:21:36 -08:00
|
|
|
"color": "0.11.4",
|
2016-10-17 00:29:12 -08:00
|
|
|
"hterm-umdjs": "1.1.3",
|
|
|
|
|
"json-loader": "0.5.4",
|
|
|
|
|
"mousetrap": "1.6.0",
|
2016-10-25 04:51:32 -08:00
|
|
|
"ms": "0.7.2",
|
2016-10-17 00:29:12 -08:00
|
|
|
"object-values": "1.0.0",
|
|
|
|
|
"php-escape-shell": "1.0.0",
|
|
|
|
|
"react": "15.3.2",
|
|
|
|
|
"react-addons-pure-render-mixin": "15.3.2",
|
|
|
|
|
"react-deep-force-update": "2.0.1",
|
|
|
|
|
"react-dom": "15.3.2",
|
2016-11-19 11:11:59 -09:00
|
|
|
"react-redux": "4.4.6",
|
2016-10-17 00:29:12 -08:00
|
|
|
"redux": "3.6.0",
|
|
|
|
|
"redux-thunk": "2.1.0",
|
|
|
|
|
"reselect": "2.5.4",
|
2017-03-20 10:14:49 -08:00
|
|
|
"runes": "0.3.0",
|
2016-10-17 00:29:12 -08:00
|
|
|
"seamless-immutable": "6.1.3",
|
|
|
|
|
"semver": "5.3.0",
|
2017-01-09 12:32:15 -09:00
|
|
|
"uuid": "3.0.0"
|
2016-10-17 00:29:12 -08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2017-03-20 10:14:49 -08:00
|
|
|
"ava": "0.17.0",
|
|
|
|
|
"babel-cli": "6.18.0",
|
|
|
|
|
"babel-core": "6.18.0",
|
|
|
|
|
"babel-loader": "6.2.10",
|
|
|
|
|
"babel-preset-babili": "0.0.9",
|
|
|
|
|
"babel-preset-react": "6.16.0",
|
|
|
|
|
"copy-webpack-plugin": "4.0.0",
|
2016-11-11 08:18:04 -09:00
|
|
|
"cross-env": "3.1.3",
|
2017-03-17 16:17:12 -08:00
|
|
|
"electron": "1.6.2",
|
2017-02-16 08:23:18 -09:00
|
|
|
"electron-builder": "13.6.0",
|
2017-03-20 10:14:49 -08:00
|
|
|
"electron-devtools-installer": "2.0.0",
|
2017-01-15 06:23:02 -09:00
|
|
|
"electron-rebuild": "1.5.6",
|
2017-02-17 10:49:12 -09:00
|
|
|
"electron-builder-squirrel-windows": "13.6.1",
|
2017-03-20 10:14:49 -08:00
|
|
|
"eslint-config-xo-react": "0.10.0",
|
|
|
|
|
"eslint-plugin-react": "6.7.1",
|
|
|
|
|
"husky": "0.11.6",
|
|
|
|
|
"redux-logger": "2.6.1",
|
|
|
|
|
"spectron": "3.4.0",
|
2017-03-17 16:17:12 -08:00
|
|
|
"webpack": "2.2.1",
|
2017-03-20 10:14:49 -08:00
|
|
|
"xo": "0.17.1"
|
2016-06-30 22:01:04 -08:00
|
|
|
}
|
|
|
|
|
}
|