@wikipathways/cxsd

v0.2.8
Streaming XSD parser and XML parser generator with TypeScript output
xsd dts xml schema parser typescript

build

tsc --sourceMap -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

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

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://cdn.rawgit.com/ariutta/GPML/9a8cb502c8745058c0611106f33a0f383819b3f0/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/23/2019

Downloads