-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
61 lines (61 loc) · 2.32 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
{
"name": "gods-play",
"version": "0.2.0",
"description": "Browser single-machine multiplayer turn-base game built in JS played on a hexagonal grid. Basically about fighting wizards.",
"keywords": [
"game",
"javascript",
"hexagons",
"wizards",
"magic",
"turn-base",
"multi-player"
],
"author": "Petr Heinz <noobos@gmail.com>",
"license": "UNLICENSED",
"private": true,
"homepage": "https://github.com/PetrHeinz/gods-play#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/PetrHeinz/gods-play.git"
},
"bugs": {
"url": "https://github.com/PetrHeinz/gods-play/issues"
},
"main": "./dist/tsc/main.js",
"types": "./dist/tsc/main.d.ts",
"browser": "./dist/esbuild/browser.js",
"bin": {
"my-cli-tool": "./dist/esbuild/cli.js"
},
"scripts": {
"cli": "ts-node src/cli.ts",
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
"test": "jest",
"clean": "rm -rf dist build package",
"ts-node": "ts-node",
"deploy": "mkdir -p deploy/dist/esbuild && cp -r dist/esbuild/* deploy/dist/esbuild && cp index.html deploy/index.html && touch deploy/.nojekyll",
"docs": "typedoc --entryPoints src/main.ts",
"build": "tsc -p tsconfig.json",
"build-all": "yarn clean && yarn build && yarn esbuild-node && yarn esbuild-browser",
"esbuild-browser": "esbuild src/browser.ts --bundle --minify --sourcemap=external --outfile=dist/esbuild/browser.js",
"esbuild-browser:dev": "esbuild src/browser.ts --bundle --outfile=dist/esbuild/browser.js",
"esbuild-browser:watch": "esbuild src/browser.ts --bundle --watch --outfile=dist/esbuild/browser.js",
"esbuild-node": "esbuild src/cli.ts --bundle --platform=node --minify --sourcemap=external --outfile=dist/esbuild/cli.js",
"esbuild-node:dev": "esbuild src/cli.ts --bundle --sourcemap=external --outfile=dist/esbuild/cli.js",
"esbuild-node:watch": "esbuild src/cli.ts --bundle --watch --sourcemap=external --outfile=dist/esbuild/cli.js"
},
"devDependencies": {
"@types/jest": "^26.0.21",
"@types/node": "^15.0.1",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"esbuild": "^0.11.11",
"eslint": "^7.22.0",
"jest": "^26.6.3",
"ts-jest": "^26.5.4",
"ts-node": "^9.1.1",
"typedoc": "^0.20.35",
"typescript": "^4.2.3"
}
}