Created
April 29, 2016 20:16
-
-
Save subhaze/83f6dd2cb3661b018a15c82d647a0d0b to your computer and use it in GitHub Desktop.
ES2015 Build with npm/CodeKit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
browserify src/main.js -t babelify > dist/main.js | |
osascript -e 'display notification "npm run build completed" with title "CodeKit Hook"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ES-Builder", | |
"version": "1.0.0", | |
"description": "", | |
"main": "", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"build": "./codekit-babel.hook.sh" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC", | |
"dependencies": {}, | |
"devDependencies": { | |
"babel": "5.8.23", | |
"babelify": "6.4.0", | |
"browserify": "13.0.0", | |
"uglify-js": "2.6.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment