UNPKG

3.21 kBJSONView Raw
1{
2 "name": "three",
3 "version": "0.119.0",
4 "description": "JavaScript 3D library",
5 "main": "build/three.js",
6 "module": "build/three.module.js",
7 "types": "src/Three.d.ts",
8 "repository": {
9 "type": "git",
10 "url": "https://github.com/mrdoob/three.js"
11 },
12 "files": [
13 "build/three.js",
14 "build/three.min.js",
15 "build/three.module.js",
16 "examples/js",
17 "examples/jsm",
18 "examples/fonts",
19 "LICENSE",
20 "package.json",
21 "README.md",
22 "src"
23 ],
24 "directories": {
25 "doc": "docs",
26 "example": "examples",
27 "test": "test"
28 },
29 "eslintConfig": {
30 "parser": "@typescript-eslint/parser",
31 "extends": "mdcs",
32 "plugins": [
33 "html",
34 "@typescript-eslint"
35 ],
36 "rules": {
37 "@typescript-eslint/no-unused-vars": 1,
38 "@typescript-eslint/indent": [
39 "error",
40 "tab",
41 {
42 "SwitchCase": 1
43 }
44 ]
45 }
46 },
47 "scripts": {
48 "start": "npm run dev",
49 "test": "npm run test-lint && npm run test-unit",
50 "build": "rollup -c utils/build/rollup.config.js",
51 "build-closure": "rollup -c utils/build/rollup.config.js && 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",
52 "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\"",
53 "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\"",
54 "lint-docs": "eslint docs --ext html",
55 "lint-examples": "eslint examples/jsm --ext js --ext ts --ignore-pattern libs && tsc -p utils/build/tsconfig-examples.lint.json",
56 "test-lint": "eslint src --ext js --ext ts && tsc -p utils/build/tsconfig.lint.json",
57 "test-unit": "npm run unit --prefix test",
58 "test-e2e": "node test/e2e/puppeteer.js",
59 "test-e2e-cov": "node test/e2e/check-coverage.js",
60 "make-screenshot": "node test/e2e/puppeteer.js --make"
61 },
62 "keywords": [
63 "three",
64 "three.js",
65 "javascript",
66 "3d",
67 "virtual-reality",
68 "augmented-reality",
69 "webgl",
70 "webgl2",
71 "webaudio",
72 "webxr",
73 "canvas",
74 "svg",
75 "html5"
76 ],
77 "author": "mrdoob",
78 "license": "MIT",
79 "bugs": {
80 "url": "https://github.com/mrdoob/three.js/issues"
81 },
82 "homepage": "https://threejs.org/",
83 "devDependencies": {
84 "@typescript-eslint/eslint-plugin": "^3.6.1",
85 "@typescript-eslint/parser": "^3.6.1",
86 "concurrently": "^5.2.0",
87 "eslint": "^7.4.0",
88 "eslint-config-mdcs": "^5.0.0",
89 "eslint-plugin-html": "^6.0.2",
90 "google-closure-compiler": "20200628.0.0",
91 "http-server": "^0.12.3",
92 "rollup": "^2.21.0",
93 "rollup-plugin-buble": "^0.19.8",
94 "typescript": "^3.9.6"
95 },
96 "jspm": {
97 "files": [
98 "package.json",
99 "LICENSE",
100 "README.md",
101 "build/three.js",
102 "build/three.min.js",
103 "build/three.module.js"
104 ],
105 "directories": {}
106 }
107}