tt-minigame-ide-cli 0.0.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "tt-minigame-ide-cli",
3
+ "version": "0.0.1-beta.0",
4
+ "description": "Command line interface for micro app development",
5
+ "main": "lib/index.js",
6
+ "bin": {
7
+ "tmg": "bin/tmg.js"
8
+ },
9
+ "scripts": {},
10
+ "author": "liubowen.howard@bytedance.com",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "@tt-miniprogram/ext-pack": "1.0.20",
14
+ "address": "^1.1.2",
15
+ "archiver": "^3.1.1",
16
+ "axios": "^0.19.2",
17
+ "chalk": "^3.0.0",
18
+ "clipboardy": "^2.2.0",
19
+ "commander": "^4.1.1",
20
+ "execa": "^4.0.0",
21
+ "folder-hash": "^3.3.0",
22
+ "form-data": "^3.0.0",
23
+ "fs-extra": "^8.1.0",
24
+ "glob": "^7.2.0",
25
+ "inquirer": "^7.0.4",
26
+ "minimist": "^1.2.0",
27
+ "qrcode-terminal": "^0.12.0",
28
+ "semver": "^7.3.5",
29
+ "tunnel": "^0.0.6",
30
+ "unzipper": "^0.10.11"
31
+ },
32
+ "engines": {
33
+ "node": ">=8.9"
34
+ }
35
+ }
@@ -0,0 +1,5 @@
1
+ App({
2
+ onLaunch: function () {
3
+
4
+ }
5
+ })
@@ -0,0 +1,11 @@
1
+ {
2
+ "pages":[
3
+ "pages/index/index"
4
+ ],
5
+ "window":{
6
+ "backgroundTextStyle":"light",
7
+ "navigationBarBackgroundColor": "#fff",
8
+ "navigationBarTitleText": "Mini Program",
9
+ "navigationBarTextStyle":"black"
10
+ }
11
+ }
File without changes
@@ -0,0 +1,10 @@
1
+ const app = getApp()
2
+
3
+ Page({
4
+ data: {
5
+
6
+ },
7
+ onLoad: function () {
8
+ console.log('Welcome to Mini Program')
9
+ },
10
+ })
@@ -0,0 +1 @@
1
+ <view class="intro">Welcome to Mini Program</view>
@@ -0,0 +1,4 @@
1
+ .intro {
2
+ margin: 30px;
3
+ text-align: center;
4
+ }