package: update deps & remove non-free ffmpeg from package
This commit is contained in:
parent
fc88b086c3
commit
74a8ea9266
4 changed files with 31 additions and 11 deletions
|
|
@ -7,7 +7,9 @@
|
|||
- ui
|
||||
- add iOS fullscreen support via add-to-home feature
|
||||
- editor
|
||||
- ask for confirmation when closing or refreshing a the page if the editor has been enabled at least once
|
||||
- ask for confirmation when closing or refreshing a the page if the editor has been enabled at least once
|
||||
- misc
|
||||
- remove proprietary ffmepg codec from package
|
||||
|
||||
## 0.24.2
|
||||
|
||||
|
|
|
|||
|
|
@ -22,14 +22,14 @@
|
|||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"bonjour": "^3.5.0",
|
||||
"chokidar": "2.0.1",
|
||||
"chokidar": "2.0.2",
|
||||
"electron-localshortcut": "3.1.0",
|
||||
"express": "4.16.2",
|
||||
"jquery": "3.3.1",
|
||||
"osc": "2.2.0",
|
||||
"python-shell": "0.4.0",
|
||||
"python-shell": "0.5.0",
|
||||
"vmodule": "1.0.1",
|
||||
"ws": "^4.0.0",
|
||||
"ws": "^4.1.0",
|
||||
"yargs": "11.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
|||
15
package.json
15
package.json
|
|
@ -24,23 +24,24 @@
|
|||
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
||||
"babel-preset-env": "*",
|
||||
"babelify": "8.0.0",
|
||||
"browserify": "16.0.0",
|
||||
"browserify": "16.1.0",
|
||||
"cardinal-spline-js": "2.3.6",
|
||||
"deep-extend": "^0.5.0",
|
||||
"electron": "~1.8.2",
|
||||
"electron-packager": "11.0.0",
|
||||
"exorcist": "1.0.0",
|
||||
"electron-packager": "11.0.1",
|
||||
"electron-packager-plugin-non-proprietary-codecs-ffmpeg": "^1.0.1",
|
||||
"exorcist": "1.0.1",
|
||||
"file-saver": "1.3.3",
|
||||
"jquery": "3.3.1",
|
||||
"json5": "0.5.1",
|
||||
"keyboardjs": "jean-emmanuel/KeyboardJS",
|
||||
"kiwi.js": "1.0.1",
|
||||
"licensify": "3.1.3",
|
||||
"mathjs": "^4.0.0-rc.1",
|
||||
"mathjs": "^4.0.0",
|
||||
"minimatch": "^3.0.4",
|
||||
"nanomorph": "^5.1.3",
|
||||
"node-sass": "4.7.2",
|
||||
"nodemon": "1.14.12",
|
||||
"nodemon": "1.15.1",
|
||||
"scope-css": "^1.0.5",
|
||||
"screenfull": "3.3.2",
|
||||
"shortid": "2.2.8",
|
||||
|
|
@ -50,13 +51,13 @@
|
|||
"wolfy87-eventemitter": "^5.2.4"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"electron-installer-debian": "0.8.0"
|
||||
"electron-installer-debian": "0.8.1"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "cp resources/images/logo-nobadge.png app/browser/favicon.png && cp resources/images/logo.png app/browser/logo.png && cd app && npm install",
|
||||
"start": "cd app && npm start --",
|
||||
"build": "npm run build-css && npm run build-js && echo 'JS and CSS assets built. To build the binary package, run \"npm run package\".'",
|
||||
"package": "npm run build-css && npm run build-js -- --prod && electron-packager ./app open-stage-control --platform=$PLATFORM --arch=$ARCH --out dist/ --icon=resources/images/logo --overwrite --no-prune --ignore \"node_modules/(serialport|uws)\"",
|
||||
"package": "npm run build-css && npm run build-js -- --prod && node scripts/package.js",
|
||||
"deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/open-stage-control-linux-ia32/ --icon resources/images/logo.png",
|
||||
"deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/ --icon resources/images/logo.png",
|
||||
"debarm": "electron-installer-debian --src dist/open-stage-control-linux-armv7l/ --arch armv7l --dest dist/open-stage-control-linux-armv7l/ --icon resources/images/logo.png",
|
||||
|
|
|
|||
17
scripts/package.js
Normal file
17
scripts/package.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
const packager = require('electron-packager'),
|
||||
path = require('path'),
|
||||
appData = require('../app/package.json'),
|
||||
safeFFMPEG = require('electron-packager-plugin-non-proprietary-codecs-ffmpeg').default
|
||||
|
||||
packager({
|
||||
dir: path.resolve(__dirname + '/../app'),
|
||||
name: appData.name,
|
||||
platform: process.env.PLATFORM,
|
||||
arch: process.env.ARCH,
|
||||
overwrite: true,
|
||||
out: path.resolve(__dirname + '/../dist'),
|
||||
icon: path.resolve(__dirname + '/../resources/images/logo'),
|
||||
ignore: /node_modules\/(serialport|uws)/,
|
||||
afterExtract: [safeFFMPEG],
|
||||
prune: false
|
||||
}, ()=>{})
|
||||
Loading…
Add table
Add a link
Reference in a new issue