diff --git a/package-lock.json b/package-lock.json index 2163e6f..40737fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2838,6 +2838,15 @@ "safe-buffer": "5.1.1" } }, + "exec-sh": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.2.1.tgz", + "integrity": "sha512-aLt95pexaugVtQerpmE51+4QfWrNc304uez7jvj6fWnN8GeEHpttB8F36n8N7uVhUMbH/1enbxQ9HImZ4w/9qg==", + "dev": true, + "requires": { + "merge": "1.2.0" + } + }, "execa": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", @@ -6484,6 +6493,12 @@ "trim-newlines": "1.0.0" } }, + "merge": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/merge/-/merge-1.2.0.tgz", + "integrity": "sha1-dTHjnUlJwoGma4xabgJl6LBYlNo=", + "dev": true + }, "merge-descriptors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", @@ -10556,6 +10571,16 @@ "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w=", "dev": true }, + "watch": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/watch/-/watch-1.0.2.tgz", + "integrity": "sha1-NApxe952Vyb6CqB9ch4BR6VR3ww=", + "dev": true, + "requires": { + "exec-sh": "0.2.1", + "minimist": "1.2.0" + } + }, "watchpack": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.4.0.tgz", diff --git a/package.json b/package.json index 1fcb0b4..8fa4e54 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "test": "npm run lint && ng test --watch false", "test-watch": "ng test", "e2e": "ng e2e", + "e2e-watch": "watch \"ng e2e -s false\" src e2e --wait=1", "lint": "ng lint" }, "main": "src/index.ts", @@ -75,6 +76,7 @@ "ts-node": "~3.2.0", "tslint": "~5.7.0", "typescript": "~2.4.2", + "watch": "^1.0.2", "zone.js": "^0.8.14" }, "publishConfig": {