Welcome to mirror list, hosted at ThFree Co, Russian Federation.

resetdeps.sh « scripts - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2362c2092a63579da4a29cd3466bf1bcf6a9a0c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
set -e
set -x
rm -rf node_modules
rm -rf docs/node_modules
rm -rf smoke-tests/node_modules
rm -rf "workspaces/*/node_modules"
git checkout node_modules
node . i --ignore-scripts --no-audit --no-fund
node . rebuild --ignore-scripts
node scripts/bundle-and-gitignore-deps.js