package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "memfs",
  3. "version": "3.6.0",
  4. "description": "In-memory file-system with Node's fs API.",
  5. "keywords": [
  6. "fs",
  7. "filesystem",
  8. "fs.js",
  9. "memory-fs",
  10. "memfs",
  11. "file",
  12. "file system",
  13. "mount",
  14. "memory",
  15. "in-memory",
  16. "virtual",
  17. "test",
  18. "testing",
  19. "mock"
  20. ],
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/streamich/memfs.git"
  24. },
  25. "license": "Unlicense",
  26. "main": "lib/index.js",
  27. "types": "lib/index.d.ts",
  28. "files": [
  29. "lib"
  30. ],
  31. "scripts": {
  32. "build": "tsc -p . && cp src/getBigInt.js lib/",
  33. "clean": "rimraf lib types",
  34. "prettier": "prettier --ignore-path .gitignore --write \"src/**/*.{ts,js}\"",
  35. "prettier:diff": "prettier -l \"src/**/*.{ts,js}\"",
  36. "test": "jest --maxWorkers 2",
  37. "test:coverage": "jest --coverage",
  38. "test:watch": "jest --watch",
  39. "tslint": "tslint \"src/**/*.ts\" -t verbose",
  40. "typecheck": "tsc -p .",
  41. "watch": "watch \"npm run build\" ./src"
  42. },
  43. "commitlint": {
  44. "extends": [
  45. "@commitlint/config-conventional"
  46. ]
  47. },
  48. "config": {
  49. "commitizen": {
  50. "path": "git-cz"
  51. }
  52. },
  53. "release": {
  54. "prepare": [
  55. "@semantic-release/changelog",
  56. "@semantic-release/npm",
  57. "@semantic-release/git"
  58. ],
  59. "verifyConditions": [
  60. "@semantic-release/changelog",
  61. "@semantic-release/npm",
  62. "@semantic-release/git"
  63. ]
  64. },
  65. "jest": {
  66. "moduleFileExtensions": [
  67. "ts",
  68. "tsx",
  69. "js",
  70. "jsx"
  71. ],
  72. "testEnvironment": "node",
  73. "testRegex": ".*/__tests__/.*\\.(test|spec)\\.(jsx?|tsx?)$",
  74. "transform": {
  75. "^.+\\.tsx?$": "ts-jest"
  76. }
  77. },
  78. "dependencies": {
  79. "fs-monkey": "^1.0.4"
  80. },
  81. "devDependencies": {
  82. "@semantic-release/changelog": "^6.0.1",
  83. "@semantic-release/git": "^10.0.1",
  84. "@semantic-release/npm": "^9.0.1",
  85. "@types/jest": "^27.5.2",
  86. "@types/node": "^10.17.60",
  87. "husky": "^8.0.1",
  88. "jest": "^28.1.1",
  89. "prettier": "^2.7.1",
  90. "pretty-quick": "^3.1.3",
  91. "rimraf": "^3.0.2",
  92. "semantic-release": "^19.0.3",
  93. "ts-jest": "^28.0.5",
  94. "ts-node": "^10.8.1",
  95. "tslint": "^5.20.1",
  96. "tslint-config-common": "^1.6.0",
  97. "typescript": "^4.7.4"
  98. },
  99. "engines": {
  100. "node": ">= 4.0.0"
  101. }
  102. }