Skip to content

Commit

Permalink
- fixed api-server references
Browse files Browse the repository at this point in the history
- added vscode config
- fixed package.json
  • Loading branch information
emg110 committed May 27, 2021
1 parent 0db2a88 commit 78eb7e8
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
37 changes: 37 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch API Server via NPM",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"api"
],
"port": 9229,
"skipFiles": [
"<node_internals>/**"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch static server via NPM",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"static"
],
"port": 9229,
"skipFiles": [
"<node_internals>/**"
]
}

]
}
2 changes: 1 addition & 1 deletion examples/api-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const path = require("path");
// app.use(express.methodOverride())
// app.use(express.bodyParser())
// app.use(app.router)
// app.use(express.static(path.resolve(__dirname, '..')))
app.use(express.static(path.resolve(__dirname, '../examples')))

app.use(favicon(__dirname + '/favicon.ico'));
app.get("/qrcode.js", (req, res) => {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"name": "algorand-qrcode",
"version": "1.0.7",
"version": "1.0.8",
"description": "Algorand QR Code javascript module",
"repository": {
"type": "git",
"url": "git+https://github.com/emg110/algorand-qrcode.git"
},
"private": false,
"dependencies": {
"@algonaut/algo-validation-agent": "^0.5.0",
"@zxing/browser": "^0.0.9",
"@zxing/library": "^0.18.5",
"dijkstrajs": "^1.0.1",
"encode-utf8": "^1.0.3",
"express-favicon": "^2.0.1",
"pngjs": "^5.0.0",
"yargs": "^17.0.1"
},
"devDependencies": {
"@algonaut/algo-validation-agent": "^0.5.0",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@zxing/browser": "^0.0.9",
"@zxing/library": "^0.18.5",
"browserify": "^16.5.1",
"canvas": "^2.6.1",
"canvasutil": "0.0.4",
Expand Down

0 comments on commit 78eb7e8

Please sign in to comment.