Skip to content

Commit

Permalink
fix: Fix mis-named dists and potentially breaking change in package.j…
Browse files Browse the repository at this point in the history
…son 'main' field. (#280)
  • Loading branch information
misteroneill authored and incompl committed Sep 1, 2017
1 parent 0da0c1c commit 7633161
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "videojs-contrib-ads",
"description": "A framework that provides common functionality needed by video advertisement libraries working with video.js.",
"main": "dist/videojs-contrib-ads.cjs.js",
"main": "dist/videojs.ads.js",
"module": "dist/videojs-contrib-ads.es.js",
"repository": {
"type": "git",
Expand All @@ -18,14 +18,14 @@
"build:css": "npm-run-all build:css:sass build:css:bannerize build:css:copy",
"build:css:bannerize": "bannerize dist/videojs-contrib-ads.css --banner=scripts/banner.ejs",
"build:css:sass": "node-sass src/plugin.scss dist/videojs-contrib-ads.css --output-style=compressed --linefeed=lf",
"build:css:copy": "cpy dist/videojs-contrib-ads.css dist/ --rename=video.ads.css",
"build:css:copy": "cpy dist/videojs-contrib-ads.css dist/ --rename=videojs.ads.css",
"build:js": "npm-run-all build:js:rollup-modules build:js:rollup-umd build:js:bannerize build:js:uglify build:js:copy build:js:copy-min",
"build:js:bannerize": "bannerize dist/videojs-contrib-ads.js --banner=scripts/banner.ejs",
"build:js:rollup-modules": "rollup -c scripts/modules.rollup.config.js",
"build:js:rollup-umd": "rollup -c scripts/umd.rollup.config.js",
"build:js:uglify": "uglifyjs dist/videojs-contrib-ads.js --comments --mangle --compress --ie8 -o dist/videojs-contrib-ads.min.js",
"build:js:copy": "cpy dist/videojs-contrib-ads.js dist/ --rename=video.ads.js",
"build:js:copy-min:": "cpy dist/videojs-contrib-ads.min.js dist/ --rename=video.ads.min.js",
"build:js:copy": "cpy dist/videojs-contrib-ads.js dist/ --rename=videojs.ads.js",
"build:js:copy-min:": "cpy dist/videojs-contrib-ads.min.js dist/ --rename=videojs.ads.min.js",
"build:test": "rollup -c scripts/test.rollup.config.js",
"clean": "rimraf dist test/dist",
"postclean": "mkdirp dist test/dist",
Expand Down

0 comments on commit 7633161

Please sign in to comment.