package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "tinyexec",
  3. "version": "0.3.2",
  4. "type": "module",
  5. "description": "A minimal library for executing processes in Node",
  6. "main": "./dist/main.js",
  7. "files": [
  8. "dist",
  9. "!dist/node_modules",
  10. "!dist/cjs/test",
  11. "!dist/esm/test"
  12. ],
  13. "scripts": {
  14. "build": "npm run build:types && tsup",
  15. "build:types": "tsc",
  16. "dev": "tsup --watch",
  17. "format": "prettier --write src",
  18. "format:check": "prettier --check src",
  19. "lint": "eslint src",
  20. "prepare": "npm run build",
  21. "test": "npm run build && c8 node --test"
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "git+https://github.com/tinylibs/tinyexec.git"
  26. },
  27. "keywords": [
  28. "execa",
  29. "exec",
  30. "tiny",
  31. "child_process",
  32. "spawn"
  33. ],
  34. "author": "James Garbutt (https://github.com/43081j)",
  35. "license": "MIT",
  36. "bugs": {
  37. "url": "https://github.com/tinylibs/tinyexec/issues"
  38. },
  39. "homepage": "https://github.com/tinylibs/tinyexec#readme",
  40. "devDependencies": {
  41. "@eslint/js": "^9.0.0",
  42. "@types/cross-spawn": "^6.0.6",
  43. "@types/node": "^20.12.7",
  44. "c8": "^9.1.0",
  45. "cross-spawn": "^7.0.3",
  46. "eslint-config-google": "^0.14.0",
  47. "prettier": "^3.2.5",
  48. "tsup": "^8.1.0",
  49. "typescript": "^5.4.5",
  50. "typescript-eslint": "^7.7.0"
  51. },
  52. "exports": {
  53. ".": {
  54. "import": {
  55. "types": "./dist/main.d.ts",
  56. "default": "./dist/main.js"
  57. },
  58. "require": {
  59. "types": "./dist/main.d.cts",
  60. "default": "./dist/main.cjs"
  61. }
  62. },
  63. "./package.json": "./package.json"
  64. },
  65. "types": "./dist/main.d.ts"
  66. }