-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
82 lines (82 loc) · 3.61 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"author": "NamPC <nampham@subwallet.app>",
"bugs": "https://github.com/Koniverse/SubWallet-Chain/issues",
"homepage": "https://github.com/Koniverse/SubWallet-Chain#readme",
"license": "Apache-2.0",
"packageManager": "yarn@3.2.0",
"repository": {
"type": "git",
"url": "https://github.com/Koniverse/SubWallet-Chain.git"
},
"sideEffects": false,
"type": "module",
"version": "0.2.97-beta.4",
"workspaces": [
"packages/*"
],
"bin": {
"export-assets": "./scripts/exports/export-assets.js",
"export-chains": "./scripts/exports/export-chains.js",
"export-xcm-channels": "./scripts/exports/export-xcm-channels.js",
"generate-logo-map": "./scripts/generators/generate-logo-map.js",
"migration-patch-logo": "./scripts/patch/migration-patch-logo.mjs",
"patch-data": "scripts/patch/patch-data.js",
"set-version": "./scripts/set-version.mjs",
"strapi-fetch-chain-assets": "./scripts/strapi/fetch-chain-assets.mjs",
"strapi-fetch-chains": "./scripts/strapi/fetch-chains.mjs",
"strapi-multi-chain-assets": "./scripts/strapi/fetch-multi-chain-assets.mjs",
"subwallet-ci-ghact-build": "./scripts/subwallet-ci-ghact-build.mjs",
"subwallet-dev-build-ts": "./scripts/subwallet-dev-build-ts.mjs",
"validate-asset-refs": "./scripts/validations/validate-asset-refs.js",
"validate-chains": "./scripts/validations/validate-chains.js",
"validate-tokens": "./scripts/validations/validate-tokens.js"
},
"scripts": {
"build": "subwallet-dev-build-ts && cp -r packages/chain-list/build/data packages/chain-list/build/cjs",
"build:beta": "BRANCH_NAME=dev yarn build",
"build:extra": "",
"build:latest": "BRANCH_NAME=master yarn build",
"build:rollup": "polkadot-exec-rollup --config",
"chain:info": "polkadot-types-chain-info",
"clean": "polkadot-dev-clean-build",
"deno": "yarn polkadot-dev-deno-map && yarn build && deno check --import-map=import_map.json mod.ts",
"deploy": "gh-pages --dist 'packages/chain-list/src/data' --branch 'gh-page'",
"export": "export-assets && export-chains && export-xcm-channels",
"fetch": "yarn strapi-fetch && yarn generate-logo-map",
"fetch:beta": "BRANCH_NAME=dev yarn fetch",
"fetch:latest": "BRANCH_NAME=master yarn fetch",
"lint": "polkadot-dev-run-lint",
"patch:beta": "yarn patch-data",
"patch:latest": "yarn migration-patch-logo",
"postinstall": "polkadot-dev-yarn-only && patch-package",
"publish:beta": "yarn build:beta && cd ./packages/chain-list/build && npm publish --target --tag beta",
"publish:latest": "yarn build:latest && cd ./packages/chain-list/build && npm publish --target --tag latest",
"strapi-fetch": "yarn strapi-fetch-chains && yarn strapi-fetch-chain-assets && yarn strapi-multi-chain-assets",
"test": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --coverage --forceExit --runInBand --testPathIgnorePatterns e2e",
"test:one": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --detectOpenHandles --forceExit"
},
"dependencies": {
"eventemitter3": "^5.0.1"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/register": "^7.22.15",
"@babel/runtime": "^7.23.1",
"@json2csv/plainjs": "^7.0.3",
"@polkadot/dev": "^0.67.167",
"@types/jest": "^29.5.5",
"axios": "^1.5.1",
"bignumber.js": "^9.1.2",
"copyfiles": "^2.4.1",
"gh-pages": "^6.0.0",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0"
},
"resolutions": {
"@polkadot/util": "^12.5.1",
"typescript": "^4.7.4"
}
}