diff --git a/package.json b/package.json index 9662960..895ea71 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "type": "git", "url": "git+https://github.com/MattouFP/chaos.git" }, + "scripts": { + "build": "browserify -t [ babelify --presets [ es2015 ] ] scripts/index.js > bundle.js" + }, "keywords": [ "chaos", "fractals", @@ -16,5 +19,10 @@ "bugs": { "url": "https://github.com/MattouFP/chaos/issues" }, - "homepage": "https://github.com/MattouFP/chaos#readme" + "homepage": "https://github.com/MattouFP/chaos#readme", + "dependencies": { + "babel-preset-es2015": "^6.3.13", + "babelify": "^7.2.0", + "browserify": "^12.0.1" + } }