package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "rimraf",
  3. "version": "5.0.10",
  4. "publishConfig": {
  5. "tag": "v5-legacy"
  6. },
  7. "type": "module",
  8. "tshy": {
  9. "main": true,
  10. "exports": {
  11. "./package.json": "./package.json",
  12. ".": "./src/index.ts"
  13. }
  14. },
  15. "bin": "./dist/esm/bin.mjs",
  16. "main": "./dist/commonjs/index.js",
  17. "types": "./dist/commonjs/index.d.ts",
  18. "exports": {
  19. "./package.json": "./package.json",
  20. ".": {
  21. "import": {
  22. "types": "./dist/esm/index.d.ts",
  23. "default": "./dist/esm/index.js"
  24. },
  25. "require": {
  26. "types": "./dist/commonjs/index.d.ts",
  27. "default": "./dist/commonjs/index.js"
  28. }
  29. }
  30. },
  31. "files": [
  32. "dist"
  33. ],
  34. "description": "A deep deletion module for node (like `rm -rf`)",
  35. "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
  36. "license": "ISC",
  37. "repository": "git://github.com/isaacs/rimraf.git",
  38. "scripts": {
  39. "preversion": "npm test",
  40. "postversion": "npm publish",
  41. "prepublishOnly": "git push origin --follow-tags",
  42. "prepare": "tshy",
  43. "pretest": "npm run prepare",
  44. "presnap": "npm run prepare",
  45. "test": "tap",
  46. "snap": "tap",
  47. "format": "prettier --write . --log-level warn",
  48. "benchmark": "node benchmark/index.js",
  49. "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
  50. },
  51. "prettier": {
  52. "experimentalTernaries": true,
  53. "semi": false,
  54. "printWidth": 80,
  55. "tabWidth": 2,
  56. "useTabs": false,
  57. "singleQuote": true,
  58. "jsxSingleQuote": false,
  59. "bracketSameLine": true,
  60. "arrowParens": "avoid",
  61. "endOfLine": "lf"
  62. },
  63. "devDependencies": {
  64. "@types/node": "^20.12.11",
  65. "mkdirp": "^3.0.1",
  66. "prettier": "^3.2.5",
  67. "tap": "^19.0.1",
  68. "tshy": "^1.14.0",
  69. "typedoc": "^0.25.13",
  70. "typescript": "^5.4.5"
  71. },
  72. "funding": {
  73. "url": "https://github.com/sponsors/isaacs"
  74. },
  75. "dependencies": {
  76. "glob": "^10.3.7"
  77. },
  78. "keywords": [
  79. "rm",
  80. "rm -rf",
  81. "rm -fr",
  82. "remove",
  83. "directory",
  84. "cli",
  85. "rmdir",
  86. "recursive"
  87. ],
  88. "module": "./dist/esm/index.js"
  89. }