refactor: typescript api

This commit is contained in:
Endercheif 2023-03-08 17:59:43 -08:00
parent 234530ed60
commit 996929f053
No known key found for this signature in database
GPG key ID: 7767459A0C8BEE00
16 changed files with 341 additions and 321 deletions

View file

@ -2,10 +2,11 @@
"name": "piston-api",
"version": "3.2.0",
"description": "API for piston - a high performance code execution engine",
"module": "src/index.js",
"module": "./dist/index.js",
"type": "module",
"scripts": {
"run": "node src/index.js"
"api": "node ./dist/index.js",
"build": "npx tsc"
},
"dependencies": {
"body-parser": "^1.19.0",
@ -21,6 +22,8 @@
},
"license": "MIT",
"devDependencies": {
"@types/express": "^4.17.17"
"@types/express": "^4.17.17",
"@types/node-fetch": "^2.6.2",
"typescript": "^4.9.5"
}
}