Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.08 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.08 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
{
"name": "luats",
"version": "0.1.0",
"description": "A comprehensive TypeScript library for parsing, formatting, analyzing, and transforming Lua and Luau code with robust type interfaces and AST manipulation",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
},
"./parsers/lua": {
"types": "./dist/parsers/lua.d.ts",
"import": "./dist/parsers/lua.js",
"require": "./dist/parsers/lua.js"
},
"./parsers/luau": {
"types": "./dist/parsers/luau.d.ts",
"import": "./dist/parsers/luau.js",
"require": "./dist/parsers/luau.js"
},
"./clients/formatter": {
"types": "./dist/clients/formatter.d.ts",
"import": "./dist/clients/formatter.js",
"require": "./dist/clients/formatter.js"
},
"./clients/lexer": {
"types": "./dist/clients/lexer.d.ts",
"import": "./dist/clients/lexer.js",
"require": "./dist/clients/lexer.js"
},
"./cli": {
"types": "./dist/cli/index.d.ts",
"import": "./dist/cli/index.js",
"require": "./dist/cli/index.js"
},
"./generators/typescript": {
"types": "./dist/generators/typescript.d.ts",
"import": "./dist/generators/typescript.js",
"require": "./dist/generators/typescript.js"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.js",
"require": "./dist/types.js"
}
},
"scripts": {
"build": "bun run build:clean && bun run build:tsc && bun run build:bundle",
"build:clean": "rm -rf dist",
"build:tsc": "tsc",
"build:bundle": "bun build src/index.ts --outdir dist --format esm --outfile index.mjs && bun build src/index.ts --outdir dist --format cjs --outfile index.js",
"dev": "bun run --watch src/index.ts",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write src/**/*.ts",
"prepublishOnly": "bun run build",
"test": "bun test",
"test:report": "bun run scripts/test-report.ts",
"test:coverage": "bun test --reporter=junit --reporter-outfile=./test/junit.xml"
},
"keywords": [
"lua",
"luau",
"parser",
"formatter",
"typescript",
"ast",
"syntax-tree",
"code-analysis",
"static-analysis",
"transpiler",
"roblox",
"code-generation",
"type-interfaces"
],
"author": "Pixelated (CodeMeAPixel)",
"license": "MIT",
"devDependencies": {
"@types/bun": "latest",
"@types/glob": "^8.1.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"prettier": "^3.0.0",
"xml2js": "^0.6.2",
"typescript": "^5.0.0"
},
"dependencies": {
"glob": "^8.0.0"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "https://github.com/CodeMeAPixel/luats.git"
},
"bugs": {
"url": "https://github.com/CodeMeAPixel/luats/issues"
},
"homepage": "https://luats.lol"
}