2015-06-06 02:37:09 -04:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
|
|
|
var fse = require('fs-extra');
|
|
|
|
var path = require('path');
|
|
|
|
|
|
|
|
var NPM_SHRINKWRAP_FILE = 'npm-shrinkwrap.json';
|
2015-12-21 17:50:56 -05:00
|
|
|
var NPM_SHRINKWRAP_CACHED_FILE = 'node_modules/.npm-shrinkwrap.cached.json';
|
2015-06-06 02:37:09 -04:00
|
|
|
var PROJECT_ROOT = path.join(__dirname, '../../');
|
|
|
|
|
|
|
|
process.chdir(PROJECT_ROOT);
|
|
|
|
|
|
|
|
fse.copySync(NPM_SHRINKWRAP_FILE, NPM_SHRINKWRAP_CACHED_FILE);
|