-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
65 lines (65 loc) · 1.7 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
{
"name": "ts2gd",
"version": "0.0.36",
"description": "TypeScript to GDScript transpiler.",
"main": "js/main.js",
"scripts": {
"publish-local": "npm run tsc && npm link",
"auto-publish": "npm run tsc && git add . && git commit -m 'include generated JS' && npm version patch && npm publish",
"tsc": "tsc",
"dev": "ts-node-dev --respawn main.ts",
"test": "ts-node-dev --respawn --clear tests/test.ts",
"build-ci": "tsc",
"test-ci": "node js/tests/test.js",
"project-test": "ts-node-dev --respawn --clear tests/project_tests.ts",
"prepare": "husky install",
"lint-staged": "lint-staged",
"generate-defs": "ts-node main.ts --buildLibraries --buildOnly mockProject/ts2gd.json"
},
"prepublish": "tsc",
"bin": {
"ts2gd": "bin/index.js"
},
"files": [
"_godot_defs",
"bin",
"js"
],
"author": "johnfn",
"license": "MIT",
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false
},
"lint-staged": {
"*.{ts,json}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"pkginfo": "^0.4.1",
"tsutils": "^3.21.0",
"xml2js": "^0.4.23"
},
"devDependencies": {
"@types/node": "^16.11.9",
"@types/pkginfo": "^0.4.0",
"@types/xml2js": "^0.4.9",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"anymatch": "^3.1.2",
"eslint": "^8.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"prettier": "^2.5.1",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.2"
}
}