-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.78 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.78 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
{
"name": "settlemaker",
"version": "3.0.1",
"type": "module",
"description": "Procedural village and city map engine with SVG, local GeoJSON, biome artwork and portable skins for Node.js and browsers",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "node scripts/clean-dist.mjs",
"prepack": "npm run clean && npm run build && npm run build:lib",
"build": "tsc",
"build:art": "node scripts/build-runtime-art.mjs",
"review:art": "npm run build && node scripts/review-artwork.mjs",
"typecheck:scripts": "tsc --noEmit -p tsconfig.scripts.json",
"build:lib": "esbuild src/index.ts --bundle --format=esm --target=es2022 --minify --outfile=dist/settlemaker.browser.js --banner:js=\"/* settlemaker \u2014 GPL-3.0-only. Corresponding source: https://github.com/barrulus/settlemaker */\"",
"test": "vitest run",
"test:watch": "vitest",
"review:roads": "node scripts/run-road-review.mjs",
"measure:city-glyphs": "esbuild scripts/measure-city-glyphs.ts --bundle --platform=node --format=cjs --packages=external --outfile=output/measure-city-glyphs.cjs && node output/measure-city-glyphs.cjs",
"review:cities": "esbuild scripts/review-cities.ts --bundle --platform=node --format=cjs --packages=external --outfile=output/city-review-runner.cjs && node output/city-review-runner.cjs",
"docs:images": "npm run build && node scripts/generate-examples.mjs",
"docs:check": "npm run build && npm run build:lib && node scripts/check-docs.mjs"
},
"license": "GPL-3.0-only",
"author": "barrulus",
"repository": {
"type": "git",
"url": "git+https://github.com/barrulus/settlemaker.git"
},
"homepage": "https://settlemaker.com",
"devDependencies": {
"@types/pg": "^8.11.0",
"esbuild": "^0.25.0",
"p-limit": "^6.0.0",
"pg": "^8.13.0",
"sharp": "^0.33.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
},
"files": [
"dist",
"src",
"tsconfig.json",
"scripts/clean-dist.mjs",
"scripts/build-runtime-art.mjs",
"scripts/art",
"NOTICE",
"docs/skins.schema.json",
"docs/examples/moon-glass.skin.json",
"docs/examples/copperline.skin.json",
"docs/examples/copperline-village.svg",
"docs/examples/copperline-city.svg",
"symbols/copperline",
"symbols/LICENSE",
"symbols/CREDITS",
"symbols/village",
"symbols/city",
"symbols/landscape",
"symbols/greens",
"symbols/infrastructure",
"symbols/markers",
"docs/*.md",
"docs/releases/3.0.0.md",
"docs/releases/3.0.1.md",
"docs/examples/gallery",
"scripts/generate-examples.mjs",
"scripts/check-docs.mjs",
"scripts/generate-copperline.mjs",
"scripts/render-copperline.mjs"
],
"dependencies": {
"@types/geojson": "^7946.0.14",
"polygon-clipping": "^0.15.7"
}
}