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 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {
  2. "name": "threepipe",
  3. "version": "0.0.33",
  4. "description": "A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.",
  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. "import": "./dist/index.mjs",
  13. "require": "./dist/index.js"
  14. },
  15. "./dist/": {
  16. "import": "./dist/",
  17. "require": "./dist/"
  18. }
  19. },
  20. "type": "module",
  21. "scripts": {
  22. "compile": "rimraf lib && npm run compile:esm && npm run copy:css",
  23. "compile:esm": "tsc -p ./src",
  24. "copy:css": "copyfiles -u 1 \"src/**/*.css\" lib",
  25. "new:pack": "npm run prepare && clean-package && npm pack && clean-package restore",
  26. "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",
  27. "build": "npm run update-version && npm run compile && vite build",
  28. "dev": "NODE_ENV=development vite build --watch",
  29. "build-examples": "tsc --project examples/tsconfig.build.json",
  30. "dev-examples": "tsc --project examples/tsconfig.build.json -w",
  31. "serve-docs": "ws -d docs -p 8080",
  32. "serve": "ws -d . -p 9229",
  33. "docs": "npx typedoc && npm run website:build",
  34. "docs-plugins": "node scripts/each-plugin.mjs run docs",
  35. "docs-all": "npm run docs && npm run docs-plugins",
  36. "build-plugins": "node scripts/each-plugin.mjs install",
  37. "prepare": "npm run build && npm run build-plugins && npm run build-examples",
  38. "update-version": "node scripts/update-version.mjs",
  39. "website:dev": "vitepress dev website",
  40. "website:build": "vitepress build website",
  41. "website:preview": "vitepress preview website"
  42. },
  43. "clean-package": {
  44. "remove": [
  45. "clean-package",
  46. "scripts",
  47. "devDependencies",
  48. "optionalDependencies",
  49. "//"
  50. ]
  51. },
  52. "files": [
  53. "dist",
  54. "src",
  55. "lib",
  56. "examples",
  57. "plugins/*/dist",
  58. "plugins/*/src",
  59. "plugins/*/tsconfig.json",
  60. "tsconfig.json"
  61. ],
  62. "repository": {
  63. "type": "git",
  64. "url": "git://github.com/repalash/threepipe.git"
  65. },
  66. "keywords": [
  67. "3d",
  68. "three.js",
  69. "typescript",
  70. "javascipt",
  71. "browser",
  72. "esm",
  73. "rendering",
  74. "viewer",
  75. "webgl",
  76. "webgi",
  77. "canvas"
  78. ],
  79. "author": "repalash <palash@shaders.app>",
  80. "license": "Apache-2.0",
  81. "bugs": {
  82. "url": "https://github.com/repalash/threepipe/issues"
  83. },
  84. "homepage": "https://github.com/repalash/threepipe#readme",
  85. "devDependencies": {
  86. "@rollup/plugin-json": "^6.0.0",
  87. "@rollup/plugin-replace": "^5.0.2",
  88. "@types/stats.js": "^0.17.0",
  89. "@typescript-eslint/eslint-plugin": "^5.59.7",
  90. "@typescript-eslint/parser": "^5.59.5",
  91. "clean-package": "^2.2.0",
  92. "@types/node": "^22.10.2",
  93. "copyfiles": "^2.4.1",
  94. "eslint": "^8.40.0",
  95. "eslint-import-resolver-typescript": "^3.5.5",
  96. "eslint-plugin-deprecation": "^1.4.1",
  97. "eslint-plugin-html": "^7.1.0",
  98. "eslint-plugin-import": "^2.27.5",
  99. "local-web-server": "^5.3.0",
  100. "popmotion": "^11.0.5",
  101. "rimraf": "^5.0.1",
  102. "rollup-plugin-glsl": "^1.3.0",
  103. "rollup-plugin-license": "^3.0.1",
  104. "three": "https://github.com/repalash/three.js-modded/releases/download/v0.153.1006/package.tgz",
  105. "tslib": "^2.5.0",
  106. "typedoc": "^0.27.5",
  107. "typescript": "^5.7.2",
  108. "typescript-plugin-css-modules": "^5.0.1",
  109. "vite": "^6.0.5",
  110. "vite-plugin-dts": "^4.4.0",
  111. "vitepress": "^1.5.0",
  112. "vitepress-plugin-nprogress": "^0.0.4"
  113. },
  114. "dependencies": {
  115. "@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.153.1002/package.tgz",
  116. "@types/webxr": "^0.5.1",
  117. "@types/wicg-file-system-access": "^2020.9.5",
  118. "stats.js": "^0.17.0",
  119. "ts-browser-helpers": "^0.15.0",
  120. "uiconfig.js": "^0.0.12"
  121. },
  122. "//": {
  123. "dependencies": {
  124. "uiconfig.js": "^0.0.12",
  125. "ts-browser-helpers": "^0.14.2",
  126. "three": "https://github.com/repalash/three.js-modded/releases/download/v0.153.1006/package.tgz",
  127. "three-f": "https://github.com/repalash/three.js-modded/archive/refs/tags/v0.153.1006.tar.gz",
  128. "@types/three": "https://github.com/repalash/three-ts-types/releases/download/v0.153.1002/package.tgz",
  129. "@types/three-f": "https://github.com/repalash/three-ts-types/archive/refs/tags/v0.153.1002.tar.gz",
  130. "@types/three-pkg": "https://gitpkg.now.sh/repalash/three-ts-types/types/three?modded_three"
  131. },
  132. "local_dependencies": {
  133. "uiconfig.js": "^file:./../uiconfig",
  134. "ts-browser-helpers": "file:./../ts-browser-helpers",
  135. "three": "file:./../three.js",
  136. "@types/three": "file:./../three-ts-types/types/three"
  137. }
  138. },
  139. "optionalDependencies": {
  140. "win-node-env": "^0.6.1"
  141. },
  142. "browserslist": [
  143. "defaults"
  144. ],
  145. "sideEffects": false
  146. }