Skip to content

Commit 01c988f

Browse files
committed
Use adapter-memory to make autodeployment work
1 parent 4e8172d commit 01c988f

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

Dockerfile

Lines changed: 0 additions & 13 deletions
This file was deleted.

now.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
{
22
"name": "micro-analytics",
3-
"type": "docker"
3+
"type": "npm",
4+
"engines": {
5+
"node": "7.4.0"
6+
},
7+
"files": [
8+
"src",
9+
"package.json"
10+
]
411
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
},
1818
"scripts": {
1919
"start": "./cli.js",
20+
"now-build": "npm install micro-analytics-adapter-memory",
21+
"now-start": "node src/index.js --adapter memory",
2022
"build": "./node_modules/.bin/async-to-gen src --out-dir dist",
2123
"prepublish": "npm run build",
2224
"dev": "NODE_ENV=development nodemon --config package.json --exec async-node src/index.js",

0 commit comments

Comments
 (0)