-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
93 lines (93 loc) · 2.86 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
83
84
85
86
87
88
89
90
91
92
93
{
"name": "xcm-sdk",
"version": "0.1.0",
"description": "XCM SDK is a tool that provides an interface to send XCM messages for Substrate based blockchains.",
"author": "Blockcoders <[email protected]>",
"license": "MIT",
"readmeFilename": "README.md",
"main": "./lib/index.js",
"module": "./lib.esm/index.js",
"jsnext:main": "./lib.esnext/index.js",
"types": "./lib/index.d.ts",
"publishConfig": {
"access": "public"
},
"bin": {
"xcm-sdk": "lib/bin/index.js"
},
"scripts": {
"test": "mocha -t 120000 --require ts-node/register src/**/*.spec.ts --exit",
"test:watch": "NODE_ENV=test mocha -t 120000 --watch --watch-files src/**/*.ts --require ts-node/register src/**/*.spec.ts",
"test:cov": "nyc npm run test",
"clean": "rm -rf ./lib ./lib.esm ./lib.esnext",
"build": "tsc --build ./tsconfig.build.json",
"prebuild-all": "npm run clean",
"build-all": "npm run build-cjs && npm run build-esnext && npm run build-esm",
"build-cjs": "tsc -p tsconfig.build.json --outDir lib -t es2015 -m commonjs",
"build-esnext": "tsc -p tsconfig.build.json --outDir lib.esnext -t es2015 -m commonjs",
"build-esm": "tsc -p tsconfig.build.json --outDir lib.esm -t es2015 -m es2015",
"lint:ci": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"prepublishOnly": "npm run lint:ci && npm run test && npm run build-all"
},
"precommit": [
"lint:ci",
"test:cov"
],
"repository": {
"type": "git",
"url": "git+https://github.com/blockcoders/xcm-sdk.git"
},
"keywords": [
"xcm",
"xcmp",
"vmp",
"xcm-format",
"substrate",
"polkadot",
"polkadot-js",
"kusama",
"blockchain",
"token",
"asset",
"multi-asset"
],
"devDependencies": {
"@polkadot/api": "^9.14.2",
"@polkadot/keyring": "^10.4.2",
"@polkadot/typegen": "^9.14.2",
"@polkadot/types": "^9.14.2",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.14.2",
"@types/sinon": "^10.0.13",
"@types/yargs": "^17.0.22",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"prettier": "^2.8.4",
"sinon": "^15.0.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"peerDependencies": {
"@polkadot/api": "^9.11.3",
"@polkadot/keyring": "^10.2.6",
"@polkadot/util": "^10.2.6",
"@polkadot/util-crypto": "^10.2.6"
},
"dependencies": {
"yargs": "^17.7.1"
}
}