Add name/version to package.json

This commit is contained in:
CHaBou 2018-03-10 20:56:38 +01:00
parent 4a127ef83b
commit c5860f3174
No known key found for this signature in database
GPG key ID: EF8D073B729A0B33

View file

@ -1,5 +1,8 @@
{
"name": "hyper",
"version": "1.0.0",
"repository": "zeit/hyper",
"private": true,
"scripts": {
"start": "echo 'please run `yarn run dev` in one tab and then `yarn run app` in another one'",
"app": "electron app",
@ -12,19 +15,14 @@
"prepush": "yarn test",
"postinstall": "electron-builder install-app-deps && yarn run rebuild-node-pty && yarn --cwd node_modules/xterm",
"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"
"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"
},
"eslintConfig": {
"plugins": [
"react",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"prettier"
],
"plugins": ["react", "prettier"],
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
@ -41,10 +39,7 @@
"node": true
},
"rules": {
"func-names": [
"error",
"as-needed"
],
"func-names": ["error", "as-needed"],
"no-shadow": "error",
"no-extra-semi": 0,
"react/prop-types": 0,
@ -90,9 +85,7 @@
]
},
"babel": {
"presets": [
"react"
],
"presets": ["react"],
"env": {
"production": {
"plugins": [
@ -129,9 +122,7 @@
{
"from": "./build/${os}/",
"to": "./bin/",
"filter": [
"hyper*"
]
"filter": ["hyper*"]
}
],
"linux": {
@ -139,28 +130,20 @@
"target": [
{
"target": "deb",
"arch": [
"x64"
]
"arch": ["x64"]
},
{
"target": "AppImage",
"arch": [
"x64"
]
"arch": ["x64"]
},
{
"target": "rpm",
"arch": [
"x64"
]
"arch": ["x64"]
}
]
},
"win": {
"target": [
"squirrel"
]
"target": ["squirrel"]
},
"mac": {
"category": "public.app-category.developer-tools",
@ -174,9 +157,7 @@
},
"protocols": {
"name": "ssh URL",
"schemes": [
"ssh"
]
"schemes": ["ssh"]
}
},
"license": "MIT",