Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files prop to package.json #497

Merged
merged 2 commits into from
Apr 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
})