Added instructions to run the example
This commit is contained in:
parent
d0206221dc
commit
1ec4160eeb
@ -1,7 +1,13 @@
|
||||
# Calculator app
|
||||
|
||||
This example showcases how to build a basic mac calculator clone.
|
||||
This example showcases how to build a basic calculator clone.
|
||||
|
||||
The app should look like this:
|
||||
**Screenshot:**
|
||||
|
||||

|
||||
|
||||
To run the demo:
|
||||
|
||||
1. `yarn build`
|
||||
|
||||
2. `yarn qode dist/examples/calculator/index.js`
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 68 KiB |
@ -15,14 +15,13 @@
|
||||
"typescript": "^3.4.5"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build:addon&&npm run build:lib",
|
||||
"build": "npm run rebuild:addon && npm run build:lib",
|
||||
"build:lib": "tsc",
|
||||
"build:addon": "node-gyp -j 8 build",
|
||||
"rebuild:addon": "node-gyp -j 8 rebuild",
|
||||
"clean": "rm -rf ./dist ./build",
|
||||
"automoc": "node ./scripts/automoc.js",
|
||||
"dev": "tsc && qode dist/demo.js",
|
||||
"demo": "tsc && qode dist/examples/calculator/index.js"
|
||||
"dev": "tsc && qode dist/demo.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"bindings": "^1.5.0",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user