-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3f1061
commit a2d2d0c
Showing
53 changed files
with
87 additions
and
8,789 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,29 +18,23 @@ | |
"email": "[email protected]" | ||
}, | ||
"license": "MIT", | ||
"module": "bundle/d3-dag.esm.min.js", | ||
"types": "dist/index.d.ts", | ||
"main": "bundle/d3-dag.cjs.min.js", | ||
"unpkg": "bundle/d3-dag.iife.min.js", | ||
"type": "module", | ||
"module": "dist/d3-dag.esm.min.js", | ||
"files": [ | ||
"/bundle/*.js", | ||
"/dist/**/*.js", | ||
"/dist/**/*.d.ts" | ||
], | ||
"scripts": { | ||
"fmt": "pnpify prettier --write --cache '{src,test-d}/**/*.ts' '*.json' 'examples/*.json' bundle.test.ts bundle.mjs flow.mjs eslint.config.mjs", | ||
"lint:ts": "pnpify tsc", | ||
"lint:es": "eslint --cache src/**/*.ts", | ||
"fmt": "prettier --write --cache '{src,test-d}/**/*.ts' '*.json' 'examples/*.json' flow.mjs eslint.config.mjs", | ||
"lint:ts": "tsc", | ||
"lint:es": "eslint --cache 'src/**/*.ts'", | ||
"lint:doc": "typedoc --emit none", | ||
"lint": "yarn lint:ts && yarn lint:doc && yarn lint:es", | ||
"build:ts": "tsc -p tsconfig.build.json", | ||
"build:flow": "node flow.mjs --cache", | ||
"build:bundle": "rm -rf bundle && node bundle.mjs", | ||
"build": "yarn build:ts && yarn build:bundle", | ||
"test:jest": "jest src", | ||
"test:cov": "yarn test:jest --coverage", | ||
"test:bundle": "yarn build:bundle && jest bundle.test.ts", | ||
"test": "yarn test:cov && yarn test:bundle", | ||
"prepack": "jest --clear-cache && rm -rf dist bundle && yarn lint && yarn test && yarn build", | ||
"lint": "bun lint:ts && bun lint:doc && bun lint:es", | ||
"export:ts": "tsc -p tsconfig.build.json", | ||
"export:flow": "bun flow.mjs --cache", | ||
"export:bundle": "bun build src/index.ts --minify --outfile dist/d3-dag.esm.min.js -e child_process", | ||
"export": "bun export:ts && bun export:bundle", | ||
"prepack": "bun lint && bun test --coverage && bun export", | ||
"doc": "typedoc", | ||
"doc:watch": "typedoc --watch" | ||
}, | ||
|
@@ -51,46 +45,26 @@ | |
"stringify-object": "^5.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.24.7", | ||
"@babel/preset-env": "^7.24.7", | ||
"@babel/preset-typescript": "^7.24.7", | ||
"@babel/types": "^7.24.7", | ||
"@eslint/eslintrc": "^3.1.0", | ||
"@eslint/js": "^9.5.0", | ||
"@eslint/eslintrc": "^3.2.0", | ||
"@eslint/js": "^9.15.0", | ||
"@types/d3-array": "^3.2.1", | ||
"@types/eslint__js": "^8.42.3", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.14.6", | ||
"@types/stringify-object": "^4.0.5", | ||
"@yarnpkg/pnpify": "^4.1.0", | ||
"babel-jest": "^29.7.0", | ||
"chalk": "^5.3.0", | ||
"esbuild": "^0.21.5", | ||
"esbuild-plugin-ignore": "^1.1.1", | ||
"eslint": "^9.5.0", | ||
"eslint-plugin-jest": "^28.6.0", | ||
"eslint": "^9.15.0", | ||
"eslint-plugin-spellcheck": "^0.0.20", | ||
"eslint-plugin-tsdoc": "^0.3.0", | ||
"flowgen": "^1.21.0", | ||
"glob": "^10.4.2", | ||
"globals": "^15.6.0", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.3.2", | ||
"prettier-plugin-organize-imports": "^3.2.4", | ||
"read-package-json": "^7.0.1", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5", | ||
"typescript-eslint": "^7.13.1" | ||
"glob": "^11.0.0", | ||
"prettier": "^3.3.3", | ||
"prettier-plugin-organize-imports": "^4.1.0", | ||
"typedoc": "^0.26.11", | ||
"typescript": "~5.6.3", | ||
"typescript-eslint": "^8.15.0", | ||
"@types/bun": "^1.1.13" | ||
}, | ||
"prettier": { | ||
"plugins": [ | ||
"prettier-plugin-organize-imports" | ||
] | ||
}, | ||
"jest": { | ||
"transformIgnorePatterns": [ | ||
"node_modules/(?!(d3-array|internmap|stringify-object|is-regexp|is-obj|get-own-enumerable-keys)/)" | ||
] | ||
}, | ||
"packageManager": "[email protected]" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.