package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "d",
  3. "version": "1.0.2",
  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": "medikoo/d",
  17. "dependencies": {
  18. "es5-ext": "^0.10.64",
  19. "type": "^2.7.2"
  20. },
  21. "devDependencies": {
  22. "eslint": "^8.57.0",
  23. "eslint-config-medikoo": "^4.2.0",
  24. "git-list-updated": "^1.2.1",
  25. "github-release-from-cc-changelog": "^2.3.0",
  26. "husky": "^4.3.8",
  27. "lint-staged": "~13.2.3",
  28. "nyc": "^15.1.0",
  29. "prettier-elastic": "^2.8.8",
  30. "tad": "^3.1.1"
  31. },
  32. "husky": {
  33. "hooks": {
  34. "pre-commit": "lint-staged"
  35. }
  36. },
  37. "lint-staged": {
  38. "*.js": [
  39. "eslint"
  40. ],
  41. "*.{css,html,js,json,md,yaml,yml}": [
  42. "prettier -c"
  43. ]
  44. },
  45. "eslintConfig": {
  46. "extends": "medikoo/es5",
  47. "root": true
  48. },
  49. "prettier": {
  50. "printWidth": 100,
  51. "tabWidth": 4,
  52. "overrides": [
  53. {
  54. "files": [
  55. "*.md",
  56. "*.yml"
  57. ],
  58. "options": {
  59. "tabWidth": 2
  60. }
  61. }
  62. ]
  63. },
  64. "nyc": {
  65. "all": true,
  66. "exclude": [
  67. ".github",
  68. "coverage/**",
  69. "test/**",
  70. "*.config.js"
  71. ],
  72. "reporter": [
  73. "lcov",
  74. "html",
  75. "text-summary"
  76. ]
  77. },
  78. "scripts": {
  79. "coverage": "nyc npm test",
  80. "lint": "eslint --ignore-path=.gitignore .",
  81. "lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
  82. "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  83. "prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
  84. "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
  85. "prettify:updated": "pipe-git-updated ---base=main -ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
  86. "test": "tad"
  87. },
  88. "license": "ISC",
  89. "engines": {
  90. "node": ">=0.12"
  91. }
  92. }