diff --git a/package-lock.json b/package-lock.json index 95fb29c..643441f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@biesbjerg/ngx-translate-extract", - "version": "4.2.0", + "version": "5.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1978,6 +1978,14 @@ } } }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "requires": { + "glob": "^7.1.3" + } + }, "rxjs": { "version": "6.5.4", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz", diff --git a/package.json b/package.json index 1cd9e24..5b230b1 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "scripts": { "build": "npm run clean && tsc", "watch": "npm run clean && tsc --watch", - "clean": "rm -rf ./dist", + "clean": "rimraf ./dist", "lint": "tslint --force './src/**/*.ts'", "test": "mocha -r ts-node/register tests/**/*.spec.ts" }, @@ -79,7 +79,8 @@ "tslint": "^6.1.0", "tslint-config-prettier": "^1.18.0", "tslint-eslint-rules": "^5.4.0", - "tslint-etc": "^1.10.1" + "tslint-etc": "^1.10.1", + "rimraf": "^3.0.2" }, "dependencies": { "@angular/compiler": "^9.0.7",