This commit is contained in:
m5r 2021-12-11 22:01:50 +01:00
commit 8934cb9f5d
7 changed files with 5124 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
.idea/
node_modules/
build/
src/cache/

1
.npmrc Normal file
View File

@ -0,0 +1 @@
save-exact=true

6
babel.config.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
presets: [
['@babel/preset-env', {targets: {node: 'current'}}],
'@babel/preset-typescript',
],
};

5068
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

25
package.json Normal file
View File

@ -0,0 +1,25 @@
{
"name": "cosmosarb",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node ./build/main.js",
"build": "tsc -p tsconfig.json",
"dev": "ts-node-dev --respawn ./src/main.ts"
},
"keywords": [],
"author": "m5r",
"license": "ISC",
"devDependencies": {
"@babel/core": "7.15.8",
"@babel/preset-env": "7.15.8",
"@babel/preset-typescript": "7.15.0",
"@types/node": "16.11.6",
"ts-node-dev": "1.1.8",
"typescript": "4.4.4"
},
"dependencies": {
"got": "11.8.2"
}
}

5
src/main.ts Normal file
View File

@ -0,0 +1,5 @@
async function main() {
}
main();

14
tsconfig.json Normal file
View File

@ -0,0 +1,14 @@
{
"compilerOptions": {
"target": "ES2021",
"lib": ["ESNext"],
"moduleResolution": "node",
"module": "commonjs",
"outDir": "build",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"resolveJsonModule": true
},
"include": ["src/**/*"]
}