(pkg_filename: string)
| 43 | ] |
| 44 | |
| 45 | export function get_external_deps_from_pkg(pkg_filename: string): string[] { |
| 46 | let pkg = JSON.parse(fs.readFileSync(pkg_filename) as any) as Package_Json |
| 47 | return [...DEFAULT_EXTERNAL_DEPS, ...Object.keys({...pkg.peerDependencies, ...pkg.dependencies})] |
| 48 | } |
| 49 | |
| 50 | export function get_is_dev_from_args(): boolean { |
| 51 | return process.argv.includes('--watch') |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…