From b1e85ef7283be2a966d3e76fbc51e2e99118fe47 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 20 Jun 2019 23:09:33 +0200 Subject: [PATCH] dev files --- .gitignore | 8 ++++++++ package.json | 24 ++++++++++++++++++++++++ tsconfig.json | 9 +++++++++ 3 files changed, 41 insertions(+) create mode 100644 .gitignore create mode 100644 package.json create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb39b69 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +node_modules/ +package-lock.json +.idea + +config.yml +bin +lib +data \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..d214cdb --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "private": true, + "scripts": { + "build": "tsc", + "build:watch": "tsc -w", + "dev": "tsnd --no-notify --respawn ./src/autorestic.ts", + "bin": "npm run build && pkg lib/autorestic.js --out-path bin" + }, + "devDependencies": { + "@types/decompress": "^4.2.3", + "@types/js-yaml": "^3.12.1", + "@types/minimist": "^1.2.0", + "pkg": "^4.4.0", + "ts-node-dev": "^1.0.0-pre.40", + "typescript": "^3.5.1" + }, + "dependencies": { + "axios": "^0.19.0", + "clitastic": "0.0.1", + "colors": "^1.3.3", + "js-yaml": "^3.13.1", + "minimist": "^1.2.0" + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..9ad2430 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "target": "esnext", + "module": "commonjs", + "outDir": "./lib", + "strict": true, + "esModuleInterop": true + } +}