2020-01-29 13:12:30 +01:00
|
|
|
{
|
2020-06-04 19:53:58 +02:00
|
|
|
"name": "@cosmjs/faucet",
|
2023-12-19 14:56:50 +01:00
|
|
|
"version": "0.32.2",
|
2020-01-29 13:12:30 +01:00
|
|
|
"description": "The faucet",
|
2020-08-19 15:51:43 +01:00
|
|
|
"contributors": [
|
2020-08-18 11:00:04 +02:00
|
|
|
"Ethan Frey <ethanfrey@users.noreply.github.com>",
|
|
|
|
"Simon Warta <webmaster128@users.noreply.github.com>"
|
|
|
|
],
|
2020-01-29 13:12:30 +01:00
|
|
|
"license": "Apache-2.0",
|
2020-02-06 10:15:58 +01:00
|
|
|
"bin": {
|
2020-08-18 11:00:04 +02:00
|
|
|
"cosmos-faucet": "bin/cosmos-faucet"
|
2020-02-06 10:15:58 +01:00
|
|
|
},
|
2020-01-29 13:12:30 +01:00
|
|
|
"files": [
|
2023-03-22 15:29:35 +01:00
|
|
|
"bin/",
|
2020-01-29 13:12:30 +01:00
|
|
|
"build/",
|
|
|
|
"*.md",
|
|
|
|
"!*.spec.*",
|
|
|
|
"!**/testdata/"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-01-19 23:37:10 +01:00
|
|
|
"url": "https://github.com/cosmos/cosmjs/tree/main/packages/faucet"
|
2020-01-29 13:12:30 +01:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
2021-08-04 16:45:19 +02:00
|
|
|
"access": "public",
|
|
|
|
"registry": "https://registry.npmjs.org"
|
2020-01-29 13:12:30 +01:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-08-11 08:28:11 +02:00
|
|
|
"dev-start": "yarn start-dev",
|
2020-01-29 13:12:30 +01:00
|
|
|
"format": "prettier --write --loglevel warn \"./src/**/*.ts\"",
|
2021-04-28 16:54:44 +02:00
|
|
|
"format-text": "prettier --write \"./*.md\"",
|
2021-05-04 18:40:25 +02:00
|
|
|
"lint": "eslint --max-warnings 0 \"./**/*.ts\" \"./*.js\"",
|
|
|
|
"lint-fix": "eslint --fix --max-warnings 0 \"./**/*.ts\" \"./*.js\"",
|
2021-04-28 18:41:57 +02:00
|
|
|
"build": "rm -rf ./build && tsc",
|
2020-01-29 13:12:30 +01:00
|
|
|
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
|
2021-11-22 22:47:23 +01:00
|
|
|
"test-node": "yarn node jasmine-testrunner.js",
|
2020-06-25 15:34:09 +02:00
|
|
|
"test": "yarn build-or-skip && yarn test-node",
|
2020-08-11 08:28:11 +02:00
|
|
|
"coverage": "nyc --reporter=text --reporter=lcov yarn test --quiet",
|
2020-11-19 13:07:00 +01:00
|
|
|
"start-dev": "FAUCET_ADDRESS_PREFIX=wasm FAUCET_CREDIT_AMOUNT_UCOSM=10000000 FAUCET_CREDIT_AMOUNT_USTAKE=100000 FAUCET_CONCURRENCY=3 FAUCET_MNEMONIC=\"economy stock theory fatal elder harbor betray wasp final emotion task crumble siren bottom lizard educate guess current outdoor pair theory focus wife stone\" ./bin/cosmos-faucet start \"http://localhost:26659\"",
|
2022-04-12 14:04:30 +02:00
|
|
|
"start-coralnet": "FAUCET_ADDRESS_PREFIX=coral FAUCET_TOKENS=\"ushell,ureef\" FAUCET_CREDIT_AMOUNT_USHELL=10000000 FAUCET_CREDIT_AMOUNT_UREEF=2000000 FAUCET_CONCURRENCY=3 FAUCET_MNEMONIC=\"economy stock theory fatal elder harbor betray wasp final emotion task crumble siren bottom lizard educate guess current outdoor pair theory focus wife stone\" ./bin/cosmos-faucet start \"https://lcd.coralnet.cosmwasm.com\"",
|
|
|
|
"pack-node": "yarn build-or-skip && webpack --mode production --config webpack.node.config.js"
|
2020-01-29 13:12:30 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-09-05 17:01:00 +02:00
|
|
|
"@cosmjs/crypto": "workspace:^",
|
|
|
|
"@cosmjs/encoding": "workspace:^",
|
|
|
|
"@cosmjs/math": "workspace:^",
|
|
|
|
"@cosmjs/proto-signing": "workspace:^",
|
|
|
|
"@cosmjs/stargate": "workspace:^",
|
|
|
|
"@cosmjs/utils": "workspace:^",
|
2022-06-27 12:16:40 +02:00
|
|
|
"@koa/cors": "^3.3",
|
|
|
|
"koa": "^2.13",
|
|
|
|
"koa-bodyparser": "^4.3"
|
2020-01-29 13:12:30 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-05-04 16:26:38 +02:00
|
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
2021-05-04 18:40:25 +02:00
|
|
|
"@types/eslint-plugin-prettier": "^3",
|
2022-06-21 14:39:23 +02:00
|
|
|
"@types/jasmine": "^4",
|
2022-06-27 12:16:40 +02:00
|
|
|
"@types/koa": "^2.13",
|
|
|
|
"@types/koa-bodyparser": "^4.3",
|
|
|
|
"@types/koa__cors": "^3.3",
|
2023-03-01 14:42:06 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
|
|
"@typescript-eslint/parser": "^5.54.0",
|
2021-04-27 18:38:48 +02:00
|
|
|
"eslint": "^7.5",
|
2021-05-04 18:40:25 +02:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-import-resolver-node": "^0.3.4",
|
|
|
|
"eslint-plugin-import": "^2.22.1",
|
|
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
2021-05-26 12:59:41 +02:00
|
|
|
"esm": "^3.2.25",
|
2022-06-21 14:39:23 +02:00
|
|
|
"jasmine": "^4",
|
2021-04-28 17:21:11 +02:00
|
|
|
"jasmine-spec-reporter": "^6",
|
2021-04-28 13:27:56 +02:00
|
|
|
"nyc": "^15.1.0",
|
2022-12-07 19:03:00 +01:00
|
|
|
"prettier": "^2.8.1",
|
2021-04-28 17:21:11 +02:00
|
|
|
"ses": "^0.11.0",
|
|
|
|
"source-map-support": "^0.5.19",
|
2021-05-04 16:26:38 +02:00
|
|
|
"ts-node": "^8",
|
2023-04-03 15:55:13 +02:00
|
|
|
"typescript": "~4.9",
|
2023-03-14 16:01:33 +00:00
|
|
|
"webpack": "^5.76.0",
|
2022-04-12 14:03:40 +02:00
|
|
|
"webpack-cli": "^4.6.0"
|
2023-11-23 12:00:38 +01:00
|
|
|
}
|
2020-01-29 13:12:30 +01:00
|
|
|
}
|