Merge pull request #210 from sedge/standalone

Added standalone option to Filer's browserify build step
This commit is contained in:
Kieran Sedgwick 2014-05-28 15:38:30 -04:00
commit 2dfc0db153
1 changed files with 4 additions and 5 deletions

View File

@ -56,20 +56,19 @@ module.exports = function(grunt) {
src: "./src/index.js", src: "./src/index.js",
dest: "./dist/filer.js", dest: "./dist/filer.js",
options: { options: {
standalone: 'Filer',
browserifyOptions: { browserifyOptions: {
builtins: false, builtins: false,
commondir: false commondir: false
}, },
bundleOptions: {
standalone: 'Filer'
},
exclude: ["./node_modules/request/index.js"] exclude: ["./node_modules/request/index.js"]
} }
}, },
filerTest: { filerTest: {
src: "./tests/index.js", src: "./tests/index.js",
dest: "./dist/filer-test.js", dest: "./dist/filer-test.js"
options: {
standalone: 'FilerTest'
}
} }
}, },