-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathpackage.json
45 lines (45 loc) · 1.27 KB
/
package.json
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
{
"name": "@diablo2/map",
"version": "0.9.0",
"private": "true",
"repository": {
"type": "git",
"url": "https://github.com/blacha/diablo2.git",
"directory": "packages/map"
},
"author": {
"name": "Blayne Chard",
"email": "[email protected]"
},
"type": "module",
"license": "MIT",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"scripts": {
"test": "ospec --globs 'build/**/*.test.js'",
"bundle": "yarn run bundle-server && yarn run bundle-www && cp static/* dist/www/",
"bundle-server": "esbuild src/cli.ts --platform=node --target=node16 --bundle --external:canvas --outfile=dist/index.cjs",
"bundle-www": "esbuild src/viewer/index.ts --platform=node --target=node16 --bundle --outfile=dist/www/index.js",
"build-docker": "yarn bundle && docker build . -t blacha/diablo2"
},
"dependencies": {
"@linzjs/geojson": "^6.10.0",
"@types/p-limit": "^2.2.0",
"canvas": "^2.8.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"p-limit": "^4.0.0",
"pino": "^7.11.0",
"ulid": "^2.3.0"
},
"files": [
"build/"
],
"devDependencies": {
"@types/cors": "^2.8.7",
"@types/express": "^4.17.8",
"@types/node": "^16.11.7",
"esbuild": "^0.14.38",
"maplibre-gl": "^2.0.0-pre.1"
}
}