forked from tohagan/stlive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.config
139 lines (107 loc) · 3.8 KB
/
defaults.config
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
{
// Schema version to support upgrades
"_schema": "1.0",
// ** `stlive create` OPTIONS **
// NOTE: These options are COPIED into NEW Projects created by stlive
// They won't affect existing projects.
"touchSdk": "~/bin/Sencha/touch-2.3.2",
"senchaCmd": "sencha-4.0.4.84",
// Copied into config.xml file and used in commands
"appDomain": "com.mydomain",
"appName": "MyApp",
"author": {
"name": "Your Name",
"web": "http://YourWebSite.com",
"email": "support@YourWebSite.com"
},
// 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",
// ** 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:
// "org.apache.cordova.console",
// Barcodes
// Alternatives: http://plugins.cordova.io////search?search=barcode
// com.phonegap.plugins.barcodescanner
"http://github.com/phonegap-build/BarcodeScanner.git",
// 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,
// Live edit your SASS files (*.scss)
"sass": {
"enabled": false,
"cmd": "compass watch -c config.rb app.scss",
"dir": "resources/sass"
},
// Server session secret - Replace with a random string.
"sessionSecret": "**REPLACE**",
// Files that trigger auto reload.
"watch": {
"sencha": [
"app.js",
"app.json",
"bootstrap.js",
"bootstrap.json",
"app/**/*.js",
"resources/css/**",
"resources/images/**",
"resources/icons/**",
"resources/startup/**"
],
"cordova": [
"www/**"
]
}
}