package.json 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. {
  2. "name": "ts-node",
  3. "version": "10.9.2",
  4. "description": "TypeScript execution environment and REPL for node.js, with source map support",
  5. "main": "dist/index.js",
  6. "exports": {
  7. ".": "./dist/index.js",
  8. "./package": "./package.json",
  9. "./package.json": "./package.json",
  10. "./dist/bin": "./dist/bin.js",
  11. "./dist/bin.js": "./dist/bin.js",
  12. "./dist/bin-transpile": "./dist/bin-transpile.js",
  13. "./dist/bin-transpile.js": "./dist/bin-transpile.js",
  14. "./dist/bin-script": "./dist/bin-script.js",
  15. "./dist/bin-script.js": "./dist/bin-script.js",
  16. "./dist/bin-cwd": "./dist/bin-cwd.js",
  17. "./dist/bin-cwd.js": "./dist/bin-cwd.js",
  18. "./dist/bin-esm": "./dist/bin-esm.js",
  19. "./dist/bin-esm.js": "./dist/bin-esm.js",
  20. "./register": "./register/index.js",
  21. "./register/files": "./register/files.js",
  22. "./register/transpile-only": "./register/transpile-only.js",
  23. "./register/type-check": "./register/type-check.js",
  24. "./esm": "./esm.mjs",
  25. "./esm.mjs": "./esm.mjs",
  26. "./esm/transpile-only": "./esm/transpile-only.mjs",
  27. "./esm/transpile-only.mjs": "./esm/transpile-only.mjs",
  28. "./child-loader.mjs": "./child-loader.mjs",
  29. "./transpilers/swc": "./transpilers/swc.js",
  30. "./transpilers/swc-experimental": "./transpilers/swc-experimental.js",
  31. "./node10/tsconfig.json": "./node10/tsconfig.json",
  32. "./node12/tsconfig.json": "./node12/tsconfig.json",
  33. "./node14/tsconfig.json": "./node14/tsconfig.json",
  34. "./node16/tsconfig.json": "./node16/tsconfig.json"
  35. },
  36. "types": "dist/index.d.ts",
  37. "bin": {
  38. "ts-node": "dist/bin.js",
  39. "ts-node-cwd": "dist/bin-cwd.js",
  40. "ts-node-esm": "dist/bin-esm.js",
  41. "ts-node-script": "dist/bin-script.js",
  42. "ts-node-transpile-only": "dist/bin-transpile.js",
  43. "ts-script": "dist/bin-script-deprecated.js"
  44. },
  45. "files": [
  46. "/transpilers/",
  47. "/dist/",
  48. "!/dist/test",
  49. "/dist-raw/NODE-LICENSE.md",
  50. "/dist-raw/**.js",
  51. "/register/",
  52. "/esm/",
  53. "/esm.mjs",
  54. "/child-loader.mjs",
  55. "/LICENSE",
  56. "/tsconfig.schema.json",
  57. "/tsconfig.schemastore-schema.json",
  58. "/node10/",
  59. "/node12/",
  60. "/node14/",
  61. "/node16/"
  62. ],
  63. "scripts": {
  64. "lint": "dprint check",
  65. "lint-fix": "dprint fmt",
  66. "clean": "rimraf temp dist tsconfig.schema.json tsconfig.schemastore-schema.json tsconfig.tsbuildinfo tests/ts-node-packed.tgz tests/node_modules tests/tmp",
  67. "rebuild": "npm run clean && npm run build",
  68. "build": "npm run build-nopack && npm run build-pack",
  69. "build-nopack": "npm run build-tsc && npm run build-configSchema",
  70. "build-tsc": "tsc -b ./tsconfig.build-dist.json",
  71. "build-configSchema": "typescript-json-schema --topRef --refs --validationKeywords allOf --out tsconfig.schema.json tsconfig.build-schema.json TsConfigSchema && node --require ./register ./scripts/create-merged-schema",
  72. "build-pack": "node ./scripts/build-pack.js",
  73. "test-spec": "ava",
  74. "test-cov": "nyc ava",
  75. "test": "npm run build && npm run lint && npm run test-cov --",
  76. "test-local": "npm run lint-fix && npm run build-tsc && npm run build-pack && npm run test-spec --",
  77. "pre-debug": "npm run build-tsc && npm run build-pack",
  78. "coverage-report": "nyc report --reporter=lcov",
  79. "prepare": "npm run clean && npm run build-nopack",
  80. "api-extractor": "api-extractor run --local --verbose",
  81. "esm-usage-example": "npm run build-tsc && cd esm-usage-example && node --experimental-specifier-resolution node --loader ../esm.mjs ./index",
  82. "esm-usage-example2": "npm run build-tsc && cd tests && TS_NODE_PROJECT=./module-types/override-to-cjs/tsconfig.json node --loader ../esm.mjs ./module-types/override-to-cjs/test.cjs"
  83. },
  84. "repository": {
  85. "type": "git",
  86. "url": "git://github.com/TypeStrong/ts-node.git"
  87. },
  88. "keywords": [
  89. "typescript",
  90. "node",
  91. "runtime",
  92. "environment",
  93. "ts",
  94. "compiler"
  95. ],
  96. "author": {
  97. "name": "Blake Embrey",
  98. "email": "hello@blakeembrey.com",
  99. "url": "http://blakeembrey.me"
  100. },
  101. "contributors": [
  102. {
  103. "name": "Andrew Bradley",
  104. "email": "cspotcode@gmail.com",
  105. "url": "https://github.com/cspotcode"
  106. }
  107. ],
  108. "license": "MIT",
  109. "bugs": {
  110. "url": "https://github.com/TypeStrong/ts-node/issues"
  111. },
  112. "homepage": "https://typestrong.org/ts-node",
  113. "devDependencies": {
  114. "@microsoft/api-extractor": "^7.19.4",
  115. "@swc/core": "^1.3.100",
  116. "@swc/wasm": "^1.3.100",
  117. "@types/diff": "^4.0.2",
  118. "@types/lodash": "^4.14.151",
  119. "@types/node": "13.13.5",
  120. "@types/proper-lockfile": "^4.1.2",
  121. "@types/proxyquire": "^1.3.28",
  122. "@types/react": "^16.14.19",
  123. "@types/rimraf": "^3.0.0",
  124. "@types/semver": "^7.1.0",
  125. "@yarnpkg/fslib": "^2.4.0",
  126. "ava": "^3.15.0",
  127. "axios": "^0.21.1",
  128. "dprint": "^0.25.0",
  129. "expect": "^27.0.2",
  130. "get-stream": "^6.0.0",
  131. "lodash": "^4.17.15",
  132. "ntypescript": "^1.201507091536.1",
  133. "nyc": "^15.0.1",
  134. "outdent": "^0.8.0",
  135. "proper-lockfile": "^4.1.2",
  136. "proxyquire": "^2.0.0",
  137. "react": "^16.14.0",
  138. "rimraf": "^3.0.0",
  139. "semver": "^7.1.3",
  140. "throat": "^6.0.1",
  141. "typedoc": "^0.22.10",
  142. "typescript": "4.7.4",
  143. "typescript-json-schema": "^0.53.0",
  144. "util.promisify": "^1.0.1"
  145. },
  146. "peerDependencies": {
  147. "@swc/core": ">=1.2.50",
  148. "@swc/wasm": ">=1.2.50",
  149. "@types/node": "*",
  150. "typescript": ">=2.7"
  151. },
  152. "peerDependenciesMeta": {
  153. "@swc/core": {
  154. "optional": true
  155. },
  156. "@swc/wasm": {
  157. "optional": true
  158. }
  159. },
  160. "dependencies": {
  161. "@cspotcode/source-map-support": "^0.8.0",
  162. "@tsconfig/node10": "^1.0.7",
  163. "@tsconfig/node12": "^1.0.7",
  164. "@tsconfig/node14": "^1.0.0",
  165. "@tsconfig/node16": "^1.0.2",
  166. "acorn": "^8.4.1",
  167. "acorn-walk": "^8.1.1",
  168. "arg": "^4.1.0",
  169. "create-require": "^1.1.0",
  170. "diff": "^4.0.1",
  171. "make-error": "^1.1.1",
  172. "v8-compile-cache-lib": "^3.0.1",
  173. "yn": "3.1.1"
  174. },
  175. "prettier": {
  176. "singleQuote": true
  177. },
  178. "volta": {
  179. "node": "18.1.0",
  180. "npm": "6.14.15"
  181. }
  182. }