We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dbe95a commit 1b0618fCopy full SHA for 1b0618f
src/app.nativescript/index.ts
@@ -55,6 +55,7 @@ export default function (options: ApplicationOptions) {
55
scripts[`clean`] = `npx rimraf -- hooks node_modules package-lock.json && npm i`;
56
scripts[`start.${platformApp}.ios`] = `cd apps/${options.name} && tns run ios --emulator --bundle${hmr}`;
57
scripts[`start.${platformApp}.android`] = `cd apps/${options.name} && tns run android --emulator --bundle${hmr}`;
58
+ scripts[`start.${platformApp}.preview`] = `cd apps/${options.name} && tns preview --bundle${hmr}`;
59
scripts[`clean.${platformApp}`] = `cd apps/${options.name} && npx rimraf -- hooks node_modules platforms package-lock.json && npm i && npx rimraf -- package-lock.json`;
60
return updatePackageScripts(tree, scripts);
61
},
0 commit comments