aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-12-02 06:07:47 +0300
committereug-vs <eug-vs@keemail.me>2020-12-02 06:07:47 +0300
commit994e0df96267b3de4d82926555ac4c4c7eefe14a (patch)
treed3261f098bec09a106a62baf25e8577da5aaf3fa /package.json
parenta32bcd1207b03b05f8fe023498167f9d42811540 (diff)
downloadmongo-cronjob-994e0df96267b3de4d82926555ac4c4c7eefe14a.tar.gz
feat: add build script
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json
index f4d73da..c62115a 100644
--- a/package.json
+++ b/package.json
@@ -1,11 +1,12 @@
{
"name": "mongo-cronjob",
- "version": "0.0.0",
+ "version": "0.1.0",
"description": "Cron-based job scheduler integrated with mongoDB",
- "main": "index.js",
+ "main": "dist/index.js",
"scripts": {
"lint": "eslint .",
- "test": "mocha test/**/*.test.ts"
+ "test": "mocha test/**/*.test.ts",
+ "build": "rm -rf dist && tsc --project tsconfig.release.json"
},
"author": "eug-vs",
"license": "MIT",