diff --git a/src/package.json b/src/package.json index ce3d1d6..e30f5c8 100644 --- a/src/package.json +++ b/src/package.json @@ -24,11 +24,11 @@ "test.ios": "cd ../demo && tns test ios --emulator", "test.ios.device": "cd ../demo && tns test ios", "test.android": "cd ../demo && tns test android", - "prepare": "npm run build && cd ../demo && tns plugin remove @finanzritter/nativescript-pdf-view && tns plugin add ../src && tns install && cd ../demo-vue && tns plugin remove @finanzritter/nativescript-pdf-view && tns plugin add ../src && tns install && cd ../src", + "prepare": "npm run build", + "prepare.demos": "npm run build && cd ../demo && tns plugin remove @finanzritter/nativescript-pdf-view && tns plugin add ../src && tns install && cd ../demo-vue && tns plugin remove @finanzritter/nativescript-pdf-view && tns plugin add ../src && tns install && cd ../src", "prepare.demo": "npm run build && cd ../demo && tns plugin remove @finanzritter/nativescript-pdf-view && tns plugin add ../src && tns install", "prepare.demo-vue": "npm run build && cd ../demo-vue && tns plugin remove @finanzritter/nativescript-pdf-view && tns plugin add ../src && tns install", - "setup": "npm ci && ts-patch install && npm run build", - "setup.demos": "npm run setup.demo && npm run setup.demo-vue && npm run prepare", + "setup": "npm ci && ts-patch install && npm run setup.demo && npm run setup.demo-vue && npm run prepare", "setup.demo": "cd ../demo && npm ci && cd ../src", "setup.demo-vue": "cd ../demo-vue && npm ci && cd ../src" },