@cosmwasm/ts-codegen 0.3.9 → 0.4.0
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 +5 -4
- package/package.json +5 -4
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# cosmwasm-
|
1
|
+
# @cosmwasm/ts-codegen
|
2
2
|
|
3
3
|
A Transpiler for CosmWasm Smart Contracts
|
4
4
|
|
@@ -15,15 +15,16 @@ A Transpiler for CosmWasm Smart Contracts
|
|
15
15
|
<a href="https://www.npmjs.com/package/cosmwasm-typescript-gen"><img height="20" src="https://img.shields.io/github/package-json/v/CosmWasm/cosmwasm-typescript-gen?filename=packages%2Fcosmwasm-typescript-gen%2Fpackage.json"></a>
|
16
16
|
</p>
|
17
17
|
|
18
|
-
|
19
18
|
```
|
20
|
-
npm install -g cosmwasm-
|
19
|
+
npm install -g @cosmwasm/ts-codegen
|
21
20
|
```
|
22
21
|
|
22
|
+
CosmWasm Typescript codegen tooling to convert your CosmWasm smart contracts into clean es6 classes.
|
23
|
+
|
23
24
|
## usage
|
24
25
|
|
25
26
|
```
|
26
|
-
cosmwasm-
|
27
|
+
cosmwasm-ts-codegen generate \
|
27
28
|
--schema ./schema \
|
28
29
|
--out ./src \
|
29
30
|
--name MyContractName
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cosmwasm/ts-codegen",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.4.0",
|
4
4
|
"description": "A TypeScript Transpiler for CosmWasm Smart Contracts",
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
6
6
|
"homepage": "https://github.com/pyramation/cosmwasm-typescript-gen",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"module": "module/index.js",
|
10
10
|
"typings": "types/index.d.ts",
|
11
11
|
"bin": {
|
12
|
-
"cosmwasm-
|
12
|
+
"cosmwasm-ts-codegen": "main/cosmwasm-typescript-gen.js"
|
13
13
|
},
|
14
14
|
"directories": {
|
15
15
|
"lib": "src",
|
@@ -91,5 +91,6 @@
|
|
91
91
|
"mkdirp": "1.0.4",
|
92
92
|
"shelljs": "0.8.5",
|
93
93
|
"wasm-ast-types": "^0.3.7"
|
94
|
-
}
|
95
|
-
|
94
|
+
},
|
95
|
+
"gitHead": "cdddd895367c3839210127f9ea7868dfcb5a1f28"
|
96
|
+
}
|