This repository has been archived by the owner on May 5, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated some dependencies and build scripts
- Loading branch information
Showing
14 changed files
with
2,250 additions
and
1,175 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
export NODE_ENV=production | ||
|
||
rm -R app | ||
mkdir app | ||
mkdir app/css | ||
touch app/css/style.css | ||
mkdir app/js | ||
touch app/js/app.js | ||
|
||
cp src/app/html/index.html app/index.html | ||
|
||
cp -r src/app/images app/images | ||
|
||
echo "starting browserify" | ||
node_modules/.bin/browserify -e src/app/js/index.js -o "app/js/app.js" -t [ babelify ] | ||
|
||
cp node_modules/codemirror/lib/codemirror.css src/app/css/_codemirror.css | ||
echo "starting node-sass" | ||
node_modules/.bin/node-sass src/app/css -o app/css | ||
rm src/app/css/_codemirror.css | ||
|
||
# echo "starting uglifyjs" | ||
# node_modules/.bin/uglifyjs -m -c -o app/js/app.js app/js/app.js | ||
|
||
echo "done" |
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,14 @@ | ||
#!/bin/bash | ||
|
||
export NODE_ENV=production | ||
|
||
rm -rf dist | ||
|
||
bash .bin/builder-js.sh | ||
|
||
cp -r src/electron/* app | ||
|
||
echo "starting electron-packager" | ||
node_modules/.bin/electron-builder -mlw | ||
|
||
echo "done" |
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,13 +1,7 @@ | ||
#!/bin/bash | ||
|
||
bash .bin/build.sh | ||
bash .bin/builder-js.sh | ||
|
||
echo "copying package.json" | ||
cp build_package.json app/package.json | ||
cd app | ||
echo "installing dependencies" | ||
yarn | ||
cd .. | ||
echo "packaging asar" | ||
node_modules/.bin/asar p app app.asar | ||
echo "done" | ||
cp -r src/electron/* app | ||
|
||
node_modules/.bin/electron . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ node_modules/ | |
/packages/ | ||
DS_Store | ||
idea | ||
.vscode | ||
.vscode | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
productName: socket.io tester | ||
directories: | ||
buildResources: icons | ||
output: dist |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.