-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 4.18 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
120
121
122
123
124
125
126
127
{
"name": "genetic-algo",
"version": "2.0.0",
"description": "Genetic algorithm",
"readme": "https://nl253.github.io/GeneticAlgo/index.html",
"homepage": "https://github.com/nl253/GeneticAlgo",
"keywords": [
"algorithm",
"evolutionary-programming",
"genetic",
"genetic-algorithm",
"heuristic",
"heuristic-search",
"natural-computation",
"population-search",
"search-algorithm",
"global-search"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nl253/GeneticAlgo"
},
"bugs": {
"email": "[email protected]",
"url": "https://github.com/nl253/GeneticAlgo/issues"
},
"author": "MX <[email protected]>",
"maintainers": [
{
"email": "[email protected]",
"name": "MX"
}
],
"contributors": [
{
"email": "[email protected]",
"name": "MX",
"url": "https://github.com/nl253"
}
],
"engines": {
"node": ">=10.15.0"
},
"engineStrict": true,
"dependencies": {},
"devDependencies": {
"@types/license-checker": "^25.0.0",
"@types/node": "^12.0.8",
"@typescript-eslint/eslint-plugin": "^2.9.0",
"@typescript-eslint/parser": "^2.9.0",
"eslint": "^6.7.1",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-compat": "^3.3.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-optimize-regex": "^1.1.7",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-security": "^1.4.0",
"jest": "^24.9.0",
"typedoc": "^0.15.3",
"jsonlint": "^1.6.3",
"license-checker": "^25.0.1",
"markdownlint": "^0.17.2",
"markdownlint-cli": "^0.19.0",
"remark": "^11.0.2",
"remark-cli": "^7.0.1",
"remark-lint": "^6.0.5",
"remark-preset-lint-consistent": "^2.0.3",
"remark-preset-lint-markdown-style-guide": "^2.1.3",
"remark-preset-lint-recommended": "^3.0.3",
"retire": "^2.0.3",
"write-good": "^1.0.2",
"ts-node": "^8.3.0",
"typescript": "^3.6.3"
},
"main": "index.js",
"directories": {
"example": "./examples",
"doc": "./docs",
"lib": "./"
},
"files": [
"README.md",
"examples/math.ts",
"examples/parallel.ts",
"examples/multiobjective.ts",
"examples/simple.ts",
"index.js"
],
"private": false,
"remarkConfig": {
"plugins": [
"remark-preset-lint-recommended",
"remark-preset-lint-markdown-style-guide",
"remark-preset-lint-consistent"
]
},
"scripts": {
"build": "npx tsc -p ./tsconfig.json",
"watch": "npx tsc -p ./tsconfig.json --watch",
"build:examples": "npx tsc -p ./tsconfig.example.json",
"example:simple": "node ./examples/simple.js",
"example:math": "node ./examples/math.js",
"example:parallel": "node ./examples/parallel.js",
"example:multiobjective": "node ./examples/multiobjective.js",
"test": "npx jest --maxWorkers=1 --ci",
"doc": "bash -c \"echo -e 'GENERATING DOCS\\n' && rm -rf ./docs && npx typedoc --readme ./README.md --out ./docs\"",
"doc:open": "bash -c \"npm run doc && $BROWSER ./docs/index.html\"",
"doc:publish": "bash -c \"echo -e 'PUBLISHING DOCS\\n' && npm run doc && git add ./docs && git commit -am 'Update docs' -n && git push\"",
"lint": "bash -c \"npm run lint:code && npm run lint:doc && npm run lint:deps\"",
"lint:code": "npx eslint ./**/*.ts",
"lint:doc": "bash -c \"npm run lint:doc:markdown-lint && npm run lint:doc:write-good && npm run lint:doc:remark\"",
"lint:doc:write-good": "bash -c \"npx write-good --so --weasel --tooWordy --cliches --thereIs *.md || echo ''\"",
"lint:doc:markdown-lint": "bash -c \"npx markdownlint *.md\"",
"lint:doc:remark": "bash -c \"npx remark -u lint *.md\"",
"lint:deps": "bash -c \"npm run lint:deps:license && npm run lint:deps:security\"",
"lint:deps:security": "npx retire --js",
"lint:deps:license": "npx license-checker --summary",
"loc": "bash -c \"tokei -- $(git ls-files | grep -v docs | grep -v bin)\"",
"pretest": "npm run build",
"prepublishOnly": "bash -c \"npm run build && npm run doc\""
}
}