Files
typescript-domain/pkg-update.js
Niels Kooiman 352211dfcf initial commit
2019-08-12 12:52:12 +02:00

2 lines
194 B
JavaScript

const json = JSON.parse(require('fs').readFileSync("package.json"));
require('child_process').spawn('npm', ['i', '-D', ...Object.keys(json.devDependencies)], {stdio: 'inherit', detached: true});