Correct export path

This commit is contained in:
Jess Telford 2016-09-30 07:46:29 +10:00
parent 49877eef2c
commit 089ccb8148
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,5 +1,7 @@
dist/ dist/
lib/ lib/
rollup.config.js
.sw[ponm] .sw[ponm]
examples/build.js examples/build.js
examples/node_modules/ examples/node_modules/

View file

@ -6,7 +6,7 @@
"browser": "dist/aframe-click-drag-component.min.js", "browser": "dist/aframe-click-drag-component.min.js",
"scripts": { "scripts": {
"build-example": "browserify examples/main.js --debug --verbose -g uglifyify -t babelify -t [envify --NODE_ENV development ] -o examples/build.js", "build-example": "browserify examples/main.js --debug --verbose -g uglifyify -t babelify -t [envify --NODE_ENV development ] -o examples/build.js",
"build-lib": "mkdir -p lib && babel src/index.js -o lib/build.js", "build-lib": "mkdir -p lib && babel src/index.js -o lib/index.js",
"dist": "browserify src/index.js --verbose --debug --standalone registerAframeClickDragComponent -g uglifyify -t [ rollupify --config rollup.config.js ] -t babelify -t [envify --NODE_ENV production ] | exorcist dist/out.map > dist/out.js && uglifyjs dist/out.js --screw-ie8 -c -m --in-source-map dist/out.map --source-map dist/aframe-click-drag-component.min.js.map --source-map-url aframe-click-drag-component.min.js.map > dist/aframe-click-drag-component.min.js && rm dist/out*", "dist": "browserify src/index.js --verbose --debug --standalone registerAframeClickDragComponent -g uglifyify -t [ rollupify --config rollup.config.js ] -t babelify -t [envify --NODE_ENV production ] | exorcist dist/out.map > dist/out.js && uglifyjs dist/out.js --screw-ie8 -c -m --in-source-map dist/out.map --source-map dist/aframe-click-drag-component.min.js.map --source-map-url aframe-click-drag-component.min.js.map > dist/aframe-click-drag-component.min.js && rm dist/out*",
"test": "npm run test:lint", "test": "npm run test:lint",
"test:lint": "eslint ./src", "test:lint": "eslint ./src",