@wikipathways/cxsd
v0.2.9 xsd dts xml schema parser typescript
build
tsc -p tsconfig.json
prepare
ALLE_DIR='../../../../'; if [ ! -d ./node_modules ] && [ -d "$ALLE_DIR"/node_modules ]; then echo 'Alle configuration detected. Testing from the top-level alle directory...' && (cd "$ALLE_DIR" && npm run '@wikipathways/cxsd:build'); else npm run build; fi
prepublishOnly
npm i --package-lock-only && ALLE_DIR='../../../../'; if [ ! -d ./node_modules ] && [ -d "$ALLE_DIR"/node_modules ]; then echo 'Alle configuration detected. Testing from the top-level alle directory...' && (cd "$ALLE_DIR" && npm run '@wikipathways/cxsd:test'); else npm run test; fi
postpublish
TAG="v$(jq -r .version package.json)" && git tag -a $TAG -m "Published version $TAG" && git push origin/master $TAG
test
npm-run-all --silent test:* # In case of error, remove --silent to debug.
test:build
npm-run-all test:build:*
test:build:clean
mkdir -p cache && rm -rf cache && cd test && mkdir -p cache && rm -rf cache && mkdir -p xmlns && rm -rf xmlns && cd ..
test:build:compile
npm-run-all test:build:compile:*
test:build:compile:GPML2013a
cd test && node ../bin/cxsd https://raw.githubusercontent.com/ariutta/GPML/master/GPML2013a.xsd && cd ..
test:build:compile:dir-example
cd test && node ../bin/cxsd ./input/dir-example.xsd && cd ..
test:run
jest
npm i @wikipathways/[email protected]
Metadata
- MIT
- Whatever
- Juha Järvi
- released 9/27/2019