UNPKG

loaders.gl

Version:

Framework-independent loaders for 3D graphics formats

73 lines (72 loc) 3.8 kB
{ "name": "loaders.gl", "version": "0.3.5", "description": "Framework-independent loaders for 3D graphics formats", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/uber/luma.gl" }, "keywords": [ "webgl", "loader", "3d", "point cloud", "GLB", "OBJ", "PLY", "LAZ", "PCD", "KML" ], "main": "dist/es5/index.js", "module": "dist/esm/index.js", "esnext": "dist/es6/index.js", "files": [ "src", "dist", ".bin" ], "sideEffects": false, "browser": { "fs": false }, "bin": { "glbdump" : "./.bin/glbdump" }, "scripts": { "start": "echo 'Please see loaders.gl website for how to run examples' && open http://uber.github.io/loaders.gl/#/documentation/getting-started/examples", "clean": "rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6", "build": "npm run clean && webpack && npm run build-es6 && npm run build-esm && npm run build-es5 && npm run build-size", "build-es6": "BABEL_ENV=es6 babel src --config-file ../../babel.config.js --out-dir dist/es6 --source-maps --ignore 'node_modules/'", "build-esm": "BABEL_ENV=esm babel src --config-file ../../babel.config.js --out-dir dist/esm --source-maps --ignore 'node_modules/'", "build-es5": "BABEL_ENV=es5 babel src --config-file ../../babel.config.js --out-dir dist/es5 --source-maps --ignore 'node_modules/'", "build-size": "(echo \"source size\" ; find src/ -name '*.js' | xargs cat | wc -c) && (echo \"dist/es6 size\" ; find dist/es6 -name '*.js' | xargs cat | wc -c) && (echo \"dist esm size\" ; find dist/esm -name '*.js' | xargs cat | wc -c) && (echo \"dist es5 size\" ; find dist/es5 -name '*.js' | xargs cat | wc -c)", "cover": "NODE_ENV=test nyc --reporter html --reporter cobertura --reporter=lcov npm run test-cover", "lint": "eslint src test && npm run lint-yarn", "lint-examples": "eslint examples", "lint-yarn": "!(grep -q unpm.u yarn.lock) || (echo 'Please rebuild yarn.lock file using public npmrc' && false)", "publish-prod": "yarn build && yarn test-fast && npm publish", "publish-beta": "yarn build && yarn test-fast && npm publish --tag beta", "bench": "node test/bench/node.js", "bench-browser": "webpack-dev-server --config test/webpack.config.js --env.bench --progress --hot --open", "test": "npm run lint && npm run test-node && npm run build && npm run test-dist && npm run collect-metrics && npm run test-browser-puppet", "test-ci": "npm run lint && npm run build && npm run test-node && npm run test-dist && npm run collect-metrics", "test-cover": "NODE_ENV=test tape -r babel-register test/node.js && nyc report", "test-fast": "node ../../test/start.js test", "test-fp64": "(cd src/shadertools/test && webpack-dev-server --progress --hot --open)", "test-node": "node test/node.js", "test-dist": "npm run build-es6 && node test/start.js test-dist", "test-browser": "webpack-dev-server --config test/webpack.config.js --progress --hot --open --env.testBrowser ", "test-browser-puppet": "node test/start.js test-browser", "test-shader": "npm run build-dist && budo src/test/fp64-shader.spec.js:build/test-bundle.js --dir test --live --open --watch-glob '**/*.{html,css,scss,js,glsl}' -- -t babelify -t brfs-babel", "test-size-es6": "npm run build-es6 && NODE_ENV=production webpack --config test/webpack.config.js --env.import-nothing --env.analyze --env.es6", "test-size-esm": "npm run build-esm && NODE_ENV=production webpack --config test/webpack.config.js --env.import-nothing --env.analyze --env.esm", "collect-metrics": "./scripts/collect-metrics.sh" }, "dependencies": { "d3-request": "^1.0.6", "draco3d": "^1.3.3", "webgl-obj-loader": "^1.1.3" } }