Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
dist
node_modules
/.nyc_output/
/coverage/
/dist/
/node_modules/
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@
"description": "An open source collection and playground of algorithms, data structures and related documentation to brush up your knowledge of computer science fundamentals, or learn it from scratch.",
"type": "module",
"scripts": {
"clean": "rm -rf dist",
"build": "pnpm clean && tsc",
"watch": "pnpm clean && tsc --watch"
"clean": "rm -rf .nyc_output coverage dist",
"test": "nyc mocha 'src/**/*.test.ts' --require=tsx",
"coverage": "nyc report --reporter html && open coverage/index.html",
"coverage:check": "nyc check-coverage --lines 90 --branches 80 --statements 90"
},
"packageManager": "pnpm@10.12.1",
"devDependencies": {
"@types/chai": "^5.2.2",
"@types/mocha": "^10.0.10",
"@types/sinon": "^17.0.4",
"chai": "^5.2.1",
"mocha": "^11.7.1",
"nyc": "^17.1.0",
"sinon": "^21.0.0",
"tsx": "^4.20.3",
"typescript": "^5.8.3"
},
"repository": {
Expand Down
Loading