threepipe
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

package.json 5.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. {
  2. "name": "threepipe",
  3. "version": "0.0.47",
  4. "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.",
  5. "main": "dist/index.js",
  6. "module": "dist/index.mjs",
  7. "types": "dist/index.d.ts",
  8. "sources": "src/index.ts",
  9. "browser": "dist/index.js",
  10. "exports": {
  11. ".": {
  12. "types": "./dist/index.d.ts",
  13. "import": "./dist/index.mjs",
  14. "require": "./dist/index.js"
  15. },
  16. "./dist/": {
  17. "import": "./dist/",
  18. "require": "./dist/"
  19. },
  20. "./lib": {
  21. "types": "./lib/index.d.ts",
  22. "import": "./lib/index.js"
  23. },
  24. "./lib/": {
  25. "import": "./lib/",
  26. "require": "./lib/"
  27. }
  28. },
  29. "type": "module",
  30. "scripts": {
  31. "compile": "rimraf lib && npm run compile:esm && npm run copy:css",
  32. "compile:esm": "tsc -p ./src",
  33. "copy:css": "copyfiles -u 1 \"src/**/*.css\" lib",
  34. "new:pack": "npm run prepare && clean-package && npm pack && clean-package restore",
  35. "new:publish": "git diff --exit-code --name-only HEAD * && npm run prepare && clean-package && npm publish && clean-package restore && git tag v$npm_package_version",
  36. "build": "npm run update-version && npm run compile && vite build",
  37. "dev": "NODE_ENV=development vite build --watch",
  38. "build-examples": "npm run generate-example-env && tsc --project examples/tsconfig.build.json",
  39. "dev-examples": "npm run generate-example-env && tsc --project examples/tsconfig.build.json -w",
  40. "serve-docs": "ws -d docs -p 8080",
  41. "serve": "ws -d . -p 9229",
  42. "docs": "npx typedoc && npm run website:build",
  43. "docs-plugins": "node scripts/each-plugin.mjs run docs",
  44. "docs-all": "npm run docs && npm run docs-plugins",
  45. "build-plugins": "node scripts/each-plugin.mjs install",
  46. "prepare": "npm run build && npm run build-plugins && npm run build-examples",
  47. "update-version": "node scripts/update-version.mjs",
  48. "website:dev": "vitepress dev website",
  49. "website:build": "vitepress build website",
  50. "website:preview": "vitepress preview website",
  51. "build-site": "bash ./scripts/build-site.sh",
  52. "generate-example-env": "node ./scripts/generate-example-env.mjs"
  53. },
  54. "clean-package": {
  55. "remove": [
  56. "clean-package",
  57. "scripts",
  58. "optionalDependencies",
  59. "//"
  60. ]
  61. },
  62. "files": [
  63. "dist",
  64. "src",
  65. "lib",
  66. "plugins/*/dist",
  67. "plugins/*/src",
  68. "plugins/*/tsconfig.json",
  69. "tsconfig.json"
  70. ],
  71. "repository": {
  72. "type": "git",
  73. "url": "git://github.com/repalash/threepipe.git"
  74. },
  75. "keywords": [
  76. "3d",
  77. "three.js",
  78. "typescript",
  79. "javascipt",
  80. "browser",
  81. "esm",
  82. "rendering",
  83. "viewer",
  84. "webgl",
  85. "webgi",
  86. "canvas"
  87. ],
  88. "author": "repalash <palash@shaders.app>",
  89. "license": "Apache-2.0",
  90. "bugs": {
  91. "url": "https://github.com/repalash/threepipe/issues"
  92. },
  93. "homepage": "https://github.com/repalash/threepipe#readme",
  94. "devDependencies": {
  95. "@rollup/plugin-json": "^6.0.0",
  96. "@rollup/plugin-replace": "^5.0.2",
  97. "@types/node": "^22.10.2",
  98. "@types/stats.js": "^0.17.0",
  99. "@typescript-eslint/eslint-plugin": "^5.59.7",
  100. "@typescript-eslint/parser": "^5.59.5",
  101. "clean-package": "^2.2.0",
  102. "copyfiles": "^2.4.1",
  103. "dotenv": "^16.5.0",
  104. "eslint": "^8.40.0",
  105. "eslint-import-resolver-typescript": "^3.5.5",
  106. "eslint-plugin-deprecation": "^1.4.1",
  107. "eslint-plugin-html": "^7.1.0",
  108. "eslint-plugin-import": "^2.27.5",
  109. "local-web-server": "^5.3.0",
  110. "rimraf": "^5.0.1",
  111. "rollup-plugin-glsl": "^1.3.0",
  112. "rollup-plugin-license": "^3.0.1",
  113. "three": "https://github.com/repalash/three.js-modded/releases/download/v0.158.1004/package.tgz",
  114. "tslib": "^2.5.0",
  115. "typedoc": "^0.28.4",
  116. "typescript": "5.8.3",
  117. "typescript-plugin-css-modules": "^5.0.1",
  118. "vite": "^6.3.5",
  119. "vite-plugin-dts": "^4.5.3",
  120. "vitepress": "^1.5.0",
  121. "vitepress-plugin-nprogress": "^0.0.4"
  122. },
  123. "dependencies": {
  124. "@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.158.1003/package.tgz",
  125. "@types/webxr": "^0.5.1",
  126. "@types/wicg-file-system-access": "^2020.9.5",
  127. "popmotion": "^11.0.5",
  128. "stats.js": "^0.17.0",
  129. "ts-browser-helpers": "^0.16.2",
  130. "uiconfig.js": "^0.1.3"
  131. },
  132. "peerDependencies": {
  133. "three": "https://github.com/repalash/three.js-modded/releases/download/v0.158.1004/package.tgz"
  134. },
  135. "peerDependenciesMeta": {
  136. "three": {
  137. "optional": true
  138. }
  139. },
  140. "//": {
  141. "dependencies": {
  142. "uiconfig.js": "^0.1.3",
  143. "ts-browser-helpers": "^0.16.2",
  144. "three": "https://github.com/repalash/three.js-modded/releases/download/v0.158.1004/package.tgz",
  145. "three-f": "https://github.com/repalash/three.js-modded/archive/refs/tags/v0.158.1004.tar.gz",
  146. "@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.158.1003/package.tgz",
  147. "@types/three-f": "https://github.com/repalash/three-ts-types/archive/refs/tags/v0.158.1003.tar.gz",
  148. "@types/three-pkg": "https://gitpkg.now.sh/repalash/three-ts-types/types/three?modded_three"
  149. },
  150. "local_dependencies": {
  151. "uiconfig.js": "^file:./../uiconfig",
  152. "ts-browser-helpers": "file:./../ts-browser-helpers",
  153. "three": "file:./../three.js",
  154. "@types/three": "file:./../three-ts-types/types/three"
  155. }
  156. },
  157. "overrides": {
  158. "ts-browser-helpers": "$ts-browser-helpers",
  159. "three": "$three",
  160. "@types/three": "$@types/three"
  161. },
  162. "optionalDependencies": {
  163. "win-node-env": "^0.6.1"
  164. },
  165. "browserslist": [
  166. "defaults"
  167. ],
  168. "sideEffects": false
  169. }