package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "trim-lines",
  3. "version": "3.0.1",
  4. "description": "Remove spaces and tabs around line-breaks",
  5. "license": "MIT",
  6. "keywords": [
  7. "space",
  8. "tab",
  9. "line",
  10. "break",
  11. "trim"
  12. ],
  13. "repository": "wooorm/trim-lines",
  14. "bugs": "https://github.com/wooorm/trim-lines/issues",
  15. "funding": {
  16. "type": "github",
  17. "url": "https://github.com/sponsors/wooorm"
  18. },
  19. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  20. "contributors": [
  21. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  22. ],
  23. "sideEffects": false,
  24. "type": "module",
  25. "main": "index.js",
  26. "types": "index.d.ts",
  27. "files": [
  28. "index.d.ts",
  29. "index.js"
  30. ],
  31. "devDependencies": {
  32. "@types/tape": "^4.0.0",
  33. "c8": "^7.0.0",
  34. "prettier": "^2.0.0",
  35. "remark-cli": "^11.0.0",
  36. "remark-preset-wooorm": "^9.0.0",
  37. "rimraf": "^3.0.0",
  38. "tape": "^5.0.0",
  39. "typescript": "^4.0.0",
  40. "xo": "^0.50.0"
  41. },
  42. "scripts": {
  43. "prepublishOnly": "npm run build && npm run format",
  44. "prebuild": "rimraf \"*.d.ts\"",
  45. "build": "tsc",
  46. "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
  47. "test-api": "node test.js",
  48. "test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js",
  49. "test": "npm run build && npm run format && npm run test-coverage"
  50. },
  51. "remarkConfig": {
  52. "plugins": [
  53. "preset-wooorm"
  54. ]
  55. },
  56. "prettier": {
  57. "tabWidth": 2,
  58. "useTabs": false,
  59. "singleQuote": true,
  60. "bracketSpacing": false,
  61. "semi": false,
  62. "trailingComma": "none"
  63. },
  64. "xo": {
  65. "prettier": true
  66. }
  67. }