diff --git a/package.json b/package.json index eb79735c5..a2f967f76 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,19 @@ "karma-qunit": "~0.1.1", "videojs-doc-generator": "0.0.1", "qunitjs": "~1.12.0", - "grunt-zip": "0.10.2" + "grunt-zip": "0.10.2", + "browserify-shim": "~3.2.2" + }, + "main": "./dist/video-js/video.dev.js", + "browser": { + "videojs": "./dist/video-js/video.js" + }, + "browserify-shim": { + "videojs": "window.videojs" + }, + "browserify": { + "transform": [ + "browserify-shim" + ] } }