module.exports = { message: 'NativeScript ~ made with โค๏ธ Choose a command to start...', pageSize: 32, scripts: { default: 'nps-i', nx: { script: 'nx', description: 'Execute any command with the Nx cli' }, format: { script: 'nx format:write', description: 'Format source code of the entire workspace (auto-run on precommit hook)' }, "๐Ÿ”ง": { script: `npx cowsay "NativeScript apps are key to a user's โค๏ธ"`, description: '_____________ Apps to develop and experiment with _____________' }, // app testing targets apps: { "...Automated...": { script: `npx cowsay "These run fast, watch the fireworks! ๐ŸŽ†"`, description: ` ๐Ÿ”ป Automated test runner which executes e2e tests on the target platform ๐ŸŽ†` }, // Automated test runner which executes e2e tests on the target platform automated: { clean: { script: 'nx clean apps-automated', description: 'โš† Clean ๐Ÿงน' }, ios: { script: 'nx debug apps-automated ios', description: 'โš† Run iOS ๏ฃฟ' }, visionos: { script: 'nx debug apps-automated vision', description: 'โš† Run visionOS ๐Ÿฅฝ' }, android: { script: 'nx debug apps-automated android', description: 'โš† Run Android ๐Ÿค–' }, }, "...ToolBox...": { script: `npx cowsay "๐ŸŽฏ The best development target to experiment with ideas and debug core"`, description: ` ๐Ÿ”ป Toolbox for livesyncing changes and experimenting ๐ŸŽฏ` }, // Toolbox useful for livesyncing changes and experimenting toolbox: { clean: { script: 'nx clean apps-toolbox', description: 'โš† Clean ๐Ÿงน' }, ios: { script: 'nx debug apps-toolbox ios', description: 'โš† Run iOS ๏ฃฟ' }, visionos: { script: 'nx debug apps-toolbox vision', description: 'โš† Run visionOS ๐Ÿฅฝ' }, android: { script: 'nx debug apps-toolbox android', description: 'โš† Run Android ๐Ÿค–' }, }, "...UI...": { script: `npx cowsay "Tons of ui samples to prove out core behavior and validate github issue fixes โ˜‘๏ธ"`, description: ` ๐Ÿ”ป Tons of ui samples to prove out core behavior and validate github issue fixes โ˜‘๏ธ` }, // Various UI level setups for @nativescript/core testing ui: { clean: { script: 'nx clean apps-ui', description: 'โš† Clean ๐Ÿงน' }, ios: { script: 'nx debug apps-ui ios', description: 'โš† Run iOS ๏ฃฟ' }, visionos: { script: 'nx debug apps-ui vision', description: 'โš† Run visionOS ๐Ÿฅฝ' }, android: { script: 'nx debug apps-ui android', description: 'โš† Run Android ๐Ÿค–' }, }, }, "โš™๏ธ": { script: `npx cowsay "@nativescript/* packages will keep your โš™๏ธ cranking"`, description: '_____________ @nativescript/* _____________' }, // packages // build output is always in dist/packages '@nativescript': { // @nativescript/core core: { build: { script: 'nx build core', description: '@nativescript/core: Build' }, test: { script: 'nx test core', description: '@nativescript/core: Unit tests' }, }, // @nativescript/core API Reference Docs 'core-api-docs': { build: { script: 'nx build core-api-docs', description: '@nativescript/core: API Reference Docs Build' } }, // @nativescript/ui-mobile-base 'ui-mobile-base': { build: { script: 'nx build ui-mobile-base', description: '@nativescript/ui-mobile-base: Build for npm' }, }, // @nativescript/webpack (5) webpack5: { build: { script: 'nx build webpack5', description: '@nativescript/webpack(5): Build for npm' }, test: { script: 'nx test webpack5', description: '@nativescript/webpack(5): Unit tests' }, }, }, "โšก": { script: `npx cowsay "Focus only on source you care about for efficiency โšก"`, description: '_____________ Focus (VS Code supported) _____________' }, focus: { core: { script: 'nx g @nstudio/focus:mode core', description: 'Focus on @nativescript/core' }, types: { script: 'nx g @nstudio/focus:mode types-android,types-ios', description: 'Focus on @nativescript/types' }, 'ui-mobile-base': { script: 'nx g @nstudio/focus:mode ui-mobile-base', description: 'Focus on @nativescript/ui-mobile-base' }, webpack: { script: 'nx g @nstudio/focus:mode webpack', description: 'Focus on @nativescript/webpack' }, reset: { script: 'nx g @nstudio/focus:mode', description: 'Reset Focus' } }, ".....................": { script: `npx cowsay "That's all for now folks ~"`, description: '.....................' } }, };