init
This commit is contained in:
commit
8934cb9f5d
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.idea/
|
||||||
|
node_modules/
|
||||||
|
build/
|
||||||
|
|
||||||
|
src/cache/
|
6
babel.config.js
Normal file
6
babel.config.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
presets: [
|
||||||
|
['@babel/preset-env', {targets: {node: 'current'}}],
|
||||||
|
'@babel/preset-typescript',
|
||||||
|
],
|
||||||
|
};
|
5068
package-lock.json
generated
Normal file
5068
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
25
package.json
Normal file
25
package.json
Normal 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
5
src/main.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
async function main() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
main();
|
14
tsconfig.json
Normal file
14
tsconfig.json
Normal 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/**/*"]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user