package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "d8d-webcontainer-server",
  3. "version": "1.0.1",
  4. "type": "module",
  5. "description": "Server implementation for D8D WebContainer",
  6. "keywords": ["webcontainer", "d8d", "server"],
  7. "homepage": "https://github.com/d8d-dev/d8d-webcontainer",
  8. "bugs": {
  9. "url": "https://github.com/d8d-dev/d8d-webcontainer/issues"
  10. },
  11. "repository": {
  12. "type": "git",
  13. "url": "git+https://github.com/d8d-dev/d8d-webcontainer.git"
  14. },
  15. "author": "D8D Team",
  16. "license": "MIT",
  17. "main": "./dist/index.js",
  18. "module": "./dist/index.js",
  19. "types": "./dist/index.d.ts",
  20. "bin": {
  21. "d8d-webcontainer-server": "./dist/start.js"
  22. },
  23. "exports": {
  24. ".": {
  25. "types": "./dist/index.d.ts",
  26. "import": "./dist/index.js",
  27. "require": "./dist/index.cjs"
  28. }
  29. },
  30. "scripts": {
  31. "build:types": "tsc --emitDeclarationOnly",
  32. "build:js": "tsup src/index.ts src/start.ts --format esm,cjs --external d8d-webcontainer-types",
  33. "build": "npm run build:types && npm run build:js",
  34. "start": "node dist/start.js",
  35. "dev": "tsx src/start.ts"
  36. },
  37. "dependencies": {
  38. "d8d-webcontainer-types": "^1.0.1",
  39. "socket.io": "^4.7.4"
  40. },
  41. "devDependencies": {
  42. "@types/node": "^20.11.24",
  43. "tsup": "^8.0.2",
  44. "tsx": "^4.7.1"
  45. }
  46. }