new: Add build script for JS

new: Add es6 version of misp.js
chg: Removed plain JS
pull/2129/head
Hannah Ward 2017-04-11 16:32:46 +01:00
parent d1d7d0c632
commit 8f556ecfe9
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build":"browserify -t [ babelify --presets [ es2015 ] ] misp.js.es6 -o misp.js"
},
"repository": {
"type": "git",