-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
148 lines (148 loc) · 3.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "three-universal",
"version": "0.124.0",
"description": "JavaScript 3D library",
"main": "build/three.js",
"module": "build/three.module.node.js",
"types": "src/Three.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/sterblue/three-universal"
},
"files": [
"build/three.js",
"build/three.min.js",
"build/three.module.js",
"build/three.module.node.js",
"build/three.node.js",
"build/three.d.ts",
"build/three.min.d.ts",
"build/three.module.d.ts",
"build/three.module.node.d.ts",
"build/three.node.d.ts",
"examples/js",
"examples/jsm",
"examples/node-js",
"examples/node-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": [
"error"
],
"@typescript-eslint/indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
]
}
},
"scripts": {
"test": "npm run test-lint && npm run test-unit-node",
"build": "npm run build:three && npm run build:examples && npm run update:readme",
"build:three": "rollup -c utils/build/rollup.config.js",
"build:examples": "node utils/modularize.js",
"update:readme": "node utils/update-readme.js",
"test-e2e-node": "rollup -c test/rollup.e2e.config.js && node test/e2e/node/index.cjs.js",
"lint-fix": "eslint src --ext js --ext ts --fix && eslint examples/js/ --ext js --ext ts --ignore-pattern libs --fix",
"test-lint": "eslint src --ext js --ext ts && tsc -p utils/build/tsconfig.lint.json",
"test-unit-node": "npm run unit-node --prefix test"
},
"keywords": [
"three",
"three.js",
"javascript",
"3d",
"virtual-reality",
"augmented-reality",
"webgl",
"webgl2",
"webaudio",
"webxr",
"canvas",
"svg",
"html5"
],
"author": "sterblue",
"license": "MIT",
"bugs": {
"url": "https://github.com/sterblue/three-universal/issues"
},
"homepage": "https://threejs.org/",
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-inject": "4.0.2",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"canvas": "2.5.0",
"concurrently": "^5.3.0",
"eslint": "^7.14.0",
"eslint-config-mdcs": "^5.0.0",
"eslint-plugin-html": "^6.1.1",
"fs-extra": "9.0.1",
"jsdom": "16.4.0",
"rollup": "^2.33.3",
"rollup-plugin-terser": "^7.0.2",
"servez": "^1.11.0",
"three": "0.124.0",
"typescript": "^4.1.2"
},
"peerDependencies": {
"jsdom": "16.4.0",
"canvas": "2.5.0"
},
"peerDependenciesMeta": {
"jsdom": {
"optional": true
},
"canvas": {
"optional": true
}
},
"jspm": {
"files": [
"package.json",
"LICENSE",
"README.md",
"build/three.js",
"build/three.min.js",
"build/three.module.js",
"build/three.module.node.js",
"build/three.node.js",
"build/three.d.ts",
"build/three.min.d.ts",
"build/three.module.d.ts",
"build/three.module.node.d.ts",
"build/three.node.d.ts"
],
"directories": {}
}
}