1 | {
|
2 | "name": "three",
|
3 | "version": "0.134.0",
|
4 | "description": "JavaScript 3D library",
|
5 | "main": "build/three.js",
|
6 | "module": "build/three.module.js",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "https://github.com/mrdoob/three.js"
|
10 | },
|
11 | "sideEffects": false,
|
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 | "root": true,
|
31 | "extends": "mdcs",
|
32 | "parser": "@babel/eslint-parser",
|
33 | "parserOptions": {
|
34 | "babelOptions": {
|
35 | "configFile": "./utils/build/.babelrc.json"
|
36 | }
|
37 | },
|
38 | "plugins": [
|
39 | "html"
|
40 | ],
|
41 | "globals": {
|
42 | "potpack": true,
|
43 | "fflate": true,
|
44 | "ZSTDDecoder": true,
|
45 | "bodymovin": true,
|
46 | "OIMO": true,
|
47 | "Stats": true,
|
48 | "XRWebGLBinding": true,
|
49 | "XRWebGLLayer": true
|
50 | },
|
51 | "rules": {
|
52 | "quotes": [
|
53 | "error",
|
54 | "single"
|
55 | ],
|
56 | "prefer-const": [
|
57 | "error",
|
58 | {
|
59 | "destructuring": "any",
|
60 | "ignoreReadBeforeAssign": false
|
61 | }
|
62 | ]
|
63 | }
|
64 | },
|
65 | "scripts": {
|
66 | "start": "npm run dev",
|
67 | "test": "npm run lint && npm run test-unit",
|
68 | "build": "rollup -c utils/build/rollup.config.js",
|
69 | "build-module": "ONLY_MODULE=true rollup -c utils/build/rollup.config.js",
|
70 | "build-examples": "rollup -c utils/build/rollup.examples.config.js && echo '\nFormatting...' && eslint examples/js --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
|
71 | "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
|
72 | "lint": "eslint src --ext js",
|
73 | "lint-examples": "eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc",
|
74 | "lint-fix": "npm run lint -- --fix && npm run lint-examples -- --fix",
|
75 | "lint-docs": "eslint docs --ext html",
|
76 | "test-unit": "npm run unit --prefix test",
|
77 | "test-unit-examples": "npm run unit-examples --prefix test",
|
78 | "test-e2e": "node test/e2e/puppeteer.js",
|
79 | "test-e2e-cov": "node test/e2e/check-coverage.js",
|
80 | "test-treeshake": "rollup -c test/rollup.treeshake.config.js",
|
81 | "make-screenshot": "node test/e2e/puppeteer.js --make",
|
82 | "prepublishOnly": "node utils/prepublish.js"
|
83 | },
|
84 | "keywords": [
|
85 | "three",
|
86 | "three.js",
|
87 | "javascript",
|
88 | "3d",
|
89 | "virtual-reality",
|
90 | "augmented-reality",
|
91 | "webgl",
|
92 | "webgl2",
|
93 | "webaudio",
|
94 | "webgpu",
|
95 | "webxr",
|
96 | "canvas",
|
97 | "svg",
|
98 | "html5"
|
99 | ],
|
100 | "author": "mrdoob",
|
101 | "license": "MIT",
|
102 | "bugs": {
|
103 | "url": "https://github.com/mrdoob/three.js/issues"
|
104 | },
|
105 | "homepage": "https://threejs.org/",
|
106 | "devDependencies": {
|
107 | "@babel/core": "^7.15.5",
|
108 | "@babel/eslint-parser": "^7.15.7",
|
109 | "@babel/plugin-proposal-class-properties": "^7.14.5",
|
110 | "@babel/preset-env": "^7.15.6",
|
111 | "@rollup/plugin-babel": "^5.3.0",
|
112 | "@rollup/plugin-node-resolve": "^13.0.5",
|
113 | "chalk": "^4.1.2",
|
114 | "concurrently": "^6.2.2",
|
115 | "eslint": "^7.32.0",
|
116 | "eslint-config-mdcs": "^5.0.0",
|
117 | "eslint-plugin-html": "^6.2.0",
|
118 | "glob": "^7.2.0",
|
119 | "rollup": "^2.57.0",
|
120 | "rollup-plugin-filesize": "^9.1.1",
|
121 | "rollup-plugin-terser": "^7.0.2",
|
122 | "rollup-plugin-visualizer": "^5.5.2",
|
123 | "servez": "^1.12.0"
|
124 | },
|
125 | "jspm": {
|
126 | "files": [
|
127 | "package.json",
|
128 | "LICENSE",
|
129 | "README.md",
|
130 | "build/three.js",
|
131 | "build/three.min.js",
|
132 | "build/three.module.js"
|
133 | ],
|
134 | "directories": {}
|
135 | }
|
136 | }
|