Debian Codegraph @

nyc/npm-run-clean.js

raw ◀ ▶
1 Debian patch touch this file
1 #!/usr/bin/env node
2 'use strict'
3
4 const { promisify } = require('util')
•5 const { rimraf } = require('rimraf')
6
7 Promise.all([
8 '**/.nyc_output',
9 'node_modules/.cache',
10 '.self_coverage',
11 'test/**/.cache',
12 'test/fixtures/cli/coverage',
13 'test/fixtures/cli/fakebin/node',
14 'test/fixtures/cli/fakebin/npm',
15 'test/fixtures/cli/foo-cache',
16 'test/fixtures/cli/nyc-config-js/node_modules',
17 'test/temp-dir-*',
18 'self-coverage'
19 ].map(f => rimraf(f, { cwd: __dirname })))