package.json
{
"name": "@masatomakino/threejs-texture-switching-loader",
"version": "0.4.0",
"description": "Texture image loader util for three.js, Switching TextureLoader and ImageBitmapLoader.",
"type": "module",
"exports": {
".": {
"default": {
"types": "./esm/index.d.ts",
"default": "./esm/index.js"
}
}
},
"types": "./esm/index.d.ts",
"files": [
"esm"
],
"repository": {
"type": "git",
"url": "git+https://MasatoMakino@github.com/MasatoMakino/threejs-texture-switching-loader.git"
},
"author": "MasatoMakino <unagiinu.g@gmail.com>",
"license": "MIT",
"peerDependencies": {
"three": ">=0.126.0 <1.0.0"
},
"devDependencies": {
"@masatomakino/gulptask-demo-page": "^0.8.0",
"@types/three": "^0.168.0",
"@vitest/browser": "*",
"@vitest/coverage-istanbul": "^2.0.5",
"browser-sync": "^3.0.2",
"husky": "^9.0.11",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"three": "^0.168.0",
"typedoc": "^0.26.3",
"typescript": "^5.2.2",
"webdriverio": "^9.0.1"
},
"scripts": {
"prepare": "husky",
"test": "vitest",
"coverage": "vitest --run --coverage",
"start:dev": "npm run server & npm run watch:tsc & npm run watch:demo",
"build": "npm run buildTS && npm run demo && npm run typedocs",
"demo": "npx @masatomakino/gulptask-demo-page --body '<canvas id=\"webgl-canvas\" width=\"640\" height=\"480\"></canvas>'",
"buildTS": "tsc",
"typedocs": "npx typedoc --out ./docs/api src/index.ts",
"server": "browser-sync ./docs/demo -w",
"watch:demo": "npm run demo -- -W",
"watch:tsc": "tsc -W --incremental",
"preversion": "git checkout main && git pull && npm ci && npm run build && npm test -- --run",
"postversion": "git add package.json package-lock.json && git checkout -b version/$(git describe --tags --abbrev=0)"
},
"bugs": {
"url": "https://github.com/MasatoMakino/threejs-texture-switching-loader/issues"
},
"homepage": "https://github.com/MasatoMakino/threejs-texture-switching-loader#readme",
"directories": {
"doc": "docs",
"lib": "esm"
},
"lint-staged": {
"*.{js,ts,css,md}": "prettier --write"
}
}