加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 3.82 KB
一键复制 编辑 原始数据 按行查看 历史
Mr.doob 提交于 2021-12-24 12:07 . r136
{
"name": "three",
"version": "0.136.0",
"description": "JavaScript 3D library",
"main": "build/three.js",
"module": "build/three.module.js",
"repository": {
"type": "git",
"url": "https://github.com/mrdoob/three.js"
},
"sideEffects": false,
"files": [
"build/three.js",
"build/three.min.js",
"build/three.module.js",
"examples/js",
"examples/jsm",
"examples/fonts",
"LICENSE",
"package.json",
"README.md",
"src"
],
"directories": {
"doc": "docs",
"example": "examples",
"test": "test"
},
"eslintConfig": {
"root": true,
"extends": "mdcs",
"parser": "@babel/eslint-parser",
"parserOptions": {
"babelOptions": {
"configFile": "./utils/build/.babelrc.json"
}
},
"plugins": [
"html"
],
"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"
},
"rules": {
"quotes": [
"error",
"single"
],
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
]
}
},
"scripts": {
"start": "npm run dev",
"test": "npm run lint && npm run test-unit",
"build": "rollup -c utils/build/rollup.config.js",
"build-module": "ONLY_MODULE=true 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",
"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-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",
"lint-docs": "eslint docs --ext html",
"test-unit": "npm run unit --prefix test",
"test-unit-examples": "npm run unit-examples --prefix test",
"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",
"make-screenshot": "node test/e2e/puppeteer.js --make",
"prepublishOnly": "node utils/prepublish.js"
},
"keywords": [
"three",
"three.js",
"javascript",
"3d",
"virtual-reality",
"augmented-reality",
"webgl",
"webgl2",
"webaudio",
"webgpu",
"webxr",
"canvas",
"svg",
"html5"
],
"author": "mrdoob",
"license": "MIT",
"bugs": {
"url": "https://github.com/mrdoob/three.js/issues"
},
"homepage": "https://threejs.org/",
"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-html": "^6.2.0",
"glob": "^7.2.0",
"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"
},
"jspm": {
"files": [
"package.json",
"LICENSE",
"README.md",
"build/three.js",
"build/three.min.js",
"build/three.module.js"
],
"directories": {}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化