Skip to content

Commit 493125c

Browse files
Add ability to serve files locally
1 parent e1aef10 commit 493125c

File tree

2 files changed

+239
-11
lines changed

2 files changed

+239
-11
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"scripts": {
1717
"greet": "echo 'hi'",
1818
"start": "node index.js",
19-
"test": "eslint lib/**/*.js index.js test/**.js && mocha -r esm test"
19+
"test": "eslint lib/**/*.js index.js test/**.js && mocha -r esm test",
20+
"server": "serve -l 5050 tmp"
2021
},
2122
"dependencies": {
2223
"cheerio": "^1.0.0-rc.2",
@@ -42,6 +43,7 @@
4243
"s3": "^4.4.0",
4344
"semver-extra": "^2.0.1",
4445
"semver-utils": "^1.1.2",
46+
"serve": "^11.0.1",
4547
"yuidoc-to-jsonapi": "^0.4.1"
4648
},
4749
"devDependencies": {
@@ -60,7 +62,5 @@
6062
"engines": {
6163
"node": "8"
6264
},
63-
"cacheDirectories": [
64-
"tmp"
65-
]
65+
"cacheDirectories": ["tmp"]
6666
}

0 commit comments

Comments
 (0)