forked from backspaces/agentscript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.77 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 3.77 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "agentscript",
"version": "0.10.11",
"description": "AgentScript Model in Model/View architecture",
"author": "Owen Densmore",
"homepage": "https://github.com/backspaces/agentscript",
"main": "dist/agentscript.umd.js",
"module": "dist/agentscript.esm.js",
"files": [
"/dist/",
"/vendor/",
"/src/",
"/docs/",
"/models/",
"/views2/",
"/views3/",
"/views3d/",
"/gis/",
"/tests/"
],
"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 comments": {
"name": "@redfish/agentscript",
"ava": "0.25.0",
"build-bin": "rollup -f umd -n gis src/gis.js > bin/gis.umd.js",
"postinstall": "rollup -c rollup.three.js",
"Node settig for esm, causes error, sigh: ": "type: module",
"three": "^0.89.0",
"build-dist0": "rollup -c config/rollup.dist.js && cp -R src models views2 views3 dist",
"build-dist": "rollup -c config/rollup.dist.js && cp -R src dist",
"build-vendor": "yarn && shx rm -f vendor/* && rollup -c config/rollup.vendor.js",
"watch-docs": "documentation serve --config config/documentation.yml --github --watch src/**",
"mkdirs": "dist",
"clean-docs": "shx rm -r docs/"
},
"scripts": {
"clean": "shx rm -rf dist vendor && shx mkdir dist vendor",
"start": "live-server --ignore=node_modules,.git &",
"build": "npm-run-all clean build-scripts build-vendor build-dist build-md build-docs",
"build-dist": "rollup -c config/rollup.dist.js",
"build-vendor": "rollup -c config/rollup.vendor.js && cp tests/steganography.esm.js vendor/steganography.js",
"build-scripts": "node bin/models2scripts",
"build-md": "bin/src2md 'models views2 views3 views3d mvc gis' > /dev/null",
"build-docs": "documentation build src/** --config config/documentation.yml --github -f html -o docs",
"test": "ava test/models.js && npm run test3d",
"test3d": "deno test test/geom.js",
"watch-src": "chokidar 'src/*.js' -c 'npm run build-dist' &",
"watch-models": "chokidar 'models/[A-Z]*Model.js' -c 'npm run build-scripts' &",
"watch-docs": "chokidar 'src/*.js' -c 'npm run build-docs' &",
"watch": "npm-run-all watch-src watch-models",
"run1": "bin/runmodels models",
"run1s": "bin/runmodels models/scripts",
"run2": "bin/runmodels views2",
"run2c": "bin/modelsinbrowser views2",
"run3": "bin/runmodels views3",
"run3c": "bin/modelsinbrowser views3",
"run3d": "bin/runmodels views3d",
"run3dc": "bin/modelsinbrowser views3d",
"rund": "bin/runmodels docs",
"rung": "bin/runmodels gis",
"run3w": "bin/runmodels workers3",
"runnode": "bin/runnodemodels",
"chrome": "bin/modelsinbrowser models",
"safari": "bin/modelsinbrowser models Safari"
},
"Note": "shx includes shelljs; tap-xunit for circleci/ava.",
"dependencies": {
"three": "^0.120.0"
},
"devDependencies": {
"@rollup/plugin-url": "^6.0.0",
"ava": "^2.1.0",
"chokidar-cli": "^1.2.1",
"documentation": "^13.2.0",
"esm": "^3.2.25",
"live-server": "latest",
"npm-run-all": "4.1.2",
"puppeteer": "*",
"rollup": "^2.33.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-copy": "",
"rollup-plugin-terser": "^5.0.0",
"rollup-plugin-url-resolve": "^0.1.1",
"shx": "0.3"
}
}