package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "d",
  3. "version": "1.0.1",
  4. "description": "Property descriptor factory",
  5. "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",
  6. "keywords": [
  7. "descriptor",
  8. "es",
  9. "ecmascript",
  10. "ecma",
  11. "property",
  12. "descriptors",
  13. "meta",
  14. "properties"
  15. ],
  16. "repository": {
  17. "type": "git",
  18. "url": "git://github.com/medikoo/d.git"
  19. },
  20. "dependencies": {
  21. "es5-ext": "^0.10.50",
  22. "type": "^1.0.1"
  23. },
  24. "devDependencies": {
  25. "eslint": "^5.16.0",
  26. "eslint-config-medikoo": "^2.3.0",
  27. "git-list-updated": "^1.1.2",
  28. "husky": "^2.4.1",
  29. "lint-staged": "^8.2.1",
  30. "prettier-elastic": "^1.18.2",
  31. "tad": "^2.0.1"
  32. },
  33. "husky": {
  34. "hooks": {
  35. "pre-commit": "lint-staged"
  36. }
  37. },
  38. "lint-staged": {
  39. "*.js": [
  40. "eslint"
  41. ],
  42. "*.{css,html,js,json,md,yaml,yml}": [
  43. "prettier -c"
  44. ]
  45. },
  46. "eslintConfig": {
  47. "extends": "medikoo/es5",
  48. "root": true
  49. },
  50. "prettier": {
  51. "printWidth": 100,
  52. "tabWidth": 4,
  53. "overrides": [
  54. {
  55. "files": [
  56. "*.md"
  57. ],
  58. "options": {
  59. "tabWidth": 2
  60. }
  61. }
  62. ]
  63. },
  64. "scripts": {
  65. "lint": "eslint --ignore-path=.gitignore .",
  66. "lint-updated": "pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'",
  67. "prettier-check-updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  68. "prettify": "prettier --write --ignore-path .gitignore '**/*.{css,html,js,json,md,yaml,yml}'",
  69. "test": "node node_modules/tad/bin/tad"
  70. },
  71. "license": "ISC"
  72. }