mistreevous
Version:
A library to declaratively define, build and execute behaviour trees, written in TypeScript for Node and browsers
68 lines (67 loc) • 2.23 kB
JSON
{
"name": "mistreevous",
"version": "4.3.1",
"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/index.js",
"dist/index.js.map",
"dist/**/*.d.ts"
],
"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.25.0",
"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"
}
}