package: add a license header to js bundle, fix license field in package.json
This commit is contained in:
parent
f55bb13fbb
commit
669f1c078f
3 changed files with 37 additions and 15 deletions
|
|
@ -3,11 +3,23 @@
|
|||
"productName": "Open Stage Control",
|
||||
"description": "A libre desktop OSC bi-directionnal control surface application.",
|
||||
"version": "0.20.3",
|
||||
"main": "index.js",
|
||||
"author": {
|
||||
"name": "Jean-Emmanuel Doucet / AMMD",
|
||||
"email": "jeannot@ammd.net"
|
||||
},
|
||||
"keywords": [
|
||||
"osc",
|
||||
"midi",
|
||||
"interface",
|
||||
"multi-touch"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jean-emmanuel/open-stage-control"
|
||||
},
|
||||
"homepage": "http://osc.ammd.net/",
|
||||
"license": "GPL-3.0",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"vmodule":"1.0.1",
|
||||
"electron-localshortcut": "2.0.2",
|
||||
|
|
@ -24,15 +36,5 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "6"
|
||||
},
|
||||
"keywords": [
|
||||
"osc",
|
||||
"interface",
|
||||
"multi-touch"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jean-emmanuel/open-stage-control"
|
||||
},
|
||||
"licence": "GPL-3.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
23
package.json
23
package.json
|
|
@ -1,6 +1,23 @@
|
|||
{
|
||||
"name": "open-stage-control-builder",
|
||||
"description": "A libre desktop OSC bi-directionnal control surface application - builder package",
|
||||
"description": "[Builder package] A libre desktop OSC bi-directionnal control surface application",
|
||||
"version": "0.20.3",
|
||||
"author": {
|
||||
"name": "Jean-Emmanuel Doucet / AMMD",
|
||||
"email": "jeannot@ammd.net"
|
||||
},
|
||||
"keywords": [
|
||||
"osc",
|
||||
"midi",
|
||||
"interface",
|
||||
"multi-touch"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jean-emmanuel/open-stage-control"
|
||||
},
|
||||
"homepage": "http://osc.ammd.net/",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"autolayout": "0.7.0",
|
||||
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
||||
|
|
@ -14,6 +31,7 @@
|
|||
"file-saver": "^1.3.3",
|
||||
"jquery": "3.2.1",
|
||||
"kiwi.js": "1.0.1",
|
||||
"licensify": "3.1.3",
|
||||
"mathjs": "3.16.3",
|
||||
"node-sass": "^4.5.3",
|
||||
"nodemon": "^1.12.0",
|
||||
|
|
@ -43,6 +61,5 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": "6"
|
||||
},
|
||||
"version": "0.20.3"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
var browserify = require('browserify'),
|
||||
licensify = require('licensify'),
|
||||
exorcist = require('exorcist'),
|
||||
path = require('path'),
|
||||
babelify = require('babelify'),
|
||||
|
|
@ -11,6 +12,8 @@ if (prod) console.warn('\x1b[36m%s\x1b[0m', 'Building minified js bundle for pro
|
|||
|
||||
b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:!fast})
|
||||
|
||||
b.plugin(licensify)
|
||||
|
||||
b = b.transform(babelify, {presets: ["es2015"], plugins: ["transform-object-rest-spread"]})
|
||||
|
||||
if (prod) b = b.transform('uglifyify', {global: true})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue