three-uniapp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,158 @@
1
+ {
2
+ "name": "three-uniapp",
3
+ "dependencies": {
4
+ "dhtml-uniapp": "0.1.0"
5
+ },
6
+ "version": "0.1.0",
7
+ "description": "JavaScript 3D library",
8
+ "main": "./build/three-uniapp.min.js",
9
+ "exports": {},
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://gitee.com/onekit-game/three-uniapp-demo"
13
+ },
14
+ "sideEffects": false,
15
+ "files": [
16
+ "build/three-uniapp.min.js",
17
+ "package.json"
18
+ ],
19
+ "directories": {
20
+ "doc": "docs",
21
+ "example": "examples",
22
+ "test": "test"
23
+ },
24
+ "eslintConfig": {
25
+ "root": true,
26
+ "extends": [
27
+ "mdcs",
28
+ "plugin:compat/recommended"
29
+ ],
30
+ "parser": "@babel/eslint-parser",
31
+ "parserOptions": {
32
+ "babelOptions": {
33
+ "configFile": "./utils/build/.babelrc.json"
34
+ }
35
+ },
36
+ "plugins": [
37
+ "html",
38
+ "import"
39
+ ],
40
+ "settings": {
41
+ "polyfills": [
42
+ "WebGL2RenderingContext"
43
+ ]
44
+ },
45
+ "globals": {
46
+ "__THREE_DEVTOOLS__": "readonly",
47
+ "WebGL2ComputeRenderingContext": "readonly",
48
+ "potpack": "readonly",
49
+ "fflate": "readonly",
50
+ "bodymovin": "readonly",
51
+ "OIMO": "readonly",
52
+ "Stats": "readonly",
53
+ "XRWebGLBinding": "readonly",
54
+ "XRWebGLLayer": "readonly",
55
+ "GPUShaderStage": "readonly",
56
+ "GPUBufferUsage": "readonly",
57
+ "GPUTextureUsage": "readonly",
58
+ "QUnit": "readonly",
59
+ "Ammo": "readonly",
60
+ "XRRigidTransform": "readonly",
61
+ "XRMediaBinding": "readonly"
62
+ },
63
+ "rules": {
64
+ "no-throw-literal": [
65
+ "error"
66
+ ],
67
+ "import/extensions": [
68
+ "error",
69
+ "always"
70
+ ],
71
+ "quotes": [
72
+ "error",
73
+ "single"
74
+ ],
75
+ "prefer-const": [
76
+ "error",
77
+ {
78
+ "destructuring": "any",
79
+ "ignoreReadBeforeAssign": false
80
+ }
81
+ ]
82
+ }
83
+ },
84
+ "browserslist": [
85
+ "> 1%, not dead, not ie 11, not op_mini all"
86
+ ],
87
+ "scripts": {
88
+ "start": "npm run dev",
89
+ "test": "npm run lint && npm run test-unit",
90
+ "build": "rollup -c utils/build/rollup.config.js",
91
+ "build-module": "ONLY_MODULE=true rollup -c utils/build/rollup.config.js",
92
+ "build-examples": "rollup -c utils/build/rollup.examples.config.js && echo '\nFormatting...' && eslint examples/js --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
93
+ "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
94
+ "lint": "eslint src --ext js",
95
+ "lint-examples": "eslint examples/js examples/jsm examples/*.html --ext js,html --ignore-pattern libs --ignore-pattern ifc",
96
+ "lint-docs": "eslint docs --ext html",
97
+ "lint-fix": "npm run lint -- --fix && npm run lint-examples -- --fix && npm run lint-docs -- --fix",
98
+ "test-unit": "npm run unit --prefix test",
99
+ "test-e2e": "node test/e2e/puppeteer.js",
100
+ "test-e2e-cov": "node test/e2e/check-coverage.js",
101
+ "test-treeshake": "rollup -c test/rollup.treeshake.config.js",
102
+ "make-screenshot": "node test/e2e/puppeteer.js --make"
103
+ },
104
+ "keywords": [
105
+ "three-uniapp",
106
+ "three.js",
107
+ "javascript",
108
+ "3d",
109
+ "virtual-reality",
110
+ "augmented-reality",
111
+ "webgl",
112
+ "webgl2",
113
+ "webaudio",
114
+ "webgpu",
115
+ "webxr",
116
+ "canvas",
117
+ "svg",
118
+ "html5"
119
+ ],
120
+ "author": "mrdoob",
121
+ "license": "MIT",
122
+ "bugs": {
123
+ "url": "https://gitee.com/onekit-game/three-uniapp"
124
+ },
125
+ "homepage": "https://gitee.com/onekit-game/three-uniapp/",
126
+ "devDependencies": {
127
+ "@babel/core": "^7.18.9",
128
+ "@babel/eslint-parser": "^7.18.9",
129
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
130
+ "@babel/preset-env": "^7.18.9",
131
+ "@rollup/plugin-babel": "^5.3.1",
132
+ "@rollup/plugin-node-resolve": "^13.3.0",
133
+ "chalk": "^5.0.1",
134
+ "concurrently": "^7.3.0",
135
+ "eslint": "^8.20.0",
136
+ "eslint-config-mdcs": "^5.0.0",
137
+ "eslint-plugin-compat": "^4.0.2",
138
+ "eslint-plugin-html": "^7.1.0",
139
+ "eslint-plugin-import": "^2.26.0",
140
+ "fs-extra": "^10.1.0",
141
+ "rollup": "^2.77.2",
142
+ "rollup-plugin-filesize": "^9.1.2",
143
+ "rollup-plugin-terser": "^7.0.2",
144
+ "rollup-plugin-visualizer": "^5.7.1",
145
+ "servez": "^1.14.1"
146
+ },
147
+ "jspm": {
148
+ "files": [
149
+ "package.json",
150
+ "LICENSE",
151
+ "README.md",
152
+ "build/three-uniapp.js",
153
+ "build/three-uniapp.min.js",
154
+ "build/three-uniapp.module.js"
155
+ ],
156
+ "directories": {}
157
+ }
158
+ }