import initial

This commit is contained in:
pg 2015-10-09 22:01:13 +02:00
parent 6bc6e62ac5
commit e410768e42

View File

@ -9,12 +9,12 @@
"clean": "rm -Rf ./dist", "clean": "rm -Rf ./dist",
"clean:osx": "rm -Rf ./dist/osx", "clean:osx": "rm -Rf ./dist/osx",
"clean:win": "rm -Rf ./dist/win", "clean:win": "rm -Rf ./dist/win",
"build": "npm run clean && npm run build:ui && npm run build:osx && npm run build:win", "build": "npm run clean && npm run build:ui && npm run build:osx && npm run build:win && npm run build:nix",
"build:ui": "mkdir -p ./ui/css && lessc ./ui/less/main.less ./ui/css/main.css", "build:ui": "mkdir -p ./ui/css && lessc ./ui/less/main.less ./ui/css/main.css",
"build:icon": "./scripts/make-icns.sh assets/icon1024.png assets/osx/patchwork.icns", "build:icon": "./scripts/make-icns.sh assets/icon1024.png assets/osx/patchwork.icns",
"build:osx": "electron-packager ./ Patchwork --out=dist/osx --platform=darwin --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/patchwork.icns", "build:osx": "electron-packager ./ Patchwork --out=dist/osx --platform=darwin --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/patchwork.icns",
"build:win": "electron-packager ./ Patchwork --out=dist/win --platform=win32 --arch=ia32 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/win/patchwork.ico", "build:win": "electron-packager ./ Patchwork --out=dist/win --platform=win32 --arch=ia32 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/win/patchwork.ico --ignore=Patchwork.app",
"build:nix": "electron-packager ./ patchwork --out=dist/linux --platform=linux --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/patchwork.icns", "build:nix": "electron-packager ./ patchwork --out=dist/linux --platform=linux --arch=x64 --ignore=node_modules/electron* --version=0.28.3 --icon=assets/osx/patchwork.icns --ignore=Patchwork.app",
"pack": "npm run pack:osx && npm run pack:win", "pack": "npm run pack:osx && npm run pack:win",
"pack:osx": "electron-builder \"dist/osx/Patchwork.app\" --platform=osx --out=\"dist/osx\" --config=packager.json", "pack:osx": "electron-builder \"dist/osx/Patchwork.app\" --platform=osx --out=\"dist/osx\" --config=packager.json",
"pack:win": "electron-builder \"dist/win/Patchwork-win32\" --platform=win --out=\"dist/win\" --config=packager.json" "pack:win": "electron-builder \"dist/win/Patchwork-win32\" --platform=win --out=\"dist/win\" --config=packager.json"