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

update_deps.sh - github.com/openpgpjs/openpgpjs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fe4ba50a9f02a0ecc0bff3806cb244fe38b1ee1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# go to root
cd `dirname $0`

# clear shrinkwrapped node_modules
rm package-lock.json
rm -rf node_modules/

# abort if tests fail
set -e

# install dependencies
npm install

# build and test
npm test

# Add build files to git
git add package-lock.json
git commit -m "Update npm dependencies and package lock"