mirror of
https://github.com/visgl/luma.gl.git
synced 2026-02-01 14:33:49 +00:00
59 lines
3.4 KiB
JSON
59 lines
3.4 KiB
JSON
{
|
|
"name": "loaders.gl",
|
|
"version": "0.1.0",
|
|
"description": "Framework-independent loaders for 3D graphics formats",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/uber/luma.gl"
|
|
},
|
|
"keywords": [
|
|
"webgl",
|
|
"visualization",
|
|
"loaders",
|
|
"3d"
|
|
],
|
|
"main": "dist/es5/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"esnext": "dist/es6/index.js",
|
|
"files": [
|
|
"src",
|
|
"dist"
|
|
],
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"start": "echo 'Please see luma.gl website for how to run examples' && open http://uber.github.io/luma.gl/#/documentation/getting-started/examples",
|
|
"clean": "rm -fr dist dist-es6 && mkdir -p dist/es5 dist/esm dist/es6",
|
|
"build-es6": "BABEL_ENV=es6 babel src --out-dir dist/es6 --source-maps --ignore 'node_modules/'",
|
|
"build-esm": "BABEL_ENV=esm babel src --out-dir dist/esm --source-maps --ignore 'node_modules/'",
|
|
"build-es5": "BABEL_ENV=es5 babel src --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)",
|
|
"build": "npm run clean && npm run build-es6 && npm run build-esm && npm run build-es5 && npm run build-size",
|
|
"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": "npm run build && npm run test-fast && npm publish",
|
|
"publish-beta": "yarn run build && yarn run 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",
|
|
"webgl-obj-loader": "^1.1.3"
|
|
}
|
|
}
|