@ibm/zapp-core

v1.1.1
IBM ZAPP parser and core utilities

lint

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

test

jest --coverage

build

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

clean

npm run build:resources && rimraf lib

watch

tsc --pretty --watch

pretty

prettier --write .

package

npm run build:package && npm pack

plotDeps

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

prebuild

npm run build:resources

checkDeps

madge --extensions ts --circular ./src

build:test

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

lintErrors

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

get-version

echo $npm_package_version

build:package

npm run clean && parcel build

build:version

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

prepublishOnly

npm run package

build:resources

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

generate-schema

node ./scripts/generate-zapp-interface.js
npm i @ibm/[email protected]

Metadata

Downloads