package.json 2.2 KB

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