Skip to content

Commit

Permalink
Set up electron builder publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
rkclark committed Apr 29, 2018
1 parent c665f12 commit 388979d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ jest_0

/dist

.env
.env
electron-builder.env
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Richard Kingsley Clark
Copyright (c) 2018 Rick Clark

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Run `npm test`.
### Other developer scripts

- `npm run serve`: Run a server that hosts the production files
- `npm run build`: Build the React/CSS production files
- `npm run react-build`: Build the React/CSS production files
- `npm run style`: Run the linter report
- `npm run style-fix`: Fix all auto-fixable lint errors
- `npm run precommit`: Runs the linter and test suite - used by Husky whenever a git commit is created
Expand Down
1 change: 1 addition & 0 deletions electron-builder.example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GH_TOKEN=**YOURGITHUBTOKEN**
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"author": "Rick Clark <[email protected]>",
"description": "Pull request monitoring app for Github",
"homepage": "./",
"repository": "https://github.com/rkclark/pullp",
"dependencies": {
"body-parser": "^1.17.2",
"cors": "^2.8.4",
Expand Down Expand Up @@ -87,22 +88,24 @@
"scripts": {
"start": "BROWSER=none node scripts/start.js",
"serve": "npm run build && node server",
"build": "node scripts/build.js",
"react-build": "node scripts/build.js",
"test": "node scripts/test.js --config .jestrc.json --env=jsdom",
"style": "eslint '**/*.js'",
"style-fix": "eslint --fix '**/*.js'",
"precommit": "npm run style && CI=true npm run test",
"electron": "NODE_ENV=production electron .",
"electron-dev": "ELECTRON_START_URL=http://localhost:3333 electron .",
"pack": "build --dir",
"dist": "npm run build && build"
"pack": "npm run react-build && build --dir",
"dist": "npm run react-build && build",
"ship": "npm run react-build && build --publish always"
},
"build": {
"appId": "com.rkclark.pullp",
"productName": "Pullp",
"directories": {
"buildResources": "public"
},
"copyright": "Copyright © year ${author}",
"dmg": {
"contents": [
{
Expand Down

0 comments on commit 388979d

Please sign in to comment.