Skip to content

Commit e0e8516

Browse files
authored
Add files prop to package.json (#497)
* add files prop to package.json
1 parent 64cffb3 commit e0e8516

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Maintaining this list is a considerable chore, and it is not our highest priorit
3939
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.
4040

4141
Criteria:
42+
4243
- The icon should be small, square, but high resolution, ideally a vector/svg.
4344
- 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.
4445
- 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
6465
- decimals (precision of the tokens stored)
6566

6667
A full list of permitted fields can be found in the [permitted-fields.json](./permitted-fields.json) file.
67-

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
"url": "https://github.com/MetaMask/ethereum-contract-icons/issues"
2222
},
2323
"homepage": "https://github.com/MetaMask/ethereum-contract-icons#readme",
24+
"files": [
25+
"index.js",
26+
"contract-map.json",
27+
"images"
28+
],
2429
"devDependencies": {
2530
"ethereumjs-util": "^5.1.1",
2631
"tape": "^4.6.3"

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@ test('symbols should not overlap', function (t) {
105105
const msg = duplicateSymbol ? `found overlapping symbol ${duplicateSymbol}` : 'symbols should not overlap'
106106
t.notOk(duplicateSymbol, msg)
107107
t.end()
108-
})
108+
})

0 commit comments

Comments
 (0)