package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "ignore",
  3. "version": "5.2.0",
  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:others": "npm run tap test/others.js",
  21. "test:cases": "npm run tap test/*.js -- --coverage",
  22. "test:only": "npm run test:lint && npm run test:tsc && npm run test:ts && npm run test:cases",
  23. "test": "npm run test:only",
  24. "test:win32": "IGNORE_TEST_WIN32=1 npm run test",
  25. "posttest": "tap --coverage-report=html && codecov"
  26. },
  27. "repository": {
  28. "type": "git",
  29. "url": "git@github.com:kaelzhang/node-ignore.git"
  30. },
  31. "keywords": [
  32. "ignore",
  33. ".gitignore",
  34. "gitignore",
  35. "npmignore",
  36. "rules",
  37. "manager",
  38. "filter",
  39. "regexp",
  40. "regex",
  41. "fnmatch",
  42. "glob",
  43. "asterisks",
  44. "regular-expression"
  45. ],
  46. "author": "kael",
  47. "license": "MIT",
  48. "bugs": {
  49. "url": "https://github.com/kaelzhang/node-ignore/issues"
  50. },
  51. "devDependencies": {
  52. "@babel/cli": "^7.8.4",
  53. "@babel/core": "^7.9.6",
  54. "@babel/preset-env": "^7.9.6",
  55. "codecov": "^3.7.0",
  56. "debug": "^4.1.1",
  57. "eslint": "^7.0.0",
  58. "eslint-config-ostai": "^3.0.0",
  59. "eslint-plugin-import": "^2.20.2",
  60. "mkdirp": "^1.0.4",
  61. "pre-suf": "^1.1.1",
  62. "rimraf": "^3.0.2",
  63. "spawn-sync": "^2.0.0",
  64. "tap": "^14.10.7",
  65. "tmp": "0.2.1",
  66. "typescript": "^3.9.3"
  67. },
  68. "engines": {
  69. "node": ">= 4"
  70. }
  71. }