From 994e0df96267b3de4d82926555ac4c4c7eefe14a Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 2 Dec 2020 06:07:47 +0300 Subject: feat: add build script --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'package.json') 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", -- cgit v1.2.3