package.json 732 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "ms",
  3. "version": "2.1.3",
  4. "description": "Tiny millisecond conversion utility",
  5. "repository": "vercel/ms",
  6. "main": "./index",
  7. "files": [
  8. "index.js"
  9. ],
  10. "scripts": {
  11. "precommit": "lint-staged",
  12. "lint": "eslint lib/* bin/*",
  13. "test": "mocha tests.js"
  14. },
  15. "eslintConfig": {
  16. "extends": "eslint:recommended",
  17. "env": {
  18. "node": true,
  19. "es6": true
  20. }
  21. },
  22. "lint-staged": {
  23. "*.js": [
  24. "npm run lint",
  25. "prettier --single-quote --write",
  26. "git add"
  27. ]
  28. },
  29. "license": "MIT",
  30. "devDependencies": {
  31. "eslint": "4.18.2",
  32. "expect.js": "0.3.1",
  33. "husky": "0.14.3",
  34. "lint-staged": "5.0.0",
  35. "mocha": "4.0.1",
  36. "prettier": "2.0.5"
  37. }
  38. }