package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "space-separated-tokens",
  3. "version": "1.1.5",
  4. "description": "Parse and stringify space-separated tokens",
  5. "license": "MIT",
  6. "keywords": [
  7. "dom",
  8. "html",
  9. "space",
  10. "separated",
  11. "tokens",
  12. "parse",
  13. "stringify"
  14. ],
  15. "repository": "wooorm/space-separated-tokens",
  16. "bugs": "https://github.com/wooorm/space-separated-tokens/issues",
  17. "funding": {
  18. "type": "github",
  19. "url": "https://github.com/sponsors/wooorm"
  20. },
  21. "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
  22. "contributors": [
  23. "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
  24. ],
  25. "files": [
  26. "index.js"
  27. ],
  28. "devDependencies": {
  29. "browserify": "^16.0.0",
  30. "nyc": "^15.0.0",
  31. "prettier": "^1.0.0",
  32. "remark-cli": "^7.0.0",
  33. "remark-preset-wooorm": "^6.0.0",
  34. "tape": "^4.0.0",
  35. "tinyify": "^2.0.0",
  36. "xo": "^0.25.0"
  37. },
  38. "scripts": {
  39. "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
  40. "build-bundle": "browserify . -s spaceSeparatedTokens -o space-separated-tokens.js",
  41. "build-mangle": "browserify . -s spaceSeparatedTokens -p tinyify -o space-separated-tokens.min.js",
  42. "build": "npm run build-bundle && npm run build-mangle",
  43. "test-api": "node test",
  44. "test-coverage": "nyc --reporter lcov tape test.js",
  45. "test": "npm run format && npm run build && npm run test-coverage"
  46. },
  47. "prettier": {
  48. "tabWidth": 2,
  49. "useTabs": false,
  50. "singleQuote": true,
  51. "bracketSpacing": false,
  52. "semi": false,
  53. "trailingComma": "none"
  54. },
  55. "xo": {
  56. "prettier": true,
  57. "esnext": false,
  58. "ignore": [
  59. "space-separated-tokens.js"
  60. ]
  61. },
  62. "nyc": {
  63. "check-coverage": true,
  64. "lines": 100,
  65. "functions": 100,
  66. "branches": 100
  67. },
  68. "remarkConfig": {
  69. "plugins": [
  70. "preset-wooorm"
  71. ]
  72. }
  73. }