From b599b867aceb695ec913e98b49274421b6b9776a Mon Sep 17 00:00:00 2001 From: Silvestre Herrera Date: Tue, 24 May 2016 00:12:44 -0300 Subject: [PATCH] use lisp-case to avoid issues with case sensitive filesystems --- package.json | 6 +++--- rollup.config.es6.js | 2 +- rollup.config.umd.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4bdda87..4f6309f 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,12 @@ "name": "onscreen", "version": "1.1.2", "description": "A light library that does stuff when the matched elements enter or leave the viewport", - "main": "dist/onScreen.umd.js", - "jsnext:main": "dist/onScreen.es6.js", + "main": "dist/on-screen.umd.js", + "jsnext:main": "dist/on-screen.es6.js", "scripts": { "prebuild": "eslint lib test", "build": "rollup -c rollup.config.umd.js && rollup -c rollup.config.es6.js", - "postbuild": "uglifyjs -c --screw-ie8 dist/OnScreen.umd.js -o dist/OnScreen.umd.min.js --source-map dist/OnScreen.umd.min.map", + "postbuild": "uglifyjs -c --screw-ie8 dist/on-screen.umd.js -o dist/on-screen.umd.min.js --source-map dist/on-screen.umd.min.map", "prepublish": "npm run build", "pretest": "rollup -c rollup.config.test.js", "test": "mocha-phantomjs -v 800x600 http://localhost:8080/test/test-runner.html", diff --git a/rollup.config.es6.js b/rollup.config.es6.js index ffdb250..0a20e54 100644 --- a/rollup.config.es6.js +++ b/rollup.config.es6.js @@ -1,6 +1,6 @@ import config from './rollup.config'; config.format = 'es6'; -config.dest = 'dist/OnScreen.es6.js'; +config.dest = 'dist/on-screen.es6.js'; export default config; diff --git a/rollup.config.umd.js b/rollup.config.umd.js index 48960a0..604b516 100644 --- a/rollup.config.umd.js +++ b/rollup.config.umd.js @@ -1,7 +1,7 @@ import config from './rollup.config'; config.format = 'umd'; -config.dest = 'dist/OnScreen.umd.js'; +config.dest = 'dist/on-screen.umd.js'; config.moduleName = 'OnScreen'; export default config;