-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
97 lines (97 loc) · 3.34 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
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
{
"name": "grid-engine",
"version": "2.46.1",
"description": "Phaser3 plugin for grid based movement on a 2D game board.",
"author": "Johannes Baum",
"license": "Apache-2.0",
"main": "dist/GridEngine.min.cjs",
"module": "dist/GridEngine.esm.min.js",
"type": "module",
"scripts": {
"test": "jest",
"dev": "prettier --write src/ && eslint src/",
"build-web": "esbuild src/main-iife.ts --bundle --minify --external:phaser --target=es2016 --outfile=dist/GridEngine.min.js",
"build-esm": "esbuild src/main-esm.ts --bundle --minify --format=esm --external:phaser --target=es2016 --outfile=dist/GridEngine.esm.min.js",
"build-cjs": "esbuild src/main-esm.ts --bundle --minify --format=cjs --external:phaser --target=node18 --platform=node --outfile=dist/GridEngine.min.cjs",
"build-types": "tsc -p tsconfig.emit-cjs.json && tsc -p tsconfig.emit-esm.json",
"build": "npm run build-web && npm run build-esm && npm run build-cjs && npm run build-types && node createPackageJsons.cjs",
"build-speedtest": "esbuild speedtests/run.ts --bundle --format=cjs --target=node18 --platform=node --outfile=speedtests/run.cjs",
"lint": "eslint .",
"serve": "esbuild src/main-iife.ts --servedir=serve --outfile=serve/js/GridEngine.js --bundle --target=es2016 --external:phaser",
"docs": "typedoc src/GridEngine.ts --excludePrivate --excludeProtected --readme none --excludeInternal --out docs/public/api --sort kind --sort alphabetical --categorizeByGroup false",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"exports": {
".": {
"require": {
"types": "./dist/cjs/src/main-esm.d.ts",
"default": "./dist/GridEngine.min.cjs"
},
"import": {
"types": "./dist/mjs/src/main-esm.d.ts",
"default": "./dist/GridEngine.esm.min.js"
}
}
},
"files": [
"dist"
],
"types": "dist/mjs/src/main-esm.d.ts",
"dependencies": {
"mnemonist": "^0.39.8",
"rxjs": "^7.8.1",
"tiled-property-flattener": "^1.1.1"
},
"peerDependencies": {
"phaser": "~3.87.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@stryker-mutator/core": "^8.7.1",
"@stryker-mutator/jest-runner": "^8.7.1",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "8.20.0",
"babel-jest": "^29.7.0",
"canvas": "^2.11.2",
"csv-parse": "^5.6.0",
"esbuild": "^0.24.2",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-jest": "^28.11.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"phaser": "~3.87.0",
"phaser3spectorjs": "^0.0.8",
"prettier": "3.4.2",
"random-js": "^2.1.0",
"ts-jest": "^29.2.5",
"typedoc": "^0.27.6",
"typescript": "^5.7.3",
"vitepress": "1.5.0",
"vue": "^3.5.13",
"vue-chartjs": "^5.3.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Annoraaq/grid-engine.git"
},
"bugs": {
"url": "https://github.com/Annoraaq/grid-engine/issues"
},
"homepage": "https://github.com/Annoraaq/grid-engine#readme",
"keywords": [
"Phaser",
"RPG",
"2D",
"Movement",
"Grid",
"Pathfinding",
"Tile"
]
}