UNPKG

2.81 kBJSONView Raw
1{
2 "name": "sutro",
3 "version": "0.0.9",
4 "description": "API Resource Framework",
5 "main": "dist/index.js",
6 "keywords": [
7 "api",
8 "realtime",
9 "rest",
10 "http",
11 "express",
12 "middleware",
13 "streaming",
14 "eventsource",
15 "sse"
16 ],
17 "repository": {
18 "type": "git",
19 "url": "git+https://github.com/shastajs/sutro.git"
20 },
21 "author": "Contra <yo@contra.io> (http://contra.io)",
22 "license": "MIT",
23 "bugs": {
24 "url": "https://github.com/shastajs/sutro/issues"
25 },
26 "homepage": "https://github.com/shastajs/sutro#readme",
27 "files": [
28 "dist"
29 ],
30 "scripts": {
31 "preversion": "npm run clean && npm run build && npm docs",
32 "build": "babel src --out-dir dist",
33 "clean": "rimraf dist",
34 "lint": "eslint src test",
35 "test": "mocha --compilers js:babel-register --recursive --reporter spec && npm run-script lint",
36 "docs": "npm run docs:pre && npm run docs:build && npm run docs:publish",
37 "docs:pre": "gitbook install && rimraf _book",
38 "docs:build": "gitbook build -g shastajs/sutro",
39 "docs:publish": "cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:shastajs/sutro gh-pages --force"
40 },
41 "devDependencies": {
42 "babel": "^6.5.2",
43 "babel-cli": "^6.18.0",
44 "babel-core": "^6.18.2",
45 "babel-eslint": "^7.1.1",
46 "babel-loader": "^6.2.9",
47 "babel-plugin-add-module-exports": "^0.2.1",
48 "babel-plugin-transform-runtime": "^6.15.0",
49 "babel-preset-es2015": "^6.18.0",
50 "babel-preset-es2015-loose": "^8.0.0",
51 "babel-preset-stage-0": "^6.16.0",
52 "babel-register": "^6.18.0",
53 "babelify": "^7.3.0",
54 "eslint": "^3.11.1",
55 "eslint-config-rackt": "^1.1.1",
56 "gitbook-cli": "^2.3.0",
57 "github-changes": "^1.0.4",
58 "mocha": "^3.2.0",
59 "rimraf": "^2.5.4",
60 "should": "^11.1.1",
61 "supertest": "^3.0.0"
62 },
63 "babel": {
64 "presets": [
65 "es2015",
66 "stage-0"
67 ],
68 "plugins": [
69 "transform-runtime",
70 "add-module-exports"
71 ]
72 },
73 "eslintConfig": {
74 "parser": "babel-eslint",
75 "extends": "rackt",
76 "env": {
77 "node": true,
78 "es6": true,
79 "mocha": true
80 },
81 "ecmaFeatures": {
82 "modules": true
83 },
84 "globals": {
85 "it": true,
86 "describe": true
87 }
88 },
89 "dependencies": {
90 "async": "^2.1.4",
91 "debug": "^2.3.3",
92 "express": "^4.0.0",
93 "handle-async": "^1.0.1",
94 "lodash.foreach": "^4.5.0",
95 "lodash.map": "^4.6.0",
96 "lodash.mapvalues": "^4.6.0",
97 "lodash.omit": "^4.5.0",
98 "lodash.sortby": "^4.7.0",
99 "make-error-cause": "^1.2.2",
100 "once": "^1.4.0",
101 "pluralize": "^3.0.0",
102 "require-dir": "^0.3.1",
103 "through2": "^2.0.3"
104 }
105}