-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 2.45 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
75
76
77
{
"name": "graphs-and-paths",
"version": "0.2.6",
"description":
"Tools for graphs representing 2-D spatial points and links between them.",
"main": "dist/index.js",
"types": "dist/index",
"files": ["dist/"],
"repository": {
"type": "git",
"url": "git://github.com/dphilipson/graphs-and-paths.git"
},
"keywords": [
"graph",
"pathfinding",
"shortest",
"path",
"edge",
"dijkstra"
],
"author": "David Philipson <[email protected]> (http://dphil.me)",
"license": "MIT",
"bugs": {
"url": "https://github.com/dphilipson/graphs-and-paths/issues"
},
"homepage": "https://github.com/dphilipson/graphs-and-paths#readme",
"scripts": {
"build": "yarn run clean && tsc -p tsconfig.build.json",
"buildDocs":
"typedoc --out docs --mode file --name 'Graphs and Paths' --readme none --module commonjs --target es5 --theme default --excludeNotExported --excludePrivate",
"clean": "rm -rf dist/*",
"format": "prettier --write",
"jest": "jest",
"jest-watch": "yarn run jest --watch",
"lint": "tslint --project .",
"lint-fix": "yarn run lint --fix",
"precommit": "lint-staged",
"prepare": "yarn run build",
"test": "yarn run lint && tsc && yarn run jest"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": ["ts", "tsx", "js"],
"mapCoverage": true
},
"lint-staged": {
"*.json": ["format", "git add"],
"*.{ts,tsx}": ["lint-fix", "format", "git add"],
"*.md": ["generate-toc", "git add"]
},
"devDependencies": {
"@types/core-js": "^0.9.46",
"@types/heap": "^0.2.28",
"@types/jest": "^22.1.3",
"@types/rbush": "^2.0.2",
"husky": "^0.14.3",
"jest": "^22.3.0",
"lint-staged": "^6.1.1",
"prettier": "^1.10.2",
"ts-jest": "^22.0.4",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.8.0",
"typedoc": "^0.10.0",
"typedoc-default-themes": "^0.5.0",
"typescript": "^2.7.2"
},
"dependencies": {
"core-js": "^2.5.3",
"heap": "^0.2.6",
"rbush": "^2.0.2",
"rbush-knn": "^2.0.0",
"tslib": "^1.9.0"
}
}