Skip to content

Commit

Permalink
fix package
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilveeraghanta committed Mar 28, 2022
1 parent 918a4fc commit f91d55f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

Both these changes are tracked in this commit: [e3b983f88810d9ac5624d4c8eff1b04d0cc4f62e](https://github.com/UBC-Thunderbots/mobile-gamepad/commit/e3b983f88810d9ac5624d4c8eff1b04d0cc4f62e)

We also changed the server.js to index.js so that we can use `nar create --executable`
We also changed the server.js to index.js so that we can create a package

Instructions on how to create a new binary:
Instructions on how to create a new package:

~~~
npm install
# make your changes
nar create --executable
sudo npm install -g bundle-deps
bundle-deps
npm pack
~~~

Mobile Universal Gamepad for RetroPie (http://mobilegamepad.net/)
Expand Down
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"node": ">=12.0.0"
},
"dependencies": {
"bundle-deps": "^1.0.0",
"ejs": "^3.1.6",
"express": "^4.17.1",
"ioctl": "git+https://github.com/mk-pmb/node-ioctl.git",
Expand All @@ -23,5 +24,15 @@
"grunt-express-server": "^0.5.4",
"grunt-nar": "^0.4.0",
"grunt-open": "^0.2.4"
}
}
},
"bundledDependencies": [
"bundle-deps",
"ejs",
"express",
"ioctl",
"nipplejs",
"socket.io",
"struct",
"uinput"
]
}

0 comments on commit f91d55f

Please sign in to comment.