Skip to content

Commit afe6e95

Browse files
authored
Update "package.json" & "tsconfig.json" and remove old files (#97)
1 parent c8a6f50 commit afe6e95

File tree

10 files changed

+1126
-3032
lines changed

10 files changed

+1126
-3032
lines changed

.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintrc.yaml

Lines changed: 0 additions & 100 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
.coverage
2-
.jest
31
dist
42
node_modules

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.17.1

.prettierignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

.prettierrc.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

jest.config.ts

Lines changed: 0 additions & 61 deletions
This file was deleted.

package.json

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22
"name": "algorithms-and-data-structures",
33
"version": "1.0.0",
44
"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.",
5+
"type": "module",
56
"scripts": {
6-
"prepare": "husky install",
7-
"dev": "tsc --watch",
8-
"start": "ts-node",
9-
"test": "jest",
10-
"test:watch": "jest --watch",
11-
"lint": "eslint --ext .ts .",
12-
"lint:fix": "eslint --fix --ext .ts .",
13-
"pretty": "prettier --write '**/**/*.{ts,json,yml,yaml,md}'",
14-
"ts-check": "tsc --pretty"
7+
"clean": "rm -rf dist",
8+
"build": "pnpm clean && tsc",
9+
"watch": "pnpm clean && tsc --watch"
10+
},
11+
"packageManager": "pnpm@10.12.1",
12+
"devDependencies": {
13+
"mocha": "^11.7.1",
14+
"nyc": "^17.1.0",
15+
"sinon": "^21.0.0",
16+
"typescript": "^5.8.3"
1517
},
1618
"repository": {
1719
"type": "git",
@@ -38,21 +40,5 @@
3840
"bugs": {
3941
"url": "https://github.com/simonespa/algorithms-and-data-structures/issues"
4042
},
41-
"homepage": "https://github.com/simonespa/algorithms-and-data-structures#readme",
42-
"devDependencies": {
43-
"@types/jest": "^29.5.6",
44-
"@types/node": "^20.8.9",
45-
"@typescript-eslint/eslint-plugin": "^6.9.0",
46-
"@typescript-eslint/parser": "^6.9.0",
47-
"eslint": "^8.52.0",
48-
"eslint-config-prettier": "^9.0.0",
49-
"eslint-plugin-jest": "^27.6.0",
50-
"husky": "^8.0.3",
51-
"jest": "^29.7.0",
52-
"prettier": "^3.0.3",
53-
"pretty-quick": "^3.1.3",
54-
"ts-jest": "^29.1.1",
55-
"ts-node": "^10.9.1",
56-
"typescript": "^5.2.2"
57-
}
43+
"homepage": "https://github.com/simonespa/algorithms-and-data-structures#readme"
5844
}

0 commit comments

Comments
 (0)