move clients/counter-js to clients/js/counter and various other cleanups (#1434)

This commit is contained in:
Aaron Boodman
2016-05-05 18:01:14 -07:00
parent 59fc85d8c3
commit e6bbc8de19
10 changed files with 20 additions and 19 deletions
-1
View File
@@ -1 +0,0 @@
../../js/.flowconfig
-16
View File
@@ -1,16 +0,0 @@
# counter-js
counter-js uses noms to read and write a simple incrementing counter
## Getting Started
```
cd ../server
go build
./server -ldb=/tmp/counter-js &
cd ../../clients/counter-js
npm install
npm run build
node dist/main.js http://localhost:8000/:counter-js
```
-1
View File
@@ -1 +0,0 @@
../../../js/.babelrc
+1
View File
@@ -0,0 +1 @@
../../../js/.flowconfig
+16
View File
@@ -0,0 +1,16 @@
# js/counter
counter uses noms/js to read and write a simple incrementing counter.
## Getting Started
```
cd ../server
go build
./server ldb:/tmp/noms &
cd ../../clients/js/counter
npm install
npm run build
node . http://localhost:8000:counter
```
@@ -1,5 +1,6 @@
{
"name": "@attic/counter-js",
"name": "@attic/counter",
"main": "dist/main.js",
"version": "1.0.1",
"description": "noms example javascript client with a counter",
"dependencies": {
+1
View File
@@ -0,0 +1 @@
../../../../js/.babelrc