@wikipathways/cxsd

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

build

tsc -p tsconfig.json

test

npm-run-all test:*

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

cd test && node ../bin/cxsd https://cdn.rawgit.com/ariutta/GPML/e869fe1dcd824348bc4e00ef283547ff8b7b371c/GPML2013a.xsd && cd ..

test1:build:compile

cd test && node ../bin/cxsd http://localhost:8080/GPML2013a.xsd && cd ..

test2:build:rename

npm-run-all test:build:rename:*

test2:build:rename:rdf

mv ./test/xmlns/www.w3.org/1999/02/22-rdf-syntax-ns_.js ./test/xmlns/www.w3.org/1999/02/22-rdf-syntax-ns.js && mv ./test/xmlns/www.w3.org/1999/02/22-rdf-syntax-ns_.d.ts ./test/xmlns/www.w3.org/1999/02/22-rdf-syntax-ns.d.ts

test2:build:rename:bp

mv ./test/xmlns/www.biopax.org/release/biopax-level3.owl_.d.ts ./test/xmlns/www.biopax.org/release/biopax-level3.owl.d.ts && mv ./test/xmlns/www.biopax.org/release/biopax-level3.owl_.js ./test/xmlns/www.biopax.org/release/biopax-level3.owl.js

test:run

jest
npm i @wikipathways/[email protected]

Metadata

  • MIT
  • Whatever
  • Juha Järvi
  • released 6/20/2017

Downloads