File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 " pebble-app"
77 ],
88 "private" : true ,
9- "dependencies" : {},
9+ "dependencies" : {
10+ "pkts" : " ^0.2.0"
11+ },
12+ "scripts" : {
13+ "build" : " pkts build"
14+ },
1015 "pebble" : {
1116 "displayName" : " pebblekit-ts-example" ,
1217 "uuid" : " 31e52c0a-4745-492b-8b86-9e5b6353e2a0" ,
2934 "media" : []
3035 }
3136 }
32- }
37+ }
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " pkts/config/tsconfig.json" ,
3+ "include" : [" src/ts/**/*" , " node_modules/pkts/lib/**/*" ]
4+ }
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ def configure(ctx):
2424
2525
2626def build (ctx ):
27+ ctx .exec_command ('npm run build' )
28+
2729 ctx .load ('pebble_sdk' )
2830
2931 build_worker = os .path .exists ('worker_src' )
@@ -48,7 +50,7 @@ def build(ctx):
4850
4951 ctx .set_group ('bundle' )
5052 ctx .pbl_bundle (binaries = binaries ,
51- js = ctx .path .ant_glob (['src/pkjs /**/*.js' ,
53+ js = ctx .path .ant_glob (['src/ts-build /**/*.js' ,
5254 'src/pkjs/**/*.json' ,
5355 'src/common/**/*.js' ]),
54- js_entry_file = 'src/pkjs /index.js' )
56+ js_entry_file = 'src/ts-build /index.js' )
You can’t perform that action at this time.
0 commit comments