UNPKG

agentscript

Version:

AgentScript Model in Model/View architecture

87 lines (86 loc) 3.34 kB
{ "name": "agentscript", "version": "0.10.20", "description": "AgentScript Model in Model/View architecture", "author": "Owen Densmore", "homepage": "https://github.com/backspaces/agentscript", "main": "dist/agentscript.umd.js", "module": "dist/agentscript.js", "files": [ "/dist/", "/vendor/", "/src/", "/docs/", "/models/", "/views2/", "/views25/", "/views3/", "/mvc/", "/leaflet/", "/maplibre/" ], "repository": { "type": "git", "url": "git+https://github.com/backspaces/agentscript.git" }, "keywords": [ "netlogo", "abm", "agentscript" ], "license": "GPL-3.0", "bugs": { "url": "https://github.com/backspaces/agentscript/issues" }, "scripts": { "clean": "shx rm -rf dist vendor views1 && shx mkdir dist vendor views1", "start0": "live-server --ignore=node_modules,docs,Attic ./ & #crlf bug", "start": "http-server -o --silent > /dev/null &", "start1": "serve -L", "build": "npm-run-all clean build-vendor build-dist build-views build-md build-docs", "build-dist": "rollup -c config/rollup.dist.mjs", "build-vendor": "yarn && shx rm -f vendor/* && rollup -c config/rollup.vendor.mjs && cp node_modules/uplot/dist/uPlot.min.css vendor/uPlot.css", "build-views": "node bin/models2html", "build-md": "bin/src2md 'models views1 views2 views25 views3 mvc leaflet maplibre' > /dev/null", "build-docs0": "jsdoc --configure config/jsdoc.json --verbose && cp tests/redirect.html docs/index.html", "build-docs": "jsdoc --configure config/jsdoc.json --verbose", "test": "test/denomodels.js && test/deno3Dgeom.js", "-- END OF WORKFLOW --": "The following are verious tests, running models in various directories and browsers", "run1": "bin/modelsinbrowser views1", "run2": "bin/modelsinbrowser views2", "run25": "bin/modelsinbrowser views25", "run3": "bin/modelsinbrowser views3", "runleaf": "bin/modelsinbrowser leaflet", "runml": "bin/modelsinbrowser maplibre", "runmvc": "bin/modelsinbrowser mvc", "runnode": "bin/runnodemodels", "-- END OF TESTS --": "Put misc scripts below", "fixcrlf": "npx crlf --set=LF node_modules/.bin/live-server", "chrome": "bin/modelsinbrowser views1", "safari": "bin/modelsinbrowser views1 Safari", "runall": "npm run run1 & npm run run2 && npm run25 run3", "bar": "echo $INIT_CWD", "foo": "uglifycss vendor/uPlot.min.css > /tmp/upcss", "mytask": "cd $INIT_CWD && pwd" }, "dependencies": { "three": "^0.120.0", "uplot": "^1.6.25" }, "devDependencies": { "@redfish/leafletelementoverlay": "^1.2.2", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-terser": "^0.1.0", "@turf/turf": "^6.5.0", "clean-jsdoc-theme": "^4.2.13", "esm": "^3.2.25", "http-server": "^14.1.1", "jsdoc": "4.0.2", "live-server": "^1.2.2", "npm-run-all": "^4.1.5", "rollup": "^3.2.5", "rollup-plugin-cleanup": "^3.2.1", "serve": "^14.2.0", "shx": "^0.3.4" } }