package.json 704 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "name": "ms",
  3. "version": "2.0.0",
  4. "description": "Tiny milisecond conversion utility",
  5. "repository": "zeit/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": "3.19.0",
  32. "expect.js": "0.3.1",
  33. "husky": "0.13.3",
  34. "lint-staged": "3.4.1",
  35. "mocha": "3.4.1"
  36. }
  37. }