Commit fabc115ec408aa86397386cdb395fb2f7ce3f297
Add html bundle script
Charles Lehner committed on 6/3/2016, 12:41:50 AMParent: 7bbb0b53aa02c9aeea1be2508f96b75d973cc6b9
Files changed
package.json | changed |
package.json | ||
---|---|---|
@@ -5,8 +5,9 @@ | ||
5 | 5 | "main": "index.js", |
6 | 6 | "author": "Charles Lehner (http://celehner.com/)", |
7 | 7 | "license": "Fair", |
8 | 8 | "scripts": { |
9 | + "bundle": "sed '/<script src=\"bundle.js\"><\\/script>/{ s/.*/<script>/; r bundle.js\na</script>\n}' index.html > bundle.html", | |
9 | 10 | "prepublish": "browserify . -o bundle.js" |
10 | 11 | }, |
11 | 12 | "devDependencies": { |
12 | 13 | "browserify": "^13.0.0", |
Built with git-ssb-web