-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.38 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
{
"name": "tsd-ext-type-gen",
"version": "1.1.0",
"description": "TypeScript definitions generator that parses script APIs from Defold extensions",
"repository": {
"type": "git",
"url": "https://github.com/thinknathan/tsd-ext-type-gen.git"
},
"author": "Nathan Bolton (https://thinknathan.ca/)",
"license": "MIT",
"type": "module",
"main": "xtgen.mjs",
"bin": {
"xtgen": "./xtgen.mjs"
},
"files": [
"xtgen.mjs"
],
"scripts": {
"ci": "npm run lint && npm run test && tsc --project ./test.tsconfig.json --noEmit",
"gen": "node xtgen.mjs -p ./tests/game.project -o ./output",
"lint": "eslint src",
"build": "tsc && npm run renameMjs && prettier \"*.mjs\" --write",
"renameMjs": "node -e \"require('fs').renameSync('xtgen.js', 'xtgen.mjs')\"",
"test": "node xtgen.mjs -p ./tests/game.project",
"prettier": "prettier \"./**/*.{ts,d.ts,mjs,md,json}\" --write"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@ts-defold/types": "^1.2.37",
"@types/adm-zip": "~0.5.5",
"@types/node": "~20.10.0",
"@types/yargs": "^17.0.32",
"@typescript-to-lua/language-extensions": "^1.19.0",
"eslint": "^9.0.0",
"husky": "^9.0.11",
"prettier": "^3.1.1",
"typescript": "5.5.2",
"typescript-eslint": "^8.0.0"
},
"dependencies": {
"adm-zip": "~0.5.10",
"node-fetch": "^3.3.2",
"yaml": "^2.3.4",
"yargs": "^17.7.2"
}
}