From 0beede68fd0004c3e5e735451c8e795f7eea9b38 Mon Sep 17 00:00:00 2001 From: Yusuf Shakeel Date: Sun, 17 Jul 2022 19:57:03 +0530 Subject: [PATCH 1/3] added bootstrap script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b53530b..993d311 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "This is a simple coupon creation project using NodeJS.", "main": "index.js", "scripts": { + "bootstrap": "mkdir -p output", "project:init": "mkdir -p output && npm i && npm run test", "test": "jest -c jest.config.json", "generate-docs": "npx jsdoc -c jsdocs.config.json", @@ -13,7 +14,7 @@ "search-duplicate-code": "npx jscpd ./index.js ./app", "precommit": "npm run lint && npm run search-circular-dependencies && npm run search-duplicate-code && npm run test && npm run generate-docs", "coveralls": "coveralls < ./coverage/lcov.info", - "performance": "node performance/index.js" + "performance": "npm run bootstrap && node performance/index.js" }, "repository": { "type": "git", From 9f5c2c9f49eb7e94772564639d52794dfb79a936 Mon Sep 17 00:00:00 2001 From: Yusuf Shakeel Date: Sun, 17 Jul 2022 19:57:23 +0530 Subject: [PATCH 2/3] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0694e61..1c0df39 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This is a simple coupon creation project using NodeJS. [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/yusufshakeel/couponjs) -[![npm version](https://img.shields.io/badge/npm-0.9.3-blue.svg)](https://www.npmjs.com/package/couponjs) +[![npm version](https://img.shields.io/badge/npm-0.9.4-blue.svg)](https://www.npmjs.com/package/couponjs) [![npm Downloads](https://img.shields.io/npm/dm/couponjs.svg)](https://www.npmjs.com/package/couponjs) ![CouponJS](./resource/couponjs-500x150.png) From 9983156744612e64f976b2a052b8a1e2de8bc2c5 Mon Sep 17 00:00:00 2001 From: Yusuf Shakeel Date: Sun, 17 Jul 2022 19:57:52 +0530 Subject: [PATCH 3/3] 0.9.4 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 67b7d73..2cc5af8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "couponjs", - "version": "0.9.3", + "version": "0.9.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "couponjs", - "version": "0.9.3", + "version": "0.9.4", "license": "MIT", "devDependencies": { "coveralls": "^3.1.0", diff --git a/package.json b/package.json index 993d311..092f957 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "couponjs", - "version": "0.9.3", + "version": "0.9.4", "description": "This is a simple coupon creation project using NodeJS.", "main": "index.js", "scripts": {