-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 3.19 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
{
"name": "abacus-contracts",
"version": "0.1.0",
"private": true,
"scripts": {
"ansiToHtml": "npx ts-node ./scripts/ansiToHtml.ts",
"cs": "npx ts-node ./scripts/compile/compileSingleContract.ts",
"build": "./build.sh",
"localnode": "./substrate-contracts-node --dev --tmp -lerror,runtime::contracts=debug --ws-max-connections 5000 --pruning=archive",
"test:debug": "npx ts-node runWithoutWarnings.ts env DEBUG=1 npx ts-node scripts/runScenarioWithDebug.ts",
"test": "./runTests.sh",
"generateTypes": "npx ts-node ./runWithoutWarnings.ts npx typechain-polkadot --in artifacts --out typechain && npx ts-node ./scripts/typechain/replaceQueryCalls.ts && npx ts-node ./scripts/typechain/replaceHandleReturnType.ts && npx ts-node ./scripts/typechain/removeReturnTypesRef.ts && npx ts-node ./scripts/typechain/fixContractAbiImport.ts && npx ts-node ./scripts/typechain/generateEventsEnum.ts && npx ts-node ./scripts/typechain/removeCommas.ts",
"codeDuplication": "npx jscpd --min-lines 5 --min-tokens 50 --pattern './!(target)/**/*.rs' --reporters html -o jscpd",
"clippy": "script -efq ./clippy.log -c 'env CARGO_TERM_COLOR=always cargo clippy -- -W clippy::pedantic'",
"lint": "yarn lint:format && yarn lint:fix",
"lint:fix": "eslint . --ext .js,.ts --fix --ignore-path ./.gitignore",
"lint:format": "pretty-quick --loglevel warn --write \"./**/*.{js,ts,md,json}\" ",
"prepare": "husky install"
},
"dependencies": {
"@727-ventures/typechain-polkadot": "^1.1.1",
"@727-ventures/typechain-types": "^1.1.2",
"@babel/core": "^7.21.0",
"@babel/plugin-transform-runtime": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/register": "^7.21.0",
"@polkadot/api": "^10.1.4",
"@polkadot/api-contract": "^10.1.4",
"@polkadot/keyring": "^10.4.2",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"@types/chroma-js": "^2.4.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"ansi-to-html": "^0.7.2",
"bn.js": "^5.2.1",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chai-formatter-monkeypatch": "^1.0.1",
"chroma-js": "^2.4.2",
"color-name-list": "^10.5.0",
"commander": "^10.0.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"fs-extra": "^11.1.0",
"glob": "^8.1.0",
"jscpd": "^3.5.3",
"json2csv": "^5.0.7",
"lint-staged": "^13.1.2",
"lodash": "^4.17.21",
"loglevel": "^1.8.1",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
"pretty-quick": "^3.1.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"winston": "^3.8.2"
},
"devDependencies": {
"@types/bn.js": "^5.1.1",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/fs-extra": "^11.0.1",
"@types/glob": "^8.0.1",
"@types/json2csv": "^5.0.3",
"@types/lodash": "^4.14.191",
"@types/mocha": "^10.0.1",
"husky": "^8.0.3",
"tsconfig-paths": "^4.1.2"
},
"packageManager": "[email protected]"
}