-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathpackage.json
More file actions
177 lines (177 loc) · 5.83 KB
/
Copy pathpackage.json
File metadata and controls
177 lines (177 loc) · 5.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "threepipe",
"version": "0.5.1",
"description": "A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"sources": "src/index.ts",
"browser": "dist/index.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./dist/index.js"
},
"./dist": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./dist/": {
"import": "./dist/",
"require": "./dist/"
},
"./src/": {
"import": "./dist/",
"require": "./dist/"
},
"./lib": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./lib/": {
"import": "./lib/",
"require": "./lib/"
}
},
"type": "module",
"scripts": {
"vite": "NODE_ENV=development vite --config vite.examples.config.js",
"dev": "NODE_ENV=development vite build --watch",
"build": "npm run update-version && npm run compile && vite build",
"compile": "rimraf lib && npm run compile:esm && npm run copy:inlines && npm run postcompile:esm",
"new:pack": "npm run prepare 1>&2 && npm run docs-all 1>&2 && clean-package && npm pack --silent && clean-package restore",
"new:publish": "git tag v$npm_package_version && git push origin v$npm_package_version",
"build-examples": "npm run generate-example-env && tsc --project examples/tsconfig.build.json",
"dev-examples": "npm run generate-example-env && tsc --project examples/tsconfig.build.json -w",
"serve-docs": "ws -d docs -p 8080",
"serve": "ws -d . -p 9229",
"test:unit": "vitest run",
"test:unit:watch": "vitest",
"test:e2e:precache": "node tests/precache-cdn.mjs",
"test:e2e": "npx playwright test",
"test:e2e:interactive": "npx playwright test tests/interactive.spec.ts",
"test:e2e:smoke": "npx playwright test tests/extras.spec.ts",
"test:e2e:update": "npx playwright test --update-snapshots",
"test:e2e:list": "npx playwright test --list",
"check-test-coverage": "node scripts/check-test-coverage.mjs",
"test": "npm run test:unit && npm run test:e2e",
"docs": "npx typedoc --skipErrorChecking && npm run website:build",
"docs-plugins": "node scripts/each-plugin.mjs run docs",
"docs-all": "npm run docs && npm run docs-plugins",
"build-plugins": "node scripts/each-plugin.mjs clean-install -p",
"prepare": "npm run build && npm run build-plugins && npm run build-examples",
"update-version": "node scripts/update-version.mjs",
"website:dev": "vitepress dev website",
"website:build": "vitepress build website",
"website:preview": "vitepress preview website",
"build-site": "bash ./scripts/build-site.sh",
"generate-example-env": "node ./scripts/generate-example-env.mjs",
"compile:esm": "vite build --config vite.lib.config.js",
"postcompile:esm": "#node scripts/fix-inline-imports.mjs",
"copy:inlines": "#copyfiles -u 1 \"src/**/*.{css,glsl}\" lib"
},
"clean-package": {
"remove": [
"clean-package",
"scripts",
"optionalDependencies",
"//"
]
},
"files": [
"dist",
"src",
"lib",
"plugins/*/dist",
"plugins/*/src",
"plugins/*/tsconfig.json",
"tsconfig.json"
],
"repository": {
"type": "git",
"url": "git://github.com/repalash/threepipe.git"
},
"keywords": [
"3d",
"three.js",
"typescript",
"javascipt",
"browser",
"esm",
"rendering",
"viewer",
"webgl",
"webgi",
"canvas"
],
"author": "repalash <palash@shaders.app>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/repalash/threepipe/issues"
},
"homepage": "https://github.com/repalash/threepipe#readme",
"devDependencies": {
"@playwright/test": "^1.58.2",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-replace": "^5.0.2",
"@types/node": "^22.10.2",
"@types/proper-lockfile": "^4.1.4",
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"@types/stats.js": "^0.17.0",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.5",
"@vitejs/plugin-react": "^5.0.4",
"clean-package": "^2.2.0",
"copyfiles": "^2.4.1",
"dotenv": "^16.5.0",
"eslint": "^8.40.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-deprecation": "^1.4.1",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.27.5",
"hexer": "^1.5.0",
"local-web-server": "^5.3.0",
"proper-lockfile": "^4.1.2",
"rimraf": "^5.0.1",
"rollup-plugin-glsl": "^1.3.0",
"rollup-plugin-license": "^3.0.1",
"three": "https://pkg.threepipe.org/dep/three/-/v0.163.10003/package.tgz",
"tslib": "^2.5.0",
"typedoc": "^0.28.10",
"typescript": "5.8.3",
"typescript-plugin-css-modules": "^5.0.1",
"vite": "^7.1.12",
"vite-plugin-dts": "^4.5.4",
"vitepress": "^1.6.4",
"vitepress-plugin-nprogress": "^0.0.4",
"vitest": "^4.1.2",
"wrangler": "^4.25.1"
},
"dependencies": {
"@repalash/popmotion": "^11.0.5002",
"@types/three": "https://pkg.threepipe.org/dep/@types/three/-/v0.163.10003/package.tgz",
"@types/webxr": "^0.5.1",
"@types/wicg-file-system-access": "^2020.9.5",
"stats.js": "^0.17.0",
"ts-browser-helpers": ">=0.19.4",
"uiconfig.js": ">=0.3.1"
},
"peerDependencies": {
"three": "https://pkg.threepipe.org/dep/three/-/v0.163.10003/package.tgz"
},
"overrides": {
"ts-browser-helpers": "$ts-browser-helpers",
"three": "$three",
"@types/three": "$@types/three"
},
"optionalDependencies": {
"win-node-env": "^0.6.1"
},
"browserslist": [
"defaults"
],
"sideEffects": false
}