-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathworkspace-scripts.js
More file actions
66 lines (66 loc) · 1.93 KB
/
workspace-scripts.js
File metadata and controls
66 lines (66 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
module.exports = {
message: 'NativeScript Plugins ~ made with ❤️ Choose a command to start...',
pageSize: 32,
scripts: {
default: 'nps-i',
nx: {
script: 'nx',
description: 'Execute any command with the @nrwl/cli',
},
format: {
script: 'nx format:write',
description: 'Format source code of the entire workspace (auto-run on precommit hook)',
},
'🔧': {
script: `npx cowsay "NativeScript plugin demos make developers 😊"`,
description: '_____________ Apps to demo plugins with _____________',
},
// demos
apps: {
'...Vanilla...': {
script: `npx cowsay "Nothing wrong with vanilla 🍦"`,
description: ` 🔻 Vanilla`,
},
demo: {
clean: {
script: 'nx clean demo',
description: '⚆ Clean 🧹',
},
ios: {
script: 'nx debug demo ios',
description: '⚆ Run iOS ',
},
android: {
script: 'nx debug demo android',
description: '⚆ Run Android 🤖',
},
},
},
'⚙️': {
script: `npx cowsay "@nativescript/* packages will keep your ⚙️ cranking"`,
description: '_____________ @nativescript/* _____________',
},
// packages
// build output is always in dist/packages
'@nativescript': {
'build-all': {
script: 'nx run-many --target=build.all --all',
description: 'Build all packages',
},
},
'⚡': {
script: `npx cowsay "Focus only on source you care about for efficiency ⚡"`,
description: '_____________ Focus (VS Code supported) _____________',
},
focus: {
reset: {
script: 'nx g @nativescript/plugin-tools:focus-packages',
description: 'Reset Focus',
},
},
'.....................': {
script: `npx cowsay "That's all for now folks ~"`,
description: '.....................',
},
},
};