From a3811fbf572fed9d78653855755bb220102b2d36 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 21 Jul 2020 14:22:25 +1000 Subject: [PATCH] feat: `npm run update-table` script --- README.md | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 761eb98..4ddf066 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Updating the lookup table is done with a script. The source of truth is the [multicodec default table](https://github.com/multiformats/multicodec/blob/master/table.csv). Update the table with running: - node ./tools/update-table.js + npm run update-table ## Contribute diff --git a/package.json b/package.json index 301d53c..5b1f1fe 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "release-minor": "aegir release --type minor", "release-major": "aegir release --type major", "coverage": "aegir coverage", - "coverage-publish": "aegir coverage --provider coveralls" + "coverage-publish": "aegir coverage --provider coveralls", + "update-table": "node tools/update-table.js" }, "pre-push": [ "lint",