This repository has been archived by the owner on Feb 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.stlive.json
175 lines (133 loc) · 5.16 KB
/
.stlive.json
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
// Schema version. Required to detect out of date .stlive.json files.
"_schema": "2.0",
// ALL the properties in this file can be used as 'stlive' command line options
// Example: --run will set options.run = true)
// ** `stlive create` AND `stlive build` OPTIONS **
"sdk": "~/bin/Sencha/touch-2.3.2",
"cmd": "sencha-4.0.4.84",
// Deploy and run the mobile app
"run": false,
// ** `stlive create` only OPTIONS **
// NOTE: These options are COPIED into NEW Projects created by stlive
// They won't affect existing projects.
// Copied into config.xml file and used in commands
"appDomain": "com.mydomain",
"appName": "MyApp",
"author": {
"name": "Your Name",
"web": "http://YourWebSite.com",
"email": "[email protected]"
},
// if false, removes Readme.md files that Sencha Cmd adds to new project folders.
"readme": false,
// Copied into phonegap.local.properties file
"build": {
"remote": "false", // Enable PhoneGap build service for new projects
"username": "Your PhoneGap Build Username",
"password": "Your PhoneGap Build Password"
},
// Adds live update client into a new app
"live": true,
// PhoneGap platforms in new projects
"platforms": [
"android"
//,"ios"
//,"wp8"
],
// PhoneGap plugins in new projects
"plugins": [
// Ref: http://docs.phonegap.com/en/3.4.0/guide_cli_index.md.html
// Additional Plugins: http://plugins.cordova.io////
// ** REQUIRED BY LIVE UPDATE APP **
// Basic device information (Device API):
"org.apache.cordova.device",
// Access files on device or network (File API):
"org.apache.cordova.file",
// Insomnia - Keep app alive
"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git",
// Splashscreen:
"org.apache.cordova.splashscreen",
// Barcode & QR Code scanner / generator
// Alternatives: http://plugins.cordova.io////search?search=barcode
// com.phonegap.plugins.barcodescanner
"http://github.com/phonegap-build/BarcodeScanner.git",
// ** REQUIRED BY YOUR APP **
// Network Connection and Battery Events:
"org.apache.cordova.network-information",
// "org.apache.cordova.battery-status",
// Accelerometer, Compass, and Geolocation:
//"org.apache.cordova.device-motion",
"org.apache.cordova.device-orientation",
// "org.apache.cordova.geolocation",
// Camera, Media playback and Capture:
"org.apache.cordova.camera",
"org.apache.cordova.media-capture",
"org.apache.cordova.media",
// Transfer files to/from network:
"org.apache.cordova.file-transfer",
// Notification via dialog box or vibration:
// "org.apache.cordova.dialogs",
// "org.apache.cordova.vibration",
// Contacts:
// "org.apache.cordova.contacts",
// Globalization:
// "org.apache.cordova.globalization",
// Open new browser windows (InAppBrowser):
// "org.apache.cordova.inappbrowser",
// Debug console for Android versions that ignore additional args to console.log()
// "org.apache.cordova.console",
// SQLite
"https://github.com/brodysoft/Cordova-SQLitePlugin.git"
],
// ** `stlive serve` OPTIONS **
"port": 3000,
// Enabled sever reload
"autoreload": true,
// Connects server to http://<random>.localtunnel.me via an encrypted tunnel.
"localtunnel": false,
// Display Server URL as a QR Code
"qr": false,
// Auto starts SASS compiler with server. Check the path in bgtasks.sass.cmd
"sass": false,
// Background tasks (SASS, Less, CoffeeScript, Typescript whatever ....)
// Enabled using corresponding top level key (e.g. options.sass: true - enables SASS compiler)
"bgtasks": {
"sass": {
"name": "Compass SASS Compiler",
"cmd": "C:/Ruby200-x64/bin/compass.bat watch -c config.rb app.scss",
"dir": "resources/sass",
"success": "Compass is polling" // Output when compiler starts ok
}
},
// Server session secret - Replace with a random string.
"sessionSecret": "**REPLACE**",
// Files that trigger auto reload.
"watch": {
"sencha": [
"index.html",
"app.js",
"app.json",
"bootstrap.js",
"bootstrap.json",
"app/**/*.js",
"app/**/*.json",
"app/**/*.html",
"resources/css/**",
"resources/images/**",
"resources/icons/**",
"resources/startup/**"
],
"cordova": [
"www/**"
]
},
// Array of additional file patterns added to the default watch list by projects.
addWatch: null,
// ** Development options **
"logLevel": 2, // 1=DEBUG, 2=INFO, 3=WARN, 4=ERROR, 5=CRITICAL
// WARNING: stlive create: Kills Android 'adb' and deletes existing project if it exists
"deleteAppDir": false,
// Allows use of --version
"version": false
}