199 lines
5.1 KiB
JSON
Executable File
199 lines
5.1 KiB
JSON
Executable File
{
|
|
"_from": "three",
|
|
"_id": "three@0.139.2",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-gV7q7QY8rogu7HLFZR9cWnOQAUedUhu2WXAnpr2kdXZP9YDKsG/0ychwQvWkZN5PlNw9mv5MoCTin6zNTXoONg==",
|
|
"_location": "/three",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "tag",
|
|
"registry": true,
|
|
"raw": "three",
|
|
"name": "three",
|
|
"escapedName": "three",
|
|
"rawSpec": "",
|
|
"saveSpec": null,
|
|
"fetchSpec": "latest"
|
|
},
|
|
"_requiredBy": [
|
|
"#USER",
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/three/-/three-0.139.2.tgz",
|
|
"_shasum": "b110799a15736df673b9293e31653a4ac73648dd",
|
|
"_spec": "three",
|
|
"_where": "/home/valentin/Bureau/my_potree/www",
|
|
"author": {
|
|
"name": "mrdoob"
|
|
},
|
|
"browserslist": [
|
|
"> 1%, not dead, not ie 11, not op_mini all"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/mrdoob/three.js/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"deprecated": false,
|
|
"description": "JavaScript 3D library",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.15.5",
|
|
"@babel/eslint-parser": "^7.15.7",
|
|
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
"@babel/preset-env": "^7.15.6",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.5",
|
|
"chalk": "^4.1.2",
|
|
"concurrently": "^6.2.2",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-mdcs": "^5.0.0",
|
|
"eslint-plugin-compat": "^4.0.2",
|
|
"eslint-plugin-html": "^6.2.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"rollup": "^2.57.0",
|
|
"rollup-plugin-filesize": "^9.1.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-visualizer": "^5.5.2",
|
|
"servez": "^1.12.0"
|
|
},
|
|
"directories": {
|
|
"doc": "docs",
|
|
"example": "examples",
|
|
"test": "test"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"mdcs",
|
|
"plugin:compat/recommended"
|
|
],
|
|
"parser": "@babel/eslint-parser",
|
|
"parserOptions": {
|
|
"babelOptions": {
|
|
"configFile": "./utils/build/.babelrc.json"
|
|
}
|
|
},
|
|
"plugins": [
|
|
"html",
|
|
"import"
|
|
],
|
|
"settings": {
|
|
"polyfills": [
|
|
"WebGL2RenderingContext"
|
|
]
|
|
},
|
|
"globals": {
|
|
"__THREE_DEVTOOLS__": "readonly",
|
|
"WebGL2ComputeRenderingContext": "readonly",
|
|
"potpack": "readonly",
|
|
"fflate": "readonly",
|
|
"bodymovin": "readonly",
|
|
"OIMO": "readonly",
|
|
"Stats": "readonly",
|
|
"XRWebGLBinding": "readonly",
|
|
"XRWebGLLayer": "readonly",
|
|
"GPUShaderStage": "readonly",
|
|
"GPUBufferUsage": "readonly",
|
|
"GPUTextureUsage": "readonly",
|
|
"QUnit": "readonly"
|
|
},
|
|
"rules": {
|
|
"no-throw-literal": [
|
|
"error"
|
|
],
|
|
"import/extensions": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"prefer-const": [
|
|
"error",
|
|
{
|
|
"destructuring": "any",
|
|
"ignoreReadBeforeAssign": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./build/three.module.js",
|
|
"require": "./build/three.cjs"
|
|
},
|
|
"./examples/fonts/*": "./examples/fonts/*",
|
|
"./examples/jsm/*": "./examples/jsm/*",
|
|
"./src/*": "./src/*"
|
|
},
|
|
"files": [
|
|
"build/three.js",
|
|
"build/three.cjs",
|
|
"build/three.min.js",
|
|
"build/three.module.js",
|
|
"examples/js",
|
|
"examples/jsm",
|
|
"examples/fonts",
|
|
"LICENSE",
|
|
"package.json",
|
|
"README.md",
|
|
"src"
|
|
],
|
|
"homepage": "https://threejs.org/",
|
|
"jspm": {
|
|
"files": [
|
|
"package.json",
|
|
"LICENSE",
|
|
"README.md",
|
|
"build/three.js",
|
|
"build/three.min.js",
|
|
"build/three.module.js"
|
|
],
|
|
"directories": {}
|
|
},
|
|
"keywords": [
|
|
"three",
|
|
"three.js",
|
|
"javascript",
|
|
"3d",
|
|
"virtual-reality",
|
|
"augmented-reality",
|
|
"webgl",
|
|
"webgl2",
|
|
"webaudio",
|
|
"webgpu",
|
|
"webxr",
|
|
"canvas",
|
|
"svg",
|
|
"html5"
|
|
],
|
|
"license": "MIT",
|
|
"main": "./build/three.js",
|
|
"module": "./build/three.module.js",
|
|
"name": "three",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mrdoob/three.js.git"
|
|
},
|
|
"scripts": {
|
|
"build": "rollup -c utils/build/rollup.config.js",
|
|
"build-examples": "rollup -c utils/build/rollup.examples.config.js && echo '\nFormatting...' && eslint examples/js --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
|
|
"build-module": "ONLY_MODULE=true rollup -c utils/build/rollup.config.js",
|
|
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
|
|
"lint": "eslint src --ext js",
|
|
"lint-docs": "eslint docs --ext html",
|
|
"lint-examples": "eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc",
|
|
"lint-fix": "npm run lint -- --fix && npm run lint-examples -- --fix",
|
|
"make-screenshot": "node test/e2e/puppeteer.js --make",
|
|
"start": "npm run dev",
|
|
"test": "npm run lint && npm run test-unit",
|
|
"test-e2e": "node test/e2e/puppeteer.js",
|
|
"test-e2e-cov": "node test/e2e/check-coverage.js",
|
|
"test-treeshake": "rollup -c test/rollup.treeshake.config.js",
|
|
"test-unit": "npm run unit --prefix test"
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"version": "0.139.2"
|
|
}
|