From e0e8516bb9e684231143e31f6cfb29f0ff1b6f0d Mon Sep 17 00:00:00 2001 From: Erik Marks <25517051+rekmarks@users.noreply.github.com> Date: Thu, 30 Apr 2020 08:42:26 -0700 Subject: [PATCH] Add files prop to package.json (#497) * add files prop to package.json --- README.md | 2 +- package.json | 5 +++++ test/index.js | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 87e9d3c55b..a6924581a9 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Maintaining this list is a considerable chore, and it is not our highest priorit 3. Add an entry to the `contract-map.json` file with the specified address as the key, and the image file's name as the value. Criteria: + - The icon should be small, square, but high resolution, ideally a vector/svg. - Do not add your entry to the end of the JSON map, messing with the trailing comma. Your pull request should only be an addition of lines, and any line removals should be deliberate deprecations of those logos. - PR should include link to official project website referencing the suggested address. @@ -64,4 +65,3 @@ Tokens should include a field `"erc20": true`, and can include additional fields - decimals (precision of the tokens stored) A full list of permitted fields can be found in the [permitted-fields.json](./permitted-fields.json) file. - diff --git a/package.json b/package.json index 3973ab4c00..c882496bfd 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,11 @@ "url": "https://github.com/MetaMask/ethereum-contract-icons/issues" }, "homepage": "https://github.com/MetaMask/ethereum-contract-icons#readme", + "files": [ + "index.js", + "contract-map.json", + "images" + ], "devDependencies": { "ethereumjs-util": "^5.1.1", "tape": "^4.6.3" diff --git a/test/index.js b/test/index.js index 10c30a5457..4d60ac259a 100644 --- a/test/index.js +++ b/test/index.js @@ -105,4 +105,4 @@ test('symbols should not overlap', function (t) { const msg = duplicateSymbol ? `found overlapping symbol ${duplicateSymbol}` : 'symbols should not overlap' t.notOk(duplicateSymbol, msg) t.end() -}) \ No newline at end of file +})