Browse Source

make it export to both variable and module

pull/80/head
Gary Katsevman 12 years ago
parent
commit
3f975913a5
  1. 4
      package.json

4
package.json

@ -8,7 +8,7 @@
"scripts": {
"test": "grunt qunit",
"prepublish": "npm run peg",
"peg": "pegjs src/m3u8/m3u8.pegjs src/m3u8/m3u8-generated.js",
"peg": "pegjs -e 'var M3U8Parser = module.exports' src/m3u8/m3u8.pegjs src/m3u8/m3u8-generated.js",
"testpeg": "npm run peg && node test/pegtest.js"
},
"devDependencies": {
@ -19,7 +19,7 @@
"grunt-contrib-watch": "~0.4.0",
"grunt-contrib-clean": "~0.4.0",
"grunt": "~0.4.1",
"pegjs": "~0.7.0"
"pegjs": "git+https://github.com/dmajda/pegjs.git"
},
"dependencies": {
"video.js": "~4.2.2",

Loading…
Cancel
Save