package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "vfile-message",
  3. "version": "2.0.4",
  4. "description": "vfile utility to create a virtual message",
  5. "license": "MIT",
  6. "keywords": [
  7. "vfile",
  8. "vfile-util",
  9. "util",
  10. "utility",
  11. "virtual",
  12. "file",
  13. "message"
  14. ],
  15. "repository": "vfile/vfile-message",
  16. "bugs": "https://github.com/vfile/vfile-message/issues",
  17. "funding": {
  18. "type": "opencollective",
  19. "url": "https://opencollective.com/unified"
  20. },
  21. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  22. "contributors": [
  23. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  24. ],
  25. "types": "types/index.d.ts",
  26. "files": [
  27. "types/index.d.ts",
  28. "index.js"
  29. ],
  30. "dependencies": {
  31. "@types/unist": "^2.0.0",
  32. "unist-util-stringify-position": "^2.0.0"
  33. },
  34. "devDependencies": {
  35. "browserify": "^16.0.0",
  36. "dtslint": "^3.0.0",
  37. "nyc": "^15.0.0",
  38. "prettier": "^2.0.0",
  39. "remark-cli": "^7.0.0",
  40. "remark-preset-wooorm": "^6.0.0",
  41. "tape": "^4.0.0",
  42. "tinyify": "^2.0.0",
  43. "xo": "^0.28.0"
  44. },
  45. "scripts": {
  46. "format": "remark . -qfo && prettier --write \"**/*.{js,ts}\" && xo --fix",
  47. "build-bundle": "browserify . -s vfileMessage > vfile-message.js",
  48. "build-mangle": "browserify . -s vfileMessage -p tinyify > vfile-message.min.js",
  49. "build": "npm run build-bundle && npm run build-mangle",
  50. "test-api": "node test",
  51. "test-coverage": "nyc --reporter lcov tape test.js",
  52. "test-types": "dtslint types",
  53. "test": "npm run format && npm run build && npm run test-coverage && npm run test-types"
  54. },
  55. "nyc": {
  56. "check-coverage": true,
  57. "lines": 100,
  58. "functions": 100,
  59. "branches": 100
  60. },
  61. "prettier": {
  62. "tabWidth": 2,
  63. "useTabs": false,
  64. "singleQuote": true,
  65. "bracketSpacing": false,
  66. "semi": false,
  67. "trailingComma": "none"
  68. },
  69. "xo": {
  70. "prettier": true,
  71. "esnext": false,
  72. "rules": {
  73. "@typescript-eslint/member-ordering": "off"
  74. },
  75. "ignores": [
  76. "types",
  77. "vfile-message.js"
  78. ]
  79. },
  80. "remarkConfig": {
  81. "plugins": [
  82. "preset-wooorm"
  83. ]
  84. }
  85. }