-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ed240d
commit bb0c5c5
Showing
3 changed files
with
16 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ dist/ | |
build/ | ||
node_modules/ | ||
package-lock.json | ||
.lock-waf* | ||
.lock-waf* | ||
pebble-wrapper.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Pebble Typescript | ||
|
||
A somewhat foolproof way to write Pebble apps with PebbleKit JS using TypeScript. | ||
|
||
## Usage | ||
|
||
1. Clone this repository | ||
2. Open `pebble.py`, and edit `PEBBLE_TOOL_LOCATION` to point to your Pebble Tool location. This can be a wrapper script, or point directly to the `pebble` executable. | ||
3. Run `npm install` | ||
4. Write your TypeScript code in `src/pkts/` | ||
5. Run `npm run build` | ||
6. Your compiled Pebble app will be in `build/pebble-ts.pbw` | ||
|
||
To clean, simply run `npm run clean`. This will delete the webpack caches and run `pebble clean` as to not leave any pebble build artifacts behind. |
This file was deleted.
Oops, something went wrong.