Skip to content

Commit

Permalink
Add files prop to package.json (#497)
Browse files Browse the repository at this point in the history
* add files prop to package.json
  • Loading branch information
rekmarks committed Apr 30, 2020
1 parent 64cffb3 commit e0e8516
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
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()
})
})

0 comments on commit e0e8516

Please sign in to comment.