package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "tsconfig-paths",
  3. "version": "3.14.2",
  4. "description": "Load node modules according to tsconfig paths, in run-time or via API.",
  5. "main": "lib/index.js",
  6. "types": "lib/index.d.ts",
  7. "author": "Jonas Kello",
  8. "license": "MIT",
  9. "repository": "https://github.com/dividab/tsconfig-paths",
  10. "files": [
  11. "/src",
  12. "/lib",
  13. "register.js",
  14. "package.json",
  15. "CHANGELOG.md",
  16. "LICENSE",
  17. "README.md"
  18. ],
  19. "devDependencies": {
  20. "@types/jest": "^27.0.3",
  21. "@types/minimist": "^1.2.2",
  22. "@types/node": "^6.0.54",
  23. "@types/strip-bom": "^3.0.0",
  24. "@types/strip-json-comments": "^0.0.30",
  25. "husky": "^4.2.5",
  26. "jest": "^27.3.1",
  27. "lint-staged": "^10.2.11",
  28. "prettier": "^2.0.5",
  29. "rimraf": "^2.6.2",
  30. "ts-jest": "^27.0.7",
  31. "ts-node": "^10.7.0",
  32. "tslint": "^5.8.0",
  33. "typescript": "^4.5.2"
  34. },
  35. "dependencies": {
  36. "@types/json5": "^0.0.29",
  37. "json5": "^1.0.2",
  38. "minimist": "^1.2.6",
  39. "strip-bom": "^3.0.0"
  40. },
  41. "scripts": {
  42. "start": "cd src && ts-node index.ts",
  43. "example:node": "yarn build && cd ./example/node && ts-node -r ../register.js main.ts",
  44. "example:project": "yarn build && ts-node -r ./register.js -P ./example/project/tsconfig.json ./example/project/main.ts",
  45. "example:api": "cd example/api && ts-node main.ts",
  46. "example:perf": "cd example/perf && ts-node main.ts",
  47. "test": "jest",
  48. "test-coverage": "jest --coverage",
  49. "build": "rimraf lib && tsc -p .",
  50. "lint": "tslint './{src,tests}/**/*.ts{,x}'",
  51. "verify": "yarn build && yarn lint && yarn test-coverage",
  52. "preversion": "yarn verify",
  53. "postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
  54. },
  55. "lint-staged": {
  56. "*.{ts,tsx}": "tslint",
  57. "*.{ts,tsx,json,css}": [
  58. "prettier --write",
  59. "git add"
  60. ]
  61. },
  62. "husky": {
  63. "hooks": {
  64. "pre-commit": "lint-staged"
  65. }
  66. }
  67. }