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": { "scripts": {
"test": "grunt qunit", "test": "grunt qunit",
"prepublish": "npm run peg", "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" "testpeg": "npm run peg && node test/pegtest.js"
}, },
"devDependencies": { "devDependencies": {
@ -19,7 +19,7 @@
"grunt-contrib-watch": "~0.4.0", "grunt-contrib-watch": "~0.4.0",
"grunt-contrib-clean": "~0.4.0", "grunt-contrib-clean": "~0.4.0",
"grunt": "~0.4.1", "grunt": "~0.4.1",
"pegjs": "~0.7.0"
"pegjs": "git+https://github.com/dmajda/pegjs.git"
}, },
"dependencies": { "dependencies": {
"video.js": "~4.2.2", "video.js": "~4.2.2",

Loading…
Cancel
Save