polish dependencies (#772)

This commit is contained in:
Jian Huang 2018-11-09 15:53:56 -08:00 committed by GitHub
parent a3fd978e70
commit 789a76d3fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -13,9 +13,6 @@
"build-prod": "webpack --env minified",
"build-lib": "mkdir -p dist && (cd ../../modules/script && yarn build-dev && cp dist/lumagl.js ../../examples/glfx/dist)"
},
"dependencies": {
"luma.gl": "^6.1.0"
},
"devDependencies": {
"babel-loader": "^8.0.0",
"cross-env": "^5.0.5",

View File

@ -20,7 +20,7 @@ if (env === 'minified') {
module.exports = {
mode,
entry: path.resolve(__dirname, '../../modules/glfx/src/index.js'),
entry: path.resolve(__dirname, './app.js'),
devtool: 'source-map',
output: {
path: path.resolve(__dirname, './dist'),

View File

@ -22,5 +22,8 @@
"build-dev": "webpack --env.dev --config webpack.config.js",
"build-prod": "webpack --config webpack.config.js",
"build": "npm run build-prod"
},
"dependencies": {
"@luma.gl/glfx": "^6.3.0-alpha.2"
}
}

View File

@ -9,7 +9,7 @@ const _global = typeof window === 'undefined' ? global : window;
const lumaGL = require('luma.gl');
require('luma.gl/debug');
const filters = require('../../glfx/src');
const filters = require('@luma.gl/glfx');
const mathGL = require('math.gl');