Skip to content

Instantly share code, notes, and snippets.

@Goodwine
Forked from nex3/.gitignore
Last active August 7, 2024 21:49
Show Gist options
  • Save Goodwine/4cc0f2c078c6fb163006633c0ef48fad to your computer and use it in GitHub Desktop.
Save Goodwine/4cc0f2c078c6fb163006633c0ef48fad to your computer and use it in GitHub Desktop.
npm install; npx tsc
{
"dependencies": {
"tar": "^7.4.3",
"minizlib": "^3.0.1"
},
"devDependencies": {
"@types/node": "^20.12.7",
"typescript": "^5.0.2"
}
}
import * as tar from 'tar';
console.log("Hello, world!");
{
"compilerOptions": {
"outDir": "dist",
"module": "CommonJS",
"rootDir": ".",
"useUnknownInCatchVariables": false,
"declaration": false,
"target": "ES6"
},
"include": [
"*.ts",
],
}
@stephematician
Copy link

Thanks for putting this up here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment