UNPKG

2.33 kBJSONView Raw
1{
2 "name": "@pixiv/three-vrm",
3 "version": "2.1.0",
4 "description": "VRM file loader for three.js.",
5 "license": "MIT",
6 "author": "pixiv",
7 "files": [
8 "/lib/",
9 "/ts*/",
10 "/types/",
11 "LICENSE"
12 ],
13 "main": "lib/three-vrm.js",
14 "module": "lib/three-vrm.module.js",
15 "types": "types/index.d.ts",
16 "typesVersions": {
17 "<3.9": {
18 "*": [
19 "ts3.4/*"
20 ]
21 }
22 },
23 "repository": {
24 "type": "git",
25 "url": "https://github.com/pixiv/three-vrm.git",
26 "directory": "packages/three-vrm"
27 },
28 "scripts": {
29 "version": "yarn all",
30 "all": "yarn test && yarn lint && yarn clean && yarn build && yarn docs",
31 "dev": "cross-env NODE_ENV=development rollup -w -c",
32 "clean": "rimraf docs lib ts*/ types",
33 "build": "yarn build-dev && yarn build-prod && yarn build-types",
34 "build-dev": "cross-env NODE_ENV=development rollup -c",
35 "build-prod": "cross-env NODE_ENV=production rollup -c",
36 "build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
37 "docs": "typedoc --entryPoints ./src/index.ts --out docs",
38 "test": "echo There is no test for three-vrm",
39 "lint": "eslint \"src/**/*.{ts,tsx}\" && yarn lint-examples && prettier \"src/**/*.{ts,tsx}\" --check",
40 "lint-examples": "eslint \"examples/**/*.{js,html}\" --rule \"padded-blocks: error\"",
41 "lint-fix": "eslint \"src/**/*.{ts,tsx}\" --fix && eslint \"examples/**/*.{js,html}\" --fix && prettier \"src/**/*.{ts,tsx}\" --write"
42 },
43 "lint-staged": {
44 "./src/**/*.{ts,tsx}": [
45 "eslint --fix",
46 "prettier --write"
47 ],
48 "./examples/**/*.{js,html}": [
49 "eslint --fix --rule \"padded-blocks: error\""
50 ]
51 },
52 "dependencies": {
53 "@pixiv/three-vrm-core": "2.1.0",
54 "@pixiv/three-vrm-materials-hdr-emissive-multiplier": "2.1.0",
55 "@pixiv/three-vrm-materials-mtoon": "2.1.0",
56 "@pixiv/three-vrm-materials-v0compat": "2.1.0",
57 "@pixiv/three-vrm-node-constraint": "2.1.0",
58 "@pixiv/three-vrm-springbone": "2.1.0"
59 },
60 "devDependencies": {
61 "@rollup/plugin-node-resolve": "^15.0.1",
62 "@types/three": "^0.160.0",
63 "three": "^0.160.0"
64 },
65 "peerDependencies": {
66 "@types/three": "^0.160.0",
67 "three": "^0.160.0"
68 },
69 "gitHead": "0d96aeaa6e20baa8158658652179df20a162d8a3"
70}