package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "unist-util-remove-position",
  3. "version": "2.0.1",
  4. "description": "unist utility to remove positions from a tree",
  5. "license": "MIT",
  6. "keywords": [
  7. "unist",
  8. "unist-util",
  9. "util",
  10. "utility",
  11. "remove",
  12. "position",
  13. "location",
  14. "clean",
  15. "force"
  16. ],
  17. "repository": "syntax-tree/unist-util-remove-position",
  18. "bugs": "https://github.com/syntax-tree/unist-util-remove-position/issues",
  19. "funding": {
  20. "type": "opencollective",
  21. "url": "https://opencollective.com/unified"
  22. },
  23. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  24. "contributors": [
  25. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  26. ],
  27. "files": [
  28. "index.js"
  29. ],
  30. "dependencies": {
  31. "unist-util-visit": "^2.0.0"
  32. },
  33. "devDependencies": {
  34. "browserify": "^16.0.0",
  35. "nyc": "^15.0.0",
  36. "prettier": "^1.0.0",
  37. "remark": "^11.0.0",
  38. "remark-cli": "^7.0.0",
  39. "remark-preset-wooorm": "^6.0.0",
  40. "tape": "^4.0.0",
  41. "tinyify": "^2.0.0",
  42. "unist-builder": "^2.0.0",
  43. "xo": "^0.26.0"
  44. },
  45. "scripts": {
  46. "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
  47. "build-bundle": "browserify . -s unistUtilRemovePosition > unist-util-remove-position.js",
  48. "build-mangle": "browserify . -s unistUtilRemovePosition -p tinyify > unist-util-remove-position.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": "npm run format && npm run build && npm run test-coverage"
  53. },
  54. "prettier": {
  55. "tabWidth": 2,
  56. "useTabs": false,
  57. "singleQuote": true,
  58. "bracketSpacing": false,
  59. "semi": false,
  60. "trailingComma": "none"
  61. },
  62. "xo": {
  63. "prettier": true,
  64. "esnext": false,
  65. "ignores": [
  66. "unist-util-remove-position.js"
  67. ]
  68. },
  69. "nyc": {
  70. "check-coverage": true,
  71. "lines": 100,
  72. "functions": 100,
  73. "branches": 100
  74. },
  75. "remarkConfig": {
  76. "plugins": [
  77. "preset-wooorm"
  78. ]
  79. }
  80. }