mirror of
https://github.com/troisjs/trois.git
synced 2024-11-23 20:02:32 +08:00
0.3.0-beta.0
This commit is contained in:
parent
7cb758f2d1
commit
9a7d8eaa9b
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,4 +2,5 @@ node_modules
|
||||
.DS_Store
|
||||
dist
|
||||
temp
|
||||
types
|
||||
*.local
|
@ -1,9 +1,10 @@
|
||||
dist
|
||||
docs
|
||||
screenshots
|
||||
temp
|
||||
types
|
||||
.eslintrc.js
|
||||
.gitignore
|
||||
index.html
|
||||
rollup.config.js
|
||||
tsconfig.json
|
||||
vite.config.js
|
||||
|
@ -1,13 +0,0 @@
|
||||
{
|
||||
"mainEntryPointFilePath": "./types/export.d.ts",
|
||||
"apiReport": {
|
||||
"enabled": true
|
||||
},
|
||||
"docModel": {
|
||||
"enabled": true
|
||||
},
|
||||
"dtsRollup": {
|
||||
"enabled": true,
|
||||
"publicTrimmedFilePath": "./dist/trois.d.ts"
|
||||
}
|
||||
}
|
6127
build/trois.d.ts
vendored
Normal file
6127
build/trois.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2881
build/trois.js
2881
build/trois.js
File diff suppressed because it is too large
Load Diff
1
build/trois.js.map
Normal file
1
build/trois.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
135
build/trois.module.cdn.min.js
vendored
135
build/trois.module.cdn.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
135
build/trois.module.min.js
vendored
135
build/trois.module.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
11
package.json
11
package.json
@ -1,14 +1,13 @@
|
||||
{
|
||||
"name": "troisjs",
|
||||
"version": "0.2.3",
|
||||
"version": "0.3.0-beta.0",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"types": "tsc",
|
||||
"build": "vue-tsc --noEmit && vite build",
|
||||
"rollup": "rollup -c"
|
||||
"rollup": "tsc && rollup -c"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/api-extractor": "^7.14.0",
|
||||
"@rollup/plugin-replace": "^2.3.3",
|
||||
"@types/three": "^0.127.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
||||
@ -30,7 +29,6 @@
|
||||
"rollup-plugin-esbuild": "^4.1.0",
|
||||
"stats.js": "0.17.0",
|
||||
"three": "^0.127",
|
||||
"tslib": "^2.2.0",
|
||||
"typescript": "^4.1.5",
|
||||
"vite": "^2.1.5",
|
||||
"vue": "^3.0.11",
|
||||
@ -45,9 +43,10 @@
|
||||
"url": "git+https://github.com/troisjs/trois.git"
|
||||
},
|
||||
"keywords": [
|
||||
"threejs",
|
||||
"vuejs",
|
||||
"vitejs",
|
||||
"threejs"
|
||||
"webgl",
|
||||
"vitejs"
|
||||
],
|
||||
"author": "Kevin Levron",
|
||||
"license": "ISC",
|
||||
|
@ -1,4 +1,4 @@
|
||||
export { MaterialInjectionKey } from './Material'
|
||||
export { default as Material, MaterialInjectionKey } from './Material'
|
||||
export { default as BasicMaterial } from './BasicMaterial'
|
||||
export { default as LambertMaterial } from './LambertMaterial'
|
||||
export { default as MatcapMaterial } from './MatcapMaterial'
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { Texture, TextureLoader } from 'three'
|
||||
|
||||
interface TextureConfigInterface {
|
||||
export interface TextureConfigInterface {
|
||||
src: string
|
||||
}
|
||||
|
||||
interface TexturesInterface {
|
||||
export interface TexturesInterface {
|
||||
loader: TextureLoader
|
||||
count: number
|
||||
textures: Texture[],
|
||||
|
Loading…
Reference in New Issue
Block a user