Fix readme instructions

This commit is contained in:
József Farkas
2016-05-07 23:26:42 +02:00
parent 71f1d16051
commit b48fbdd44d
4 changed files with 5 additions and 2 deletions

View File

@@ -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`.

View File

@@ -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

View File

@@ -2,7 +2,7 @@
module.exports = {
entry: {
main: './test-serializer.ts'
main: __dirname + '/test-serializer.ts'
},
target: 'node',
output: {

View File

@@ -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"
}