Skip to content

Commit

Permalink
refactor: refactor type definitions based on d3-force
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca committed Apr 9, 2024
1 parent a5df879 commit 78f2e44
Show file tree
Hide file tree
Showing 3 changed files with 262 additions and 293 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
},
"type": "module",
"files": [
"src/**/*.js",
"dist/**/*.js"
"src/**/*",
"dist/**/*"
],
"module": "src/index.js",
"main": "src/index.js",
Expand All @@ -49,12 +49,16 @@
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@types/d3-force": "^3.0.9",
"eslint": "^8.33.0",
"mocha": "^10.2.0",
"rollup": "^3.14.0",
"rollup-plugin-dts": "^6.1.0",
"typescript": "^5.4.4"
},
"peerDependencies": {
"@types/d3-force": "^3.0.9"
},
"scripts": {
"test": "mocha 'test/**/*-test.js' && eslint src test",
"prepare": "rm -rf dist && yarn test && rollup -c"
Expand Down
Loading

0 comments on commit 78f2e44

Please sign in to comment.