Skip to content

Commit 2c7ac4f

Browse files
Merge pull request #11 from lumc-nested/shrinkwrap
Use npm shrinkwrap
2 parents 93e0015 + 9a252bf commit 2c7ac4f

File tree

4 files changed

+3959
-33
lines changed

4 files changed

+3959
-33
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Validate this file using http://lint.travis-ci.org/
22
language: node_js
3-
node_js: stable
3+
node_js: "5.10"
44
sudo: false
55
script: npm run dist
66
before_deploy:

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,21 @@ subdirectory.
3131

3232
Alternatively, pre-compiled bundles can be found from the
3333
[GitHub releases page](https://github.com/lumc-nested/nested-website/releases).
34+
35+
36+
Dependency management
37+
---------------------
38+
39+
In order to have somewhat reproducible builds, we use
40+
[npm shrinkwrap](https://docs.npmjs.com/cli/shrinkwrap) to lock down all
41+
dependencies. To add or update a dependency, run:
42+
43+
npm install --save --save-exact some-dependency@some-version
44+
45+
Or, if it's a dev dependency:
46+
47+
npm install --save-dev --save-exact some-dev-dependency@some-version
48+
49+
Then update the shrinkwrap:
50+
51+
npm shrinkwrap --dev

0 commit comments

Comments
 (0)