From 8face096d15fd4fe3bd4b5f9fcee05d52368c1d5 Mon Sep 17 00:00:00 2001 From: Leonardo Rico Date: Sun, 10 Sep 2017 16:21:35 -0500 Subject: [PATCH] updated package.json --- package-lock.json | 20 -------------------- package.json | 15 +++++---------- 2 files changed, 5 insertions(+), 30 deletions(-) diff --git a/package-lock.json b/package-lock.json index 304bb19..ff2c294 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2195,16 +2195,6 @@ "path-key": "2.0.1" } }, - "npm-watch": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/npm-watch/-/npm-watch-0.2.0.tgz", - "integrity": "sha512-SG7NkZb13FJem5R2ha4ehEuCGrfjSuobrUJ7499jUzQepY1jtm4m/+RnKKL5FBxcctRaI61YDUHN1LpiubfmRg==", - "dev": true, - "requires": { - "nodemon": "1.12.0", - "through2": "2.0.3" - } - }, "number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", @@ -2854,16 +2844,6 @@ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "dev": true }, - "through2": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", - "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", - "dev": true, - "requires": { - "readable-stream": "2.3.3", - "xtend": "4.0.1" - } - }, "timed-out": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", diff --git a/package.json b/package.json index ece9183..4027e08 100644 --- a/package.json +++ b/package.json @@ -8,14 +8,9 @@ "url": "git+https://github.com/kevoj/redis-jwt.git" }, "scripts": { - "start": "nodemon src/index.js --exec babel-node", - "build": "babel src -d dist", - "serve": "npm run build && node index.js", - "test": "mocha --compilers js:babel-register", - "watch": "npm-watch" - }, - "watch": { - "test": "{src}/*.js" + "start": "npm run compile & nodemon index.js --exec babel-node", + "compile": "babel --watch src -d dist", + "test": "mocha --compilers js:babel-register" }, "keywords": [ "redis-jwt", @@ -44,8 +39,8 @@ "babel-preset-stage-2": "^6.24.1", "babel-register": "^6.26.0", "express": "^4.15.4", - "mocha": "^3.5.0", - "npm-watch": "^0.2.0" + "mocha": "^3.5.1", + "nodemon": "^1.12.0" }, "dependencies": { "chalk": "^2.1.0",