UNPKG

koa-static-spa

Version:

serve single page app with koa, with support for history-api

54 lines (53 loc) 1.33 kB
{ "name": "koa-static-spa", "version": "1.0.0", "description": "serve single page app with koa, with support for history-api", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/pedroposada/koa-static-spa.git" }, "scripts": { "test": "better-npm-run test" }, "betterScripts": { "test": { "command": "babel-node ./node_modules/.bin/_mocha --require should --bail ./test.js --watch", "env": { "DEBUG": "app:*", "NODE_ENV": "test" } } }, "keywords": [ "koa", "single-page-app", "history-api", "static-files" ], "author": "Pedro Posada", "license": "ISC", "dependencies": { "connect-history-api-fallback": "^1.1.0", "koa": "^1.2.1", "koa-add-trailing-slashes": "^1.1.0", "koa-mount": "^1.3.0", "koa-static": "^2.0.0" }, "devDependencies": { "better-npm-run": "0.0.8", "babel-cli": "^6.10.1", "babel-loader": "^6.2.4", "babel-plugin-transform-runtime": "^6.6.0", "babel-polyfill": "^6.7.2", "babel-preset-es2015": "^6.6.0", "babel-preset-stage-0": "^6.5.0", "babel-register": "^6.7.2", "babel-runtime": "^6.6.1", "co-mocha": "^1.1.2", "chai": "^3.5.0", "co-supertest": "0.0.10", "mocha": "^2.4.5", "should": "^3.2.0-beta1" } }