Skip to content

Commit

Permalink
added typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Zagoskin committed Feb 22, 2014
1 parent c531453 commit 8a3c7ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bundlr",
"version": "0.1.1",
"version": "0.2.1",
"description": "Creates bundled .js source from one entry file. Optionally will write the file to the filesystem.",
"main": "index.js",
"dependencies": {
Expand All @@ -9,7 +9,8 @@
"coffeeify": "~0.5.2",
"uglify-js": "~2.3.6",
"through": "~2.3.4",
"browserify-htmlr": "~0.0.3"
"browserify-htmlr": "~0.0.3",
"typify": "~0.2.5"
},
"devDependencies": {},
"repository": "[email protected]:pr1ntr/bundlr.git",
Expand Down
2 changes: 2 additions & 0 deletions src/bundlr.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ uglify = require('uglify-js')
mime = require('mime')
through = require('through')
fs = require('fs')
typify = require('typify')
htmlr = require('browserify-htmlr')


Expand All @@ -23,6 +24,7 @@ module.exports = bundlr = (opts) ->
b = browserify()

b.transform(coffeeify)
b.transform(typify)
b.transform(htmlr)

b.transform (filename) ->
Expand Down

2 comments on commit 8a3c7ac

@phadej
Copy link

@phadej phadej commented on 8a3c7ac Mar 26, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typify is no related with typescript...

@pr1ntr
Copy link
Owner

@pr1ntr pr1ntr commented on 8a3c7ac Apr 4, 2014 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.