angular-jest
Advanced tools
Comparing version
15
index.js
@@ -7,13 +7,12 @@ #!/usr/bin/env node | ||
const main = () => { | ||
execCommands().then(() => { | ||
createFiles(); | ||
await execCommands() | ||
createFiles(); | ||
updatePackage(); | ||
updatePackage(); | ||
updateAngular(); | ||
updateAngular(); | ||
deleteFiles(); | ||
deleteFiles(); | ||
updateTsConfigSpec(); | ||
}); | ||
updateTsConfigSpec(); | ||
} | ||
@@ -28,2 +27,4 @@ | ||
return new Promise((res, rej) => { | ||
console.log(command); | ||
const child = exec(command, (err, stdout, stderr) => { | ||
@@ -30,0 +31,0 @@ if (err) { |
{ | ||
"name": "angular-jest", | ||
"version": "1.2.2", | ||
"description": "Library to configure Angular to work with Jest", | ||
"version": "1.2.3", | ||
"description": "Library to configure Angular to work with Jest based on https://medium.com/angular-in-depth/integrate-jest-into-an-angular-application-and-library-163b01d977ce", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
5551
2.02%