Use rimraf to support Windows

This commit is contained in:
Kim Biesbjerg 2020-03-21 04:17:17 -07:00
parent 9da4939f5d
commit e7795c5349
2 changed files with 12 additions and 3 deletions

10
package-lock.json generated
View File

@ -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",

View File

@ -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",