trustwallet-assets/package.json
Mykola 3ac372ecf8
Checksum script (#1263)
* Add @types/node

* Add checksum script

* Update azl pipeline

* Update map

* Optimised images with calibre/image-actions

* Omit checkout

* remove

* Recreate with exectute permission

* Add lovercase for tsting script

* Change to chmod 700

* run with sudo

* run with sudo

* Use SYSTEM_PULLREQUEST_SOURCEBRANCH var to get branch name

* Use Bash task

* Checksum ERC20 addresses [skip ci]

* Add in lowercase for testing

* Checksum ERC20 addresses [skip ci]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-02-18 18:00:11 -08:00

66 lines
1.8 KiB
JSON

{
"name": "assets",
"version": "1.0.0",
"description": "Assets consumed by Trust Wallet",
"main": "index.js",
"scripts": {
"pre-test": "",
"test": "npm run cleanup && jest",
"cleanup": "find ./.. -iname '.DS_Store' -type f -delete",
"update-bep2": "npm run cleanup && node ./script/updateBEP2",
"checksum-erc20": "npm run cleanup && ts-node ./script/erc20_to_checksum",
"list": "npm run cleanup && ts-node ./script/gen_list",
"gen:info": "ts-node ./script/gen_info",
"resize": "npm run cleanup && ts-node ./script/resize_images",
"map:cmc": "ts-node ./pricing/coinmarketcap/script",
"magic": "npm run update-bep2 && npm run checksum-erc20 && npm run resize && npm run list && npm t"
},
"repository": {
"type": "git",
"url": "git+https://github.com/trustwallet/assets.git"
},
"keywords": [
"ERC20 token images",
"TRC-10 token images",
"TRC-20 token images",
"BEP-2 token images"
],
"engines": {
"node": ">=10.0"
},
"author": "Trust Wallet",
"license": "MIT",
"bugs": {
"url": "https://github.com/trustwallet/assets/issues"
},
"homepage": "https://github.com/trustwallet/assets#readme",
"devDependencies": {
"@trustwallet/types": "^0.1.37",
"@types/jest": "^24.9.0",
"@types/jest-expect-message": "^1.0.1",
"axios": "^0.19.1",
"bip44-constants": "^8.0.5",
"bluebird": "^3.7.2",
"chalk": "^3.0.0",
"ethereum-checksum-address": "0.0.5",
"eztz-lib": "^0.1.2",
"image-size": "^0.8.3",
"jest": "^24.9.0",
"jest-expect-message": "^1.0.2",
"nested-property": "^1.0.4",
"sharp": "^0.24.0",
"ts-jest": "^24.3.0",
"ts-node": "^8.6.2",
"typescript": "^3.7.5",
"web3": "^1.2.4"
},
"dependencies": {
"@types/node": "^13.7.1"
},
"jest": {
"setupFilesAfterEnv": [
"jest-expect-message"
]
}
}