UNPKG

2.16 kBJSONView Raw
1{
2 "name": "@pixiv/three-vrm",
3 "version": "0.6.7",
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.min.js",
14 "module": "lib/three-vrm.module.min.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 },
27 "scripts": {
28 "version": "yarn all",
29 "postpublish": "yarn gh-pages",
30 "all": "yarn && yarn test && yarn lint && yarn clean && yarn build && yarn docs",
31 "dev": "cross-env NODE_ENV=development SERVE=1 rollup -w -c -o lib/three-vrm.js",
32 "clean": "rimraf docs lib ts*/ types",
33 "build": "yarn build-dev && yarn build-prod && yarn build-moduledev && yarn build-moduleprod && yarn build-types",
34 "build-dev": "cross-env NODE_ENV=development rollup -c -o lib/three-vrm.js",
35 "build-prod": "cross-env NODE_ENV=production rollup -c -o lib/three-vrm.min.js",
36 "build-moduledev": "cross-env NODE_ENV=development ESM=1 rollup -c -o lib/three-vrm.module.js",
37 "build-moduleprod": "cross-env NODE_ENV=production ESM=1 rollup -c -o lib/three-vrm.module.min.js",
38 "build-types": "tsc --declaration --declarationDir ./types --emitDeclarationOnly && downlevel-dts types ts3.4/types",
39 "docs": "typedoc --entryPoints ./src/index.ts --out docs",
40 "gh-pages": "node ./bin/gh-pages.js",
41 "test": "echo There is no test for three-vrm",
42 "lint": "eslint \"src/**/*.{ts,tsx}\" && prettier \"src/**/*.{ts,tsx}\" --check",
43 "lint-fix": "eslint \"src/**/*.{ts,tsx}\" --fix && prettier \"src/**/*.{ts,tsx}\" --write",
44 "typedefgen": "node ./bin/typedefgen.js"
45 },
46 "lint-staged": {
47 "./src/**/*.{ts,tsx}": [
48 "eslint --fix",
49 "prettier --write"
50 ]
51 },
52 "devDependencies": {
53 "@types/three": "^0.132.1",
54 "gh-pages": "^3.1.0",
55 "lint-staged": "10.5.4",
56 "quicktype": "^15.0.258",
57 "three": "^0.133.0"
58 },
59 "peerDependencies": {
60 "@types/three": "^0.131.0",
61 "three": "^0.133.0"
62 }
63}