agentjs-core
Version:
A comprehensive agent-based modeling framework with built-in p5.js visualization
98 lines (97 loc) • 2.62 kB
JSON
{
"name": "agentjs-core",
"version": "1.0.1",
"description": "A comprehensive agent-based modeling framework with built-in p5.js visualization",
"type": "module",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md"
],
"sideEffects": false,
"scripts": {
"dev": "vite",
"build": "vite build && npm run build:types",
"build:types": "tsc --project tsconfig.build.json",
"build:framework": "vite build",
"preview": "vite preview",
"test": "node test-comprehensive.mjs && node test-network-manager.mjs && node test-visualization-exports.mjs",
"test:watch": "npm run test",
"test:coverage": "npm run test",
"lint": "eslint . --ext .ts,.tsx --fix",
"lint:check": "eslint . --ext .ts,.tsx",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc --noEmit",
"docs": "typedoc src/index.ts --out docs/api",
"docs:serve": "http-server docs/api -p 8080",
"clean": "rimraf dist docs/api coverage",
"prepublishOnly": "npm run clean && npm run build && npm run test"
},
"keywords": [
"agent-based-modeling",
"simulation",
"p5js",
"visualization",
"typescript",
"social-networks",
"complex-systems",
"social-impact",
"machine-learning",
"data-analysis",
"educational",
"framework",
"browser",
"nodejs"
],
"author": {
"name": "Prayas Abhinav",
"email": "me@prayas.in"
},
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"p5": "^1.11.8"
},
"dependencies": {
"@tensorflow/tfjs": "^4.22.0",
"@types/p5": "^1.7.6",
"chart.js": "^4.5.0",
"eventemitter3": "^5.0.1",
"uuid": "^9.0.1"
},
"devDependencies": {
"@esbuild/linux-x64": "^0.25.8",
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.6.0",
"http-server": "^14.1.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.0.4",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"rollup": "^4.5.0",
"ts-jest": "^29.1.1",
"typedoc": "^0.25.4",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-dts": "^3.6.3"
}
}