mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-09 03:26:27 +02:00
ts-node
This commit is contained in:
parent
aef2611428
commit
472519ef3a
3 changed files with 7 additions and 3 deletions
|
@ -2,10 +2,10 @@
|
|||
"name": "piston-api",
|
||||
"version": "3.2.0",
|
||||
"description": "API for piston - a high performance code execution engine",
|
||||
"module": "./dist/index.js",
|
||||
"module": "./dist/src/index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"api": "node ./dist/index.js",
|
||||
"api": "node ./dist/src/index.ts",
|
||||
"build": "npx tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -24,6 +24,7 @@
|
|||
"devDependencies": {
|
||||
"@types/express": "^4.17.17",
|
||||
"@types/node-fetch": "^2.6.2",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.9.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
"rootDir": "src",
|
||||
// "declaration": true
|
||||
},
|
||||
"ts-node": {
|
||||
"esm": true
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["dist", "node_modules"]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue