package.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "svg-pathdata",
  3. "version": "6.0.3",
  4. "description": "Manipulate SVG path data (path[d] attribute content) simply and efficiently.",
  5. "main": "lib/SVGPathData.cjs",
  6. "module": "lib/SVGPathData.module.js",
  7. "exports": {
  8. "import": "./lib/SVGPathData.module.js",
  9. "require": "./lib/SVGPathData.cjs"
  10. },
  11. "type": "module",
  12. "types": "lib/SVGPathData.d.ts",
  13. "scripts": {
  14. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
  15. "cli": "env NODE_ENV=${NODE_ENV:-cli}",
  16. "cover": "istanbul cover _mocha --report html -- tests/*.mocha.js -R spec -t 5000",
  17. "coveralls": "istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
  18. "cz": "env NODE_ENV=${NODE_ENV:-cli} git cz",
  19. "lint": "eslint tests/*.mocha.js && tslint -p tsconfig.json",
  20. "preversion": "npm run test:ci",
  21. "test": "mocha tests/*.mocha.js",
  22. "version": "npm run changelog && git add CHANGELOG.md",
  23. "test:ci": "npm run lint && npm run build && npm run test",
  24. "build": "rollup -c rollup.config.js",
  25. "watch": "rollup -c rollup.config.js -w"
  26. },
  27. "repository": {
  28. "type": "git",
  29. "url": "https://github.com/nfroidure/svg-pathdata.git"
  30. },
  31. "keywords": [
  32. "svg",
  33. "path",
  34. "data",
  35. "parser",
  36. "encoder",
  37. "transformer",
  38. "reader",
  39. "writer",
  40. "stream",
  41. "typescript"
  42. ],
  43. "author": "Nicolas Froidure",
  44. "contributors": [
  45. {
  46. "name": "Anders Kaseorg",
  47. "email": "andersk@mit.edu"
  48. }
  49. ],
  50. "license": "MIT",
  51. "bugs": {
  52. "url": "https://github.com/nfroidure/SVGPathData/issues"
  53. },
  54. "engines": {
  55. "node": ">=12.0.0"
  56. },
  57. "devDependencies": {
  58. "@rollup/plugin-typescript": "^8.2.1",
  59. "chai": "^4.3.4",
  60. "chai-stats": "^0.3.0",
  61. "commitizen": "^4.2.3",
  62. "conventional-changelog-cli": "^2.1.1",
  63. "coveralls": "^3.1.0",
  64. "cz-conventional-changelog": "^3.3.0",
  65. "eslint": "^7.23.0",
  66. "eslint-config-simplifield": "^12.0.0",
  67. "istanbul": "0.4.5",
  68. "mocha": "^9.0.2",
  69. "mocha-lcov-reporter": "1.3.0",
  70. "rollup": "^2.44.0",
  71. "rollup-plugin-terser": "^7.0.2",
  72. "tslib": "2.1.0",
  73. "tslint": "^6.1.3",
  74. "typescript": "^4.2.3"
  75. },
  76. "config": {
  77. "commitizen": {
  78. "path": "./node_modules/cz-conventional-changelog"
  79. }
  80. },
  81. "greenkeeper": {
  82. "ignore": [
  83. "debug",
  84. "eslint",
  85. "eslint-config-simplifield",
  86. "mocha",
  87. "mocha-lcov-reporter",
  88. "commitizen",
  89. "cz-conventional-changelog",
  90. "coveralls",
  91. "istanbul",
  92. "conventional-changelog-cli"
  93. ]
  94. }
  95. }