cosmwasm: Add wrapper package around cosmwasm-launchpad

This commit is contained in:
willclarktech 2020-12-15 16:05:23 +00:00
parent b627ab4dbf
commit ea03958398
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
8 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1 @@
../../.eslintignore

3
packages/cosmwasm/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
build/
dist/
docs/

View File

@ -0,0 +1,5 @@
# @cosmjs/cosmwasm
This package is deprecated and simply wraps `@cosmjs/cosmwasm-launchpad`, which
should be used for Launchpad support. At some point in the future this package
name will be used for a Stargate-compatible CosmWasm package.

View File

@ -0,0 +1,42 @@
{
"name": "@cosmjs/cosmwasm",
"version": "0.24.0-alpha.10",
"description": "CosmWasm SDK",
"contributors": [
"Ethan Frey <ethanfrey@users.noreply.github.com>",
"Will Clark <willclarktech@users.noreply.github.com>"
],
"license": "Apache-2.0",
"main": "build/index.js",
"types": "types/index.d.ts",
"files": [
"build/",
"types/",
"*.md",
"!*.spec.*",
"!**/testdata/"
],
"repository": {
"type": "git",
"url": "https://github.com/CosmWasm/cosmjs/tree/master/packages/cosmwasm"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"docs": "typedoc --options typedoc.js",
"format": "prettier --write --loglevel warn \"./src/**/*.ts\"",
"format-text": "prettier --write --prose-wrap always --print-width 80 \"./*.md\"",
"lint": "eslint --max-warnings 0 \"**/*.{js,ts}\"",
"lint-fix": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix",
"move-types": "shx rm -rf ./types/* && shx mv build/types/* ./types",
"format-types": "prettier --write --loglevel warn \"./types/**/*.d.ts\"",
"prebuild": "shx rm -rf ./build",
"build": "tsc",
"postbuild": "yarn move-types && yarn format-types",
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build"
},
"dependencies": {
"@cosmjs/cosmwasm-launchpad": "^0.24.0-alpha.10"
}
}

View File

@ -0,0 +1 @@
export * from "@cosmjs/cosmwasm-launchpad";

View File

@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"outDir": "build",
"declarationDir": "build/types",
"rootDir": "src"
},
"include": [
"src/**/*"
]
}

View File

@ -0,0 +1,13 @@
const packageJson = require("./package.json");
module.exports = {
inputFiles: ["./src"],
out: "docs",
exclude: "**/*.spec.ts",
name: `${packageJson.name} Documentation`,
readme: "README.md",
mode: "file",
excludeExternals: true,
excludeNotExported: true,
excludePrivate: true,
};

1
packages/cosmwasm/types/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export * from "@cosmjs/cosmwasm-launchpad";