加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 3.38 KB
一键复制 编辑 原始数据 按行查看 历史
Mr.doob 提交于 2020-08-30 13:12 . r120.1
{
"name": "three",
"version": "0.120.1",
"description": "JavaScript 3D library",
"main": "build/three.js",
"module": "build/three.module.js",
"types": "src/Three.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/mrdoob/three.js"
},
"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": {
"parser": "@typescript-eslint/parser",
"extends": "mdcs",
"plugins": [
"html",
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-unused-vars": 1,
"@typescript-eslint/indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
]
}
},
"scripts": {
"start": "npm run dev",
"test": "npm run test-lint && npm run test-unit",
"build": "rollup -c utils/build/rollup.config.js",
"build-closure": "npm run build && google-closure-compiler --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js",
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"http-server -c-1 -p 8080\"",
"dev-test": "concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"npm run dev --prefix test\" \"http-server -p 8080\"",
"lint-fix": "eslint src --ext js --ext ts --fix && eslint examples/js/ --ext js --ext ts --ignore-pattern libs --fix",
"lint-docs": "eslint docs --ext html",
"lint-examples": "eslint examples/jsm --ext js --ext ts --ignore-pattern libs && tsc -p utils/build/tsconfig-examples.lint.json",
"test-lint": "eslint src --ext js --ext ts && tsc -p utils/build/tsconfig.lint.json",
"test-unit": "npm run unit --prefix test",
"test-e2e": "node test/e2e/puppeteer.js",
"test-e2e-cov": "node test/e2e/check-coverage.js",
"make-screenshot": "node test/e2e/puppeteer.js --make"
},
"keywords": [
"three",
"three.js",
"javascript",
"3d",
"virtual-reality",
"augmented-reality",
"webgl",
"webgl2",
"webaudio",
"webxr",
"canvas",
"svg",
"html5"
],
"author": "mrdoob",
"license": "MIT",
"bugs": {
"url": "https://github.com/mrdoob/three.js/issues"
},
"homepage": "https://threejs.org/",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^3.9.0",
"@typescript-eslint/parser": "^3.9.0",
"concurrently": "^5.3.0",
"eslint": "^7.6.0",
"eslint-config-mdcs": "^5.0.0",
"eslint-plugin-html": "^6.0.3",
"google-closure-compiler": "20200719.0.0",
"http-server": "^0.12.3",
"rollup": "^2.23.1",
"rollup-plugin-buble": "^0.19.8",
"typescript": "^3.9.7"
},
"jspm": {
"files": [
"package.json",
"LICENSE",
"README.md",
"build/three.js",
"build/three.min.js",
"build/three.module.js"
],
"directories": {}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化