-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 2.19 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "algot",
"version": "1.0.0",
"main": "dist/index.js",
"keywords": [
"algorithms",
"bogo sort",
"bubble sort",
"bucket sort",
"cocktail shaker",
"combo sort",
"counting sort",
"gnome sort",
"heap sort",
"insertion sort",
"merge sort",
"radix sort",
"random quick sort",
"selection sort",
"shell sort",
"tree sort"
],
"author": "Aris Kemper <[email protected]>",
"license": "MIT",
"description": "Minimal examples of data structures and algorithms in Typescript.",
"scripts": {
"build": "tsc",
"test": "glob -c \"node --loader tsx --no-warnings --test\" \"./src/**/*.spec.ts\"",
"test:watch": "glob -c \"node --loader tsx --no-warnings --watch --test\" \"./src/**/*.spec.ts\"",
"test:cov": "glob -c \"c8 node --loader tsx --no-warnings --test\" \"./src/**/*.spec.ts\"",
"doc": "rm -R ./doc && typedoc --tsconfig ./tsconfig.json",
"lint": "eslint -f unix \"src/**/*.{ts,tsx}\"",
"lint:fix": "eslint --fix \"src/**/*.{ts,tsx}\"",
"format": "prettier \"src/**/*.{ts,tsx}\" --write",
"clean": "rm -rf ./dist ./coverage",
"ci": "npm run clean && npm run lint && npm run build && npm run test",
"prepare": "husky install",
"bench:sort": "node --loader tsx --no-warnings \"./src/benchmark/benchmark-sort.ts\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/ariskemper/algot.git"
},
"bugs": {
"url": "https://github.com/ariskemper/algot/issues"
},
"devDependencies": {
"@types/benchmark": "2.1.3",
"@types/node": "20.6.2",
"@typescript-eslint/eslint-plugin": "6.6.0",
"c8": "8.0.1",
"eslint": "8.48.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"eslint-plugin-tsdoc": "0.2.17",
"glob": "10.3.4",
"husky": "8.0.3",
"lint-staged": "14.0.1",
"mitata": "0.1.6",
"prettier": "3.0.3",
"tsx": "3.12.10",
"typedoc": "0.25.4",
"typescript": "5.3.2"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npm run lint:fix",
"npm run format"
],
"*.md": "prettier --write"
}
}