@ckb-lumos/types
Advanced tools
Comparing version 0.2.4 to 0.3.0
{ | ||
"name": "@ckb-lumos/types", | ||
"version": "0.2.4", | ||
"version": "0.3.0", | ||
"description": "TypeScript definitions for common objects used in lumos", | ||
@@ -19,2 +19,3 @@ "author": "Xuejie Xiao <xxuejie@gmail.com>", | ||
"fmt": "prettier --write \"lib/**/*.js\" index.d.ts package.json", | ||
"lint": "eslint -c ../../.eslintrc.js \"lib/**/*.js\"", | ||
"regenerate-schema": "mkdir -p tmp && curl -L https://raw.githubusercontent.com/nervosnetwork/ckb/b8a4743c4ae9368f5d56880c74d7edb7580d0d45/util/types/schemas/blockchain.mol -o tmp/blockchain.mol && moleculec --language - --schema-file tmp/blockchain.mol --format json > tmp/core.json && moleculec-es -inputFile tmp/core.json -outputFile tmp/core.esm.js -generateTypeScriptDefinition && rollup -f umd -i tmp/core.esm.js -o lib/core.js --name CKBCore && cp tmp/core.esm.d.ts lib/core.d.ts && rm -rf tmp", | ||
@@ -24,4 +25,2 @@ "test": "ava" | ||
"devDependencies": { | ||
"ava": "^3.5.0", | ||
"prettier": "^2.0.4", | ||
"rollup": "^1.32.0" | ||
@@ -37,4 +36,3 @@ }, | ||
"xxhash": "^0.3.0" | ||
}, | ||
"gitHead": "2bbebc39ee03e88bdf39f8b6d1b22c210d27cb98" | ||
} | ||
} |
1
57878