This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite the generator to be much more comprehensive
- Loading branch information
1 parent
e59650f
commit 1aa7226
Showing
25 changed files
with
507 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
* text=auto | ||
*.js text eol=lf | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
yarn.lock | ||
temp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- '6' | ||
- '4' | ||
- '12' | ||
- '10' | ||
- '8' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,75 @@ | ||
{ | ||
"name": "<%= appName %>", | ||
"productName": "<%= classifiedAppName %>", | ||
"version": "0.0.0", | ||
"description": "My <%= superb %> app", | ||
"license": "MIT", | ||
"repository": "<%= githubUsername %>/<%= appName %>", | ||
"author": { | ||
"name": "<%= name %>", | ||
"email": "<%= email %>", | ||
"url": "<%= humanizedWebsite %>" | ||
}, | ||
"scripts": { | ||
"test": "xo", | ||
"start": "electron .", | ||
"build": "electron-packager . --out=dist --asar --overwrite --all" | ||
}, | ||
"dependencies": { | ||
"electron-debug": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"devtron": "^1.1.0", | ||
"electron-packager": "^8.0.0", | ||
"electron": "^1.6.6", | ||
"xo": "^0.18.0" | ||
}, | ||
"xo": { | ||
"envs": [ | ||
"node", | ||
"browser" | ||
] | ||
} | ||
"name": "<%= slugifiedAppName %>", | ||
"productName": "<%= appName %>", | ||
"version": "0.0.0", | ||
"description": "My <%= superb %> app", | ||
"license": "MIT", | ||
"repository": "<%= githubUsername %>/<%= slugifiedAppName %>", | ||
"author": { | ||
"name": "<%= name %>", | ||
"email": "<%= email %>", | ||
"url": "<%= humanizedWebsite %>" | ||
}, | ||
"scripts": { | ||
"postinstall": "electron-builder install-app-deps", | ||
"lint": "xo", | ||
"test": "npm run lint", | ||
"start": "electron .", | ||
"pack": "electron-builder --dir", | ||
"dist": "electron-builder --macos --linux --windows", | ||
"release": "np" | ||
}, | ||
"dependencies": { | ||
"electron-context-menu": "^0.12.1", | ||
"electron-debug": "^3.0.0", | ||
"electron-store": "^3.3.0", | ||
"electron-unhandled": "^2.2.0", | ||
"electron-updater": "^4.0.6", | ||
"electron-util": "^0.12.0" | ||
}, | ||
"devDependencies": { | ||
"electron": "^5.0.4", | ||
"electron-builder": "^20.43.0", | ||
"np": "^5.0.3", | ||
"xo": "^0.24.0" | ||
}, | ||
"xo": { | ||
"envs": [ | ||
"node", | ||
"browser" | ||
] | ||
}, | ||
"np": { | ||
"publish": false, | ||
"releaseDraft": false | ||
}, | ||
"build": { | ||
"appId": "com.<%= githubUsername %>.<%= slugifiedAppName %>", | ||
"mac": { | ||
"category": "public.app-category.social-networking", | ||
"darkModeSupport": true | ||
}, | ||
"dmg": { | ||
"iconSize": 160, | ||
"contents": [ | ||
{ | ||
"x": 180, | ||
"y": 170 | ||
}, | ||
{ | ||
"x": 480, | ||
"y": 170, | ||
"type": "link", | ||
"path": "/Applications" | ||
} | ||
] | ||
}, | ||
"linux": { | ||
"target": [ | ||
"AppImage", | ||
"deb" | ||
], | ||
"category": "Network;Chat" | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
'use strict'; | ||
const Store = require('electron-store'); | ||
|
||
module.exports = new Store({ | ||
defaults: { | ||
favoriteAnimal: '🦄' | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
* text=auto | ||
*.js text eol=lf | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
yarn.lock | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.