Completely refactored examples to run only once and have multiple endpoints

This commit is contained in:
Alexander Cerutti
2021-10-31 20:37:06 +01:00
parent 8552f217ee
commit 64ccacdc13
16 changed files with 389 additions and 105 deletions

View File

@@ -9,11 +9,7 @@
"build:src": "rimraf lib && npx tsc -p tsconfig.dist.json",
"build:spec": "rimraf \"./spec/*.!(ts)\" && npx tsc -p tsconfig.spec.json",
"prepublishOnly": "npm run build",
"test": "npm run build:spec && npx jasmine",
"example": "npm run build:src && npm --prefix examples run example",
"example:install": "npm --prefix examples install",
"example:build": "npm --prefix examples run build",
"example:debug": "npm run build:src && npm --prefix examples run example:debug"
"test": "npm run build:spec && npx jasmine"
},
"author": "Alexander Patrick Cerutti",
"license": "MIT",