Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ebbc54d8db | |||
| 2ba0ffc78b | |||
| 6e09946bf1 | |||
| a143e69796 | |||
| 74b6110ec4 |
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# computercraft-vs
|
||||||
|
|
||||||
|
ComputerCraft-TS API definition for Valkyrien Skies
|
||||||
11
package.json
11
package.json
@@ -1,23 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "computercraft-vs",
|
"name": "computercraft-vs",
|
||||||
"version": "1.0.0",
|
"version": "1.0.4",
|
||||||
"description": "",
|
"description": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"author": "",
|
"author": "",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"types": "./types/index.d.ts",
|
"types": "types/index.d.ts",
|
||||||
"main": "./dist/main",
|
"main": "index.js",
|
||||||
"files": [
|
|
||||||
"dist/**/*.lua",
|
|
||||||
"dist/**/*.d.ts"
|
|
||||||
],
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tstl"
|
"build": "tstl"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^9.27.0",
|
"@eslint/js": "^9.27.0",
|
||||||
"@typescript-to-lua/language-extensions": "^1.19.0",
|
"@typescript-to-lua/language-extensions": "^1.19.0",
|
||||||
"computercraft-ts": "latest",
|
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.27.0",
|
||||||
"globals": "^16.2.0",
|
"globals": "^16.2.0",
|
||||||
"luamin": "^1.0.4",
|
"luamin": "^1.0.4",
|
||||||
|
|||||||
@@ -4,16 +4,17 @@
|
|||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"lib": ["ESNext"],
|
"lib": ["ESNext"],
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "Node",
|
||||||
"types": ["computercraft-ts", "@typescript-to-lua/language-extensions"],
|
"types": ["./types/index", "@typescript-to-lua/language-extensions"],
|
||||||
|
"plugins": [{ "name": "typescript-tstl-plugin" }],
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"declaration": true,
|
|
||||||
"outDir": "dist/",
|
"outDir": "dist/",
|
||||||
"rootDir": "src/",
|
|
||||||
"noImplicitAny": false
|
"noImplicitAny": false
|
||||||
},
|
},
|
||||||
"tstl": {
|
"tstl": {
|
||||||
"luaTarget": "JIT",
|
"luaTarget": "5.4",
|
||||||
"buildMode": "library",
|
"noHeader": true,
|
||||||
|
"luaBundle": "bundle.lua",
|
||||||
|
"luaBundleEntry": "src/main.ts",
|
||||||
"noImplicitSelf": true
|
"noImplicitSelf": true
|
||||||
},
|
},
|
||||||
"include": ["src/**/*"]
|
"include": ["src/**/*"]
|
||||||
|
|||||||
3
types/index.d.ts
vendored
3
types/index.d.ts
vendored
@@ -1,5 +1,8 @@
|
|||||||
|
/** @noSelfInFile */
|
||||||
|
|
||||||
export {};
|
export {};
|
||||||
|
|
||||||
|
/** @noSelf */
|
||||||
declare global {
|
declare global {
|
||||||
type ShipVec3 = { x: number; y: number; z: number };
|
type ShipVec3 = { x: number; y: number; z: number };
|
||||||
type ShipQuaternion = { x: number; y: number; z: number; w: number };
|
type ShipQuaternion = { x: number; y: number; z: number; w: number };
|
||||||
|
|||||||
Reference in New Issue
Block a user