@ibm/zapp-core

v1.3.0
IBM ZAPP parser and core utilities

prebuild

npm run build:resources

build

tsc --pretty && npm run checkDeps && npm run lintErrors

build:resources

rimraf resources/* && copyfiles -f ../../schema/*-schema-1.3.0.json ./resources

build:version

npm version --new-version $npm_package_version-`date '+%Y%m%d%H%M'`-`git rev-parse --short HEAD` --no-git-tag-version

build:package

npm run clean && parcel build

build:test

npm run clean && npm run build && npm run test

package

npm run build:package && npm pack

prepublishOnly

npm run package

clean

npm run build:resources && rimraf lib

watch

tsc --pretty --watch

lint

concurrently -n "_eslint_,prettier" "eslint . --ext .ts" "prettier --check ."

lintErrors

concurrently -n "_eslint_,prettier" "eslint . --quiet --ext .ts" "prettier --check ."

checkDeps

madge --extensions ts --circular ./src

plotDeps

madge --extensions ts --image ./docs/dependency-graph.svg ./src

pretty

prettier --write .

get-version

echo $npm_package_version

generate-schema

node ./scripts/generate-zapp-interface.js

test

jest --coverage
npm i @ibm/zapp-core

Metadata

Downloads