All files / gulpfile.ts/lib PACKAGES_INSTALLED.ts

0% Statements 0/5
100% Branches 0/0
100% Functions 0/0
0% Lines 0/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8               
import * as path from 'path'
import { sureLazyImport, TIMPLA_PROCESS } from '../internal'
 
export const packageJsonFile = sureLazyImport(path.resolve(TIMPLA_PROCESS.INIT_CWD, 'package.json'))
export const allDeps = { ...packageJsonFile.dependencies, ...packageJsonFile.devDependencies }
 
export const PACKAGES_INSTALLED = [...new Set(Object.keys(allDeps))]