-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.47 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 3.47 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
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@haelp/teto",
"version": "4.2.0",
"description": "A typescript-based controllable TETR.IO client.",
"maintainers": [
"haelp"
],
"repository": {
"type": "git",
"url": "https://github.com/halp1/triangle"
},
"displayName": "Triangle.js",
"private": false,
"homepage": "https://triangle.haelp.dev",
"main": "dist/index.js",
"scripts": {
"check": "tsc --noEmit",
"test": "bun check && bun test",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"./**/*.ts\"",
"docs": "typedoc",
"clean": "rm -rf dist && rm -rf src/utils/typia/functional",
"build:types": "tsc",
"build:typia": "typia generate --input src/utils/typia/templates --output src/utils/typia/functional && bun scripts/typia-patch.ts",
"build:swc": "swc src --strip-leading-paths -d dist -C module.type=es6 --copy-files && bun scripts/rename-modules.ts && swc src --strip-leading-paths -d dist --copy-files",
"build": "bun scripts/version.ts && bun clean && bun build:typia && bun build:types && bun build:swc",
"pub": "npm publish --access public",
"bundle-test-data": "tar -C test/data/replays -cf - . | pv -s $(du -sb test/data/replays | awk '{print $1}') | pigz -9 > test/data/replays.tar.gz",
"download-test-data": "git lfs fetch --include=\"test/data/**\" --exclude=\"\" && git lfs checkout test/data && bun extract-test-data",
"extract-test-data": "mkdir -p test/data/replays && pv test/data/replays.tar.gz | pigz -d | tar -xf - -C test/data/replays && mv test/data/replays/replays/* test/data/replays/ && rm -rf test/data/replays/replays"
},
"files": [
"dist",
"engine.js",
"engine.d.ts",
"ch.js",
"ch.d.ts",
"src"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"default": "./dist/index.js"
},
"./engine": {
"types": "./dist/engine/index.d.ts",
"import": "./dist/engine/index.mjs",
"default": "./dist/engine/index.js"
},
"./ch": {
"types": "./dist/channel/index.d.ts",
"import": "./dist/channel/index.mjs",
"default": "./dist/channel/index.js"
},
"./utils": {
"types": "./dist/utils/index.d.ts",
"import": "./dist/utils/index.mjs",
"default": "./dist/utils/index.js"
},
"./classes": {
"types": "./dist/classes/index.d.ts",
"import": "./dist/classes/index.mjs",
"default": "./dist/classes/index.js"
}
},
"types": "dist/index.d.ts",
"keywords": [
"tetrio",
"tetris",
"ribbon",
"websocket",
"bot"
],
"author": "halp",
"license": "MIT",
"dependencies": {
"@typescript-eslint/parser": "^8.44.0",
"acorn": "^8.15.0",
"acorn-walk": "^8.3.4",
"astring": "^1.9.0",
"buffer": "^6.0.3",
"chalk": "^5.6.2",
"eslint-scope": "^8.4.0",
"eslint-utils": "^3.0.0",
"lodash": "^4.17.21",
"msgpackr": "^1.11.8",
"node-fetch": "^2.7.0",
"typia": "^11.0.0"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@swc/cli": "^0.7.10",
"@swc/core": "^1.15.8",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/bun": "1.2.17",
"@types/eslint-scope": "^8.3.2",
"@types/eslint-utils": "^3.0.5",
"@types/lodash": "^4.17.23",
"@types/node": "^24.10.9",
"@types/ws": "^8.18.1",
"eslint": "^9.39.2",
"eslint-plugin-n": "^17.23.2",
"prettier": "^3.8.0",
"typedoc": "^0.26.11",
"typescript": "~5.6.3",
"typescript-eslint": "^8.53.0"
}
}