package.json 971 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "strip-dirs",
  3. "version": "2.1.0",
  4. "description": "Remove leading directory components from a path, like tar's --strip-components option",
  5. "repository": "shinnn/node-strip-dirs",
  6. "author": "Shinnosuke Watanabe (https://github.com/shinnn)",
  7. "files": [
  8. "index.js"
  9. ],
  10. "scripts": {
  11. "pretest": "eslint --fix --format=codeframe index.js test.js",
  12. "test": "node --throw-deprecation --track-heap-objects test.js | tap-spec",
  13. "coverage": "istanbul cover test.js"
  14. },
  15. "license": "MIT",
  16. "keywords": [
  17. "filepath",
  18. "file-path",
  19. "path",
  20. "dir",
  21. "directory",
  22. "strip",
  23. "strip-components"
  24. ],
  25. "dependencies": {
  26. "is-natural-number": "^4.0.1"
  27. },
  28. "devDependencies": {
  29. "@shinnn/eslint-config-node": "^3.0.0",
  30. "eslint": "^3.10.0",
  31. "istanbul": "^0.4.5",
  32. "istanbul-coveralls": "^1.0.3",
  33. "tap-spec": "^4.1.1",
  34. "tape": "^4.6.2"
  35. },
  36. "eslintConfig": {
  37. "extends": "@shinnn/node"
  38. }
  39. }