-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
65 lines (65 loc) · 2.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
{
"name": "typed-factorio",
"version": "3.19.2",
"description": "Featureful typescript definitions for the Factorio modding api.",
"keywords": [
"factorio",
"types",
"typescript-to-lua",
"tstl"
],
"repository": {
"type": "git",
"url": "git+https://github.com/GlassBricks/typed-factorio.git"
},
"homepage": "https://github.com/GlassBricks/typed-factorio#readme",
"license": "MIT",
"files": [
"**/*.d.ts",
"!generator/**/*"
],
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"generate": "tsx --tsconfig generator/tsconfig.json generator/main.ts",
"generate-no-format": "tsx --tsconfig generator/tsconfig.json generator/main.ts --no-format",
"clean": "rimraf runtime/generated prototype/generated",
"lint": "eslint .",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"check": "npm run check-clean-tree && npm run lint && npm run format:check && tsc --noEmit",
"prepublishOnly": "npm run generate && npm run check",
"script": "tsx --tsconfig scripts/tsconfig.json",
"check-clean-tree": "git diff --exit-code || (echo \"Generated files are out of date. Please run 'npm run generate' and commit the changes.\" && exit 1)",
"download-latest-api-jsons": "npm run script ./scripts/download-latest.ts",
"new-version-changelog": "npm run script ./scripts/new-version-changelog.ts",
"get-current-factorio-version": "npm run script ./scripts/get-current-version.ts",
"next-factorio-version-diff": "npm run script ./scripts/new-version-diff.ts"
},
"peerDependencies": {
"lua-types": "^2.13.1",
"typescript-to-lua": "^1.10.0"
},
"devDependencies": {
"@swc/core": "^1.4.8",
"@types/download": "^8.0.5",
"@types/node": "^20.11.29",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"download": "^8.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"lua-types": "^2.13.1",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"tsx": "^4.7.1",
"typescript": "~5.4.2",
"typescript-to-lua": "^1.25.0"
},
"factorioVersion": "2.0.44"
}