-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
76 lines (76 loc) · 2.24 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
{
"name": "ga-island",
"version": "3.0.1",
"description": "Genetic Algorithm with 'island' Diversity support",
"keywords": [
"genetic",
"algorithm",
"genetic algorithm",
"artificial evolution",
"evolve",
"typescript"
],
"author": "Beeno Tung <aabbcc1241@yahoo.com.hk> (https://beeno-tung.surge.sh)",
"license": "BSD-2-Clause",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"demo:build": "cd examples && parcel build islandHop.html && cd ..",
"demo:serve": "cd examples && parcel serve islandHop.html",
"demo:http-server": "http-server examples/dist",
"demo:publish": "run-s demo:build demo:cp surge",
"demo:cp": "cd examples/dist && cp islandHop.html index.html && cd ../..",
"surge": "surge examples/dist https://ga-island-demo.surge.sh",
"clean": "rimraf dist examples/.cache",
"format": "run-s prettier clean format-json lint",
"prettier": "prettier --write .",
"format-json": "format-json-cli",
"lint": "eslint --fix .",
"build": "run-s clean tsc mk-package",
"tsc": "tsc",
"mk-package": "mk-package",
"test": "run-s mocha format build",
"mocha": "run-s mocha:*",
"mocha:tsc": "tsc -p tsconfig.mocha.json",
"mocha:run": "mocha dist/test",
"prepublishOnly": "run-s mocha build"
},
"husky": {
"hook": {
"pre-commit": "npm run format"
}
},
"directories": {
"test": "test"
},
"devDependencies": {
"@types/chai": "^4.2.7",
"@types/mocha": "^5.2.7",
"@types/node": "^20.12.12",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"chai": "^4.2.0",
"cssnano": "^4.1.10",
"eslint": "^4.19.1",
"format-json-cli": "^1.0.1",
"http-server": "^0.12.3",
"husky": "^3.1.0",
"mk-package": "^0.2.0",
"mocha": "^6.2.2",
"npm-run-all": "^4.1.5",
"parcel": "^1.12.4",
"prettier": "^2.8.8",
"rimraf": "^3.0.0",
"surge": "^0.21.6",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/ga-island.git"
},
"bugs": {
"url": "https://github.com/beenotung/ga-island/issues"
},
"homepage": "https://github.com/beenotung/ga-island#readme"
}