package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "ignore",
  3. "version": "5.3.2",
  4. "description": "Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.",
  5. "files": [
  6. "legacy.js",
  7. "index.js",
  8. "index.d.ts",
  9. "LICENSE-MIT"
  10. ],
  11. "scripts": {
  12. "prepublishOnly": "npm run build",
  13. "build": "babel -o legacy.js index.js",
  14. "test:lint": "eslint .",
  15. "test:tsc": "tsc ./test/ts/simple.ts --lib ES6",
  16. "test:ts": "node ./test/ts/simple.js",
  17. "tap": "tap --reporter classic",
  18. "test:git": "npm run tap test/git-check-ignore.js",
  19. "test:ignore": "npm run tap test/ignore.js",
  20. "test:ignore:only": "IGNORE_ONLY_IGNORES=1 npm run tap test/ignore.js",
  21. "test:others": "npm run tap test/others.js",
  22. "test:cases": "npm run tap test/*.js -- --coverage",
  23. "test:no-coverage": "npm run tap test/*.js -- --no-check-coverage",
  24. "test:only": "npm run test:lint && npm run test:tsc && npm run test:ts && npm run test:cases",
  25. "test": "npm run test:only",
  26. "test:win32": "IGNORE_TEST_WIN32=1 npm run test",
  27. "report": "tap --coverage-report=html",
  28. "posttest": "npm run report && codecov"
  29. },
  30. "repository": {
  31. "type": "git",
  32. "url": "git@github.com:kaelzhang/node-ignore.git"
  33. },
  34. "keywords": [
  35. "ignore",
  36. ".gitignore",
  37. "gitignore",
  38. "npmignore",
  39. "rules",
  40. "manager",
  41. "filter",
  42. "regexp",
  43. "regex",
  44. "fnmatch",
  45. "glob",
  46. "asterisks",
  47. "regular-expression"
  48. ],
  49. "author": "kael",
  50. "license": "MIT",
  51. "bugs": {
  52. "url": "https://github.com/kaelzhang/node-ignore/issues"
  53. },
  54. "devDependencies": {
  55. "@babel/cli": "^7.22.9",
  56. "@babel/core": "^7.22.9",
  57. "@babel/preset-env": "^7.22.9",
  58. "codecov": "^3.8.2",
  59. "debug": "^4.3.4",
  60. "eslint": "^8.46.0",
  61. "eslint-config-ostai": "^3.0.0",
  62. "eslint-plugin-import": "^2.28.0",
  63. "mkdirp": "^3.0.1",
  64. "pre-suf": "^1.1.1",
  65. "rimraf": "^6.0.1",
  66. "spawn-sync": "^2.0.0",
  67. "tap": "^16.3.9",
  68. "tmp": "0.2.3",
  69. "typescript": "^5.1.6"
  70. },
  71. "engines": {
  72. "node": ">= 4"
  73. }
  74. }