diff --git a/package.json b/package.json index 81e0dd8fcd..236bf429a3 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,14 @@ "s:a9": "npm run s:a9f && npm run s:a9t", "s:a9f": "P=e2e/angular9-ivy-false/node_modules/ng-mocks && rm -Rf $P && mkdir -p $P && cp -R dist $P && cp package.json $P", "s:a9t": "P=e2e/angular9-ivy-true/node_modules/ng-mocks && rm -Rf $P && mkdir -p $P && cp -R dist $P && cp package.json $P", + "clear:a": "npm run clear:a5 && npm run clear:a6 && npm run clear:a7 && npm run clear:a8 && npm run clear:a9", + "clear:a5": "rm -Rf e2e/angular5/node_modules/ng-mocks", + "clear:a6": "rm -Rf e2e/angular6/node_modules/ng-mocks", + "clear:a7": "rm -Rf e2e/angular7/node_modules/ng-mocks", + "clear:a8": "rm -Rf e2e/angular8/node_modules/ng-mocks", + "clear:a9": "npm run clear:a9f && npm run clear:a9t", + "clear:a9f": "rm -Rf e2e/angular9-ivy-false/node_modules/ng-mocks", + "clear:a9t": "rm -Rf e2e/angular9-ivy-true/node_modules/ng-mocks", "s:test:a": "npm run s:test:a5 && npm run s:test:a6 && npm run s:test:a7 && npm run s:test:a8 && npm run s:test:a9", "s:test:a5": "P=e2e/angular5/src/test && rm -Rf $P && mkdir -p $P && cp -R tests $P && cp -R examples $P", "s:test:a6": "P=e2e/angular6/src/test && rm -Rf $P && mkdir -p $P && cp -R tests $P && cp -R examples $P", @@ -37,7 +45,7 @@ "s:test:a9": "npm run s:test:a9f && npm run s:test:a9t", "s:test:a9f": "P=e2e/angular9-ivy-false/src/test && rm -Rf $P && mkdir -p $P && cp -R tests $P && cp -R examples $P", "s:test:a9t": "P=e2e/angular9-ivy-true/src/test && rm -Rf $P && mkdir -p $P && cp -R tests $P && cp -R examples $P", - "e2e": "npm run build && npm run i:a && npm run s:a && npm run s:test:a && npm run test:a", + "e2e": "npm run build && npm run i:a && npm run s:a && npm run s:test:a && npm run test:a && npm run clear:a", "clean": "rm -rf dist coverage", "commit": "npx git-cz", "lint": "tslint --project tsconfig.json",