diff --git a/package.json b/package.json index 1664581..e66ab5a 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,25 @@ { - "name": "computercraft-ts", - "version": "1.0.0", - "description": "", - "license": "ISC", - "author": "", - "type": "commonjs", - "main": "index.js", - "scripts": { - "build": "tstl", - "postbuild": "node scripts/postbuild.js" - }, - "devDependencies": { - "@eslint/js": "^9.27.0", - "eslint": "^9.27.0", - "globals": "^16.2.0", - "luamin": "^1.0.4", - "typescript": "^5.8.3", - "typescript-eslint": "^8.33.0", - "typescript-to-lua": "^1.31.1", - "typescript-tstl-plugin": "^0.3.2" - }, - "packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977" + "name": "computercraft-ts", + "version": "1.0.0", + "description": "", + "license": "ISC", + "author": "", + "type": "commonjs", + "types": "types/index.d.ts", + "main": "index.js", + "scripts": { + "build": "tstl", + "postbuild": "node scripts/postbuild.js" + }, + "devDependencies": { + "@eslint/js": "^9.27.0", + "eslint": "^9.27.0", + "globals": "^16.2.0", + "luamin": "^1.0.4", + "typescript": "^5.8.3", + "typescript-eslint": "^8.33.0", + "typescript-to-lua": "^1.31.1", + "typescript-tstl-plugin": "^0.3.2" + }, + "packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977" } diff --git a/src/main.ts b/src/main.ts index 507ff7d..a0a8efe 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1 +1,3 @@ -term.write("Hello, world!"); +const d = http.get("https://google.com"); + +print(d);