Fix readme instructions
This commit is contained in:
@@ -12,6 +12,7 @@ Agent is in a preliminary state. You can click around, and most interactions wil
|
||||
git clone git@github.com:UltimateHackingKeyboard/agent.git
|
||||
cd agent
|
||||
npm install
|
||||
npm run build
|
||||
```
|
||||
|
||||
In the repository you can find a `gulpfile.js` for running [browsersync](https://www.browsersync.io/), which speeds up the development process. You can fire it up with `gulp serve`.
|
||||
|
||||
@@ -6,7 +6,7 @@ The configuration of the UHK is unusually complex for a keyboard, and is compose
|
||||
|
||||
## Setup
|
||||
|
||||
Given that the development dependencies are installed on your system you should be able to build the configuration serializer by executing `tsc` in this directory, then test it with `node test-serializer.js`.
|
||||
Given that the development dependencies are installed on your system you should be able to build the configuration serializer tester by executing `npm run build:test` in this directory, then start the test with running `node test-serializer.js`.
|
||||
|
||||
## Configuration representations
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
main: './test-serializer.ts'
|
||||
main: __dirname + '/test-serializer.ts'
|
||||
},
|
||||
target: 'node',
|
||||
output: {
|
||||
|
||||
@@ -46,6 +46,8 @@
|
||||
"postinstall": "typings install",
|
||||
"lint": "tslint 'src/**/*.ts' 'config-serializer/**/*.ts'",
|
||||
"typings": "typings",
|
||||
"build": "webpack",
|
||||
"build:test": "webpack --config 'config-serializer/webpack.config.js'",
|
||||
"webpack": "webpack",
|
||||
"webpack-dev-server": "webpack-dev-server"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user