-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
65 lines (65 loc) · 2.06 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
{
"name": "mistreevous",
"version": "4.2.0",
"description": "A library to declaratively define, build and execute behaviour trees, written in TypeScript for Node and browsers",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/*"
],
"devDependencies": {
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"chai": "^4.4.1",
"esbuild": "^0.15.18",
"eslint": "^8.57.0",
"expect": "^25.5.0",
"mocha": "^10.5.2",
"npm-run-all": "^4.1.5",
"prettier": "2.7.1",
"should": "^1.3.0",
"sinon": "^14.0.2",
"ts-node": "^10.9.2",
"typescript": "^5.5.2"
},
"scripts": {
"build": "npm-run-all build:format build:node build:web build:web-minified build:typecheck",
"watch": "npm run build:node -- --watch",
"test": "npm-run-all lint build test:unit-test",
"build:format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"build:node": "esbuild ./src/index.ts --bundle --sourcemap --outdir=dist --platform=node",
"build:web": "esbuild ./src/index.ts --bundle --sourcemap --platform=browser --global-name=mistreevous --outfile=dist/mistreevous.js",
"build:web-minified": "esbuild ./src/index.ts --bundle --sourcemap --platform=browser --global-name=mistreevous --minify --outfile=dist/mistreevous.min.js",
"build:typecheck": "tsc --emitDeclarationOnly",
"test:unit-test": "mocha --require ts-node/register 'test/**/*.spec.ts'",
"lint": "eslint . --ext .ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nikkorn/mistreevous.git"
},
"keywords": [
"behavior",
"behaviour",
"bt",
"tree",
"ai",
"artificial",
"intelligence",
"enemy",
"machine",
"state"
],
"author": "nikolas howard",
"license": "MIT",
"bugs": {
"url": "https://github.com/nikkorn/mistreevous/issues"
},
"homepage": "https://github.com/nikkorn/mistreevous",
"dependencies": {
"lotto-draw": "^1.0.2"
}
}