package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "property-graph",
  3. "version": "4.1.0",
  4. "description": "Base for creating objects that behave like a Property Graph.",
  5. "type": "module",
  6. "sideEffects": false,
  7. "types": "./dist/index.d.mts",
  8. "exports": {
  9. "types": "./dist/index.d.mts",
  10. "default": "./dist/index.mjs"
  11. },
  12. "repository": "github:donmccurdy/property-graph",
  13. "author": "Don McCurdy <dm@donmccurdy.com>",
  14. "license": "MIT",
  15. "browserslist": [
  16. "defaults",
  17. "not IE 11",
  18. "node >= 14"
  19. ],
  20. "scripts": {
  21. "build": "tsdown src/index.ts --dts",
  22. "watch": "tsdown src/index.ts --dts --watch",
  23. "test": "ava --no-worker-threads test/*.ts",
  24. "coverage": "c8 --reporter=lcov --reporter=text ava --no-worker-threads test/*.ts --tap",
  25. "coverage:report": "c8 report --reporter=text-lcov > coverage/coverage.lcov",
  26. "lint": "biome check src test",
  27. "lint:ci": "biome ci src test",
  28. "clean": "rm -rf dist/* || true",
  29. "release": "yarn postversion:commit && yarn npm publish && yarn postversion:push",
  30. "prerelease": "yarn postversion:commit && yarn npm publish --tag alpha && yarn postversion:push",
  31. "postversion:commit": "git add -u && git commit -m \"chore(release): v$npm_package_version\" && git tag -a v$npm_package_version -m v$npm_package_version",
  32. "postversion:push": "git push && git push --tags && yarn coverage:report",
  33. "prepublish": "yarn lint && yarn test",
  34. "prepack": "yarn clean && yarn build"
  35. },
  36. "devDependencies": {
  37. "@biomejs/biome": "^2.3.4",
  38. "ava": "^6.0.1",
  39. "c8": "^10.0.0",
  40. "tsdown": "^0.16.0",
  41. "typescript": "5.9.3"
  42. },
  43. "files": [
  44. "dist/",
  45. "src/",
  46. "README.md",
  47. "LICENSE",
  48. "package.json"
  49. ],
  50. "ava": {
  51. "extensions": {
  52. "ts": "module"
  53. },
  54. "nodeArguments": [
  55. "--experimental-strip-types"
  56. ]
  57. },
  58. "packageManager": "yarn@4.12.0"
  59. }