This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update deps, switch to single package.json, switch to yarn, remove le…
…gacy config migration
- Loading branch information
Showing
11 changed files
with
3,211 additions
and
78 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 @@ | ||
node_modules | ||
**/node_modules |
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,4 @@ | ||
node_modules | ||
app/node_modules | ||
dist | ||
npm-debug.log* | ||
.DS_Store | ||
|
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,4 @@ | ||
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. | ||
version: v1.7.1 | ||
ignore: {} | ||
patch: {} |
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,30 +1,32 @@ | ||
dist: node_modules | ||
npm run dist | ||
PKG := $(shell command -v yarn 2> /dev/null || command -v npm 2> /dev/null) | ||
|
||
node_modules: package.json | ||
${PKG} install | ||
|
||
node_modules: package.json app/package.json | ||
npm install | ||
dist: node_modules | ||
${PKG} run dist | ||
|
||
clean: | ||
rm -Rf ./dist | ||
|
||
distclean: clean | ||
rm -Rf ./node_modules ./app/node_modules ./.nvm | ||
rm -Rf ./node_modules ./.nvm | ||
|
||
dev: node_modules | ||
npm run app | ||
${PKG} run app | ||
|
||
test: node_modules | ||
npm run test | ||
${PKG} run test | ||
|
||
mac: node_modules | ||
npm run mac | ||
${PKG} run mac | ||
|
||
win: node_modules | ||
npm run win | ||
${PKG} run win | ||
|
||
ci: test dist | ||
|
||
encryptenv: | ||
travis encrypt-file .travis.env --add | ||
|
||
.PHONY: dist clean distclean dev test ci | ||
.PHONY: dist clean distclean dev test mac win ci encryptenv |
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 was deleted.
Oops, something went wrong.
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,21 +1,43 @@ | ||
{ | ||
"name": "irccloud-desktop-build", | ||
"name": "irccloud-desktop", | ||
"productName": "IRCCloud", | ||
"description": "IRCCloud Desktop Client", | ||
"author": { | ||
"name": "IRCCloud Ltd.", | ||
"email": "team@irccloud.com", | ||
"url": "https://www.irccloud.com" | ||
}, | ||
"repository": "https://github.com/irccloud/irccloud-desktop", | ||
"license": "Apache-2.0", | ||
"version": "0.4.0", | ||
"main": "app/main.js", | ||
"scripts": { | ||
"postinstall": "install-app-deps", | ||
"postinstall": "electron-builder install-app-deps", | ||
"pack": "build", | ||
"dist": "build", | ||
"test": "eslint .", | ||
"app": "electron ./app", | ||
"app": "electron .", | ||
"mas": "build --mac mas", | ||
"mac": "build --mac dir", | ||
"dmg": "build --mac dmg", | ||
"win": "build --win nsis-web --ia32 --x64" | ||
"win": "build --win nsis-web --ia32 --x64", | ||
"test": "eslint . && snyk test" | ||
}, | ||
"devDependencies": { | ||
"electron-builder": "^13.9.0", | ||
"electron": "^1.4.15", | ||
"eslint": "^3.15.0", | ||
"devtron": "^1.4.0" | ||
"devtron": "^1.4.0", | ||
"electron": "^1.7.8", | ||
"electron-builder": "^19.31.1", | ||
"eslint": "^4.7.2", | ||
"snyk": "^1.41.1" | ||
}, | ||
"dependencies": {} | ||
"dependencies": { | ||
"electron-config": "^1.0.0", | ||
"electron-dl": "^1.10.0", | ||
"electron-is": "^2.4.0", | ||
"electron-log": "^2.2.9", | ||
"electron-spell-check-provider": "^1.1.0", | ||
"electron-updater": "^2.10.1", | ||
"lodash": "^4.17.4", | ||
"open": "0.0.5", | ||
"unused-filename": "^1.0.0" | ||
} | ||
} |
Oops, something went wrong.