-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
119 lines (119 loc) · 3.4 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@cedoor/nfa",
"version": "0.1.1",
"description": "TypeScript implementation of some network flow algorithms.",
"keywords": [
"typescript",
"cycle-canceling",
"implementation",
"javascript",
"edmond-karp",
"bellman-ford",
"breadth-first-search",
"depth-first-search"
],
"unpkg": "dist/nfa.min.js",
"jsdelivr": "dist/nfa.min.js",
"main": "dist/nfa.js",
"module": "dist/nfa.esm.js",
"types": "dist/types/index.d.ts",
"files": [
"dist/",
"src/",
"LICENSE",
"README.md"
],
"author": {
"name": "Omar Desogus",
"email": "me@cedoor.dev",
"url": "https://cedoor.dev"
},
"homepage": "https://github.com/cedoor/network-flow-algorithms",
"repository": {
"type": "git",
"url": "git@github.com:cedoor/network-flow-algorithms.git"
},
"bugs": {
"url": "https://github.com/cedoor/network-flow-algorithms/issues"
},
"license": "MIT",
"scripts": {
"start": "rollup -c rollup.config.ts -w",
"build": "rimraf dist && rollup -c rollup.config.ts && uglifyjs dist/nfa.js --comments -c -m -o dist/nfa.min.js",
"lint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "yarn lint && yarn test --no-cache",
"docs": "rimraf docs && typedoc --out docs --target es6 --theme minimal --mode file src",
"commit": "git-cz",
"precommit": "lint-staged"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"eslint --fix"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/**/*.{js,ts}"
]
},
"prettier": {
"semi": false,
"arrowParens": "always",
"trailingComma": "none"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.10",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"colors": "^1.4.0",
"commitizen": "^4.2.2",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"jest": "^26.6.3",
"jest-config": "^26.6.3",
"lint-staged": "^10.5.2",
"prettier": "^2.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.33.3",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.29.0",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"typedoc": "^0.19.2",
"typescript": "^4.1.2",
"uglifyjs": "^2.4.11"
}
}