@cosmwasm/ts-codegen 0.5.0 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @cosmwasm/ts-codegen
|
2
2
|
|
3
|
-
|
3
|
+
TypeScript bindings for CosmWasm smart contracts
|
4
4
|
|
5
5
|
<p align="center">
|
6
6
|
<img width="120" src="https://user-images.githubusercontent.com/545047/163705368-bc899f6d-a2de-43ee-889b-dbf44e17f288.png">
|
@@ -12,14 +12,14 @@ A Transpiler for CosmWasm Smart Contracts
|
|
12
12
|
</a>
|
13
13
|
<a href="https://github.com/CosmWasm/ts-codegen/blob/main/LICENSE-MIT"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
|
14
14
|
<a href="https://github.com/CosmWasm/ts-codegen/blob/main/LICENSE-Apache"><img height="20" src="https://img.shields.io/badge/license-Apache-blue.svg"></a>
|
15
|
-
<a href="https://www.npmjs.com/package/@cosmwasm/ts-codegen"><img height="20" src="https://img.shields.io/github/package-json/v/CosmWasm/ts-codegen?filename=packages%
|
15
|
+
<a href="https://www.npmjs.com/package/@cosmwasm/ts-codegen"><img height="20" src="https://img.shields.io/github/package-json/v/CosmWasm/ts-codegen?filename=packages%2Fts-codegen%2Fpackage.json"></a>
|
16
16
|
</p>
|
17
17
|
|
18
18
|
```
|
19
19
|
npm install -g @cosmwasm/ts-codegen
|
20
20
|
```
|
21
21
|
|
22
|
-
|
22
|
+
`@cosmwasm/ts-codegen` converts your CosmWasm smart contracts into TypeScript classes and functions so you can focus on shipping features.
|
23
23
|
|
24
24
|
## usage
|
25
25
|
|
File without changes
|
File without changes
|
package/package.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cosmwasm/ts-codegen",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.3",
|
4
4
|
"description": "A TypeScript Transpiler for CosmWasm Smart Contracts",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
|
-
"homepage": "https://github.com/
|
6
|
+
"homepage": "https://github.com/cosmwasm/ts-codegen",
|
7
7
|
"license": "SEE LICENSE IN LICENSE",
|
8
8
|
"main": "main/index.js",
|
9
9
|
"module": "module/index.js",
|
10
10
|
"typings": "types/index.d.ts",
|
11
11
|
"bin": {
|
12
|
-
"cosmwasm-ts-codegen": "main/
|
12
|
+
"cosmwasm-ts-codegen": "main/ts-codegen.js"
|
13
13
|
},
|
14
14
|
"directories": {
|
15
15
|
"lib": "src",
|
@@ -26,8 +26,8 @@
|
|
26
26
|
"build": "npm run build:module && npm run build:main",
|
27
27
|
"build:ts": "tsc --project ./tsconfig.json",
|
28
28
|
"prepare": "npm run build",
|
29
|
-
"dev": "cross-env NODE_ENV=development babel-node src/
|
30
|
-
"watch": "cross-env NODE_ENV=development babel-watch src/
|
29
|
+
"dev": "cross-env NODE_ENV=development babel-node src/ts-codegen --extensions \".tsx,.ts,.js\"",
|
30
|
+
"watch": "cross-env NODE_ENV=development babel-watch src/ts-codegen --extensions \".tsx,.ts,.js\"",
|
31
31
|
"file": "cross-env NODE_ENV=development babel-watch src/file --extensions \".tsx,.ts,.js\"",
|
32
32
|
"lint": "eslint .",
|
33
33
|
"format": "eslint . --fix",
|
@@ -40,11 +40,11 @@
|
|
40
40
|
},
|
41
41
|
"repository": {
|
42
42
|
"type": "git",
|
43
|
-
"url": "https://github.com/
|
43
|
+
"url": "https://github.com/cosmwasm/ts-codegen"
|
44
44
|
},
|
45
45
|
"keywords": [],
|
46
46
|
"bugs": {
|
47
|
-
"url": "https://github.com/
|
47
|
+
"url": "https://github.com/cosmwasm/ts-codegen/issues"
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
50
|
"@babel/cli": "7.17.10",
|
@@ -90,7 +90,7 @@
|
|
90
90
|
"minimist": "1.2.6",
|
91
91
|
"mkdirp": "1.0.4",
|
92
92
|
"shelljs": "0.8.5",
|
93
|
-
"wasm-ast-types": "^0.4.
|
93
|
+
"wasm-ast-types": "^0.4.1"
|
94
94
|
},
|
95
|
-
"gitHead": "
|
95
|
+
"gitHead": "f7b4062f5b55cd15b15c61819581c848b7824633"
|
96
96
|
}
|