UNPKG

@pixiv/three-vrm

Version:

VRM file loader for three.js.

71 lines (70 loc) 2.33 kB
{ "name": "@pixiv/three-vrm", "version": "2.1.0", "description": "VRM file loader for three.js.", "license": "MIT", "author": "pixiv", "files": [ "/lib/", "/ts*/", "/types/", "LICENSE" ], "main": "lib/three-vrm.js", "module": "lib/three-vrm.module.js", "types": "types/index.d.ts", "typesVersions": { "<3.9": { "*": [ "ts3.4/*" ] } }, "repository": { "type": "git", "url": "https://github.com/pixiv/three-vrm.git", "directory": "packages/three-vrm" }, "scripts": { "version": "yarn all", "all": "yarn test && yarn lint && yarn clean && yarn build && yarn docs", "dev": "cross-env NODE_ENV=development rollup -w -c", "clean": "rimraf docs lib ts*/ types", "build": "yarn build-dev && yarn build-prod && yarn build-types", "build-dev": "cross-env NODE_ENV=development rollup -c", "build-prod": "cross-env NODE_ENV=production rollup -c", "build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types", "docs": "typedoc --entryPoints ./src/index.ts --out docs", "test": "echo There is no test for three-vrm", "lint": "eslint \"src/**/*.{ts,tsx}\" && yarn lint-examples && prettier \"src/**/*.{ts,tsx}\" --check", "lint-examples": "eslint \"examples/**/*.{js,html}\" --rule \"padded-blocks: error\"", "lint-fix": "eslint \"src/**/*.{ts,tsx}\" --fix && eslint \"examples/**/*.{js,html}\" --fix && prettier \"src/**/*.{ts,tsx}\" --write" }, "lint-staged": { "./src/**/*.{ts,tsx}": [ "eslint --fix", "prettier --write" ], "./examples/**/*.{js,html}": [ "eslint --fix --rule \"padded-blocks: error\"" ] }, "dependencies": { "@pixiv/three-vrm-core": "2.1.0", "@pixiv/three-vrm-materials-hdr-emissive-multiplier": "2.1.0", "@pixiv/three-vrm-materials-mtoon": "2.1.0", "@pixiv/three-vrm-materials-v0compat": "2.1.0", "@pixiv/three-vrm-node-constraint": "2.1.0", "@pixiv/three-vrm-springbone": "2.1.0" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.0.1", "@types/three": "^0.160.0", "three": "^0.160.0" }, "peerDependencies": { "@types/three": "^0.160.0", "three": "^0.160.0" }, "gitHead": "0d96aeaa6e20baa8158658652179df20a162d8a3" }