UNPKG

3.34 kBJSONView Raw
1{
2 "name": "ruo",
3 "version": "1.5.9",
4 "description": "RESTful api framework for Nodejs",
5 "main": "dist/index.js",
6 "repository": {
7 "type": "git",
8 "url": "https://github.com/upyun/ruo/tree/master/packages/ruo"
9 },
10 "files": [
11 "dist",
12 "resources"
13 ],
14 "keywords": [
15 "ruo"
16 ],
17 "author": "zhongchiyu@gmail.com",
18 "license": "MIT",
19 "dependencies": {
20 "co": "^4.6.0",
21 "connect-redis": "^3.2.0",
22 "cors": "^2.7.1",
23 "debug": "^2.2.0",
24 "express": "^4.14.0",
25 "express-session": "^1.15.0",
26 "glob": "^7.0.5",
27 "ioredis": "^2.5.0",
28 "js-yaml": "^3.6.1",
29 "json-refs": "^2.1.6",
30 "lodash": "^4.15.0",
31 "mcfg": "^0.1.0",
32 "mock-req": "^0.2.0",
33 "moder": "^1.3.2",
34 "path-to-regexp": "^1.6.0",
35 "rc": "^1.1.6",
36 "router": "^1.1.4",
37 "ruo-ui": "^1.4.12",
38 "sequelize": "^3.30.2",
39 "serve-static": "^1.11.1",
40 "shimmer": "^1.1.0",
41 "socket.io": "^1.7.2",
42 "socket.io-client": "^1.7.2",
43 "socket.io-express-session": "^0.1.3",
44 "socket.io-redis": "^3.1.0",
45 "statuses": "^1.3.0",
46 "superagent": "^3.1.0",
47 "superagent-defaults": "^0.1.14",
48 "supertest": "^2.0.1",
49 "uppercamelcase": "^1.1.0",
50 "waterline": "^0.11.6",
51 "winston": "^2.2.0",
52 "winston-common-sentry": "^0.1.1",
53 "winston-daily-rotate-file": "^1.2.0",
54 "winston-logstash": "^0.2.11",
55 "z-schema": "^3.17.0"
56 },
57 "devDependencies": {
58 "babel-cli": "^6.10.1",
59 "babel-eslint": "^6.0.4",
60 "babel-plugin-istanbul": "^1.0.3",
61 "babel-plugin-transform-async-to-generator": "^6.8.0",
62 "babel-plugin-transform-es2015-classes": "^6.9.0",
63 "babel-plugin-transform-es2015-destructuring": "^6.8.0",
64 "babel-plugin-transform-es2015-parameters": "^6.9.0",
65 "babel-plugin-transform-es2015-spread": "^6.8.0",
66 "babel-plugin-transform-strict-mode": "^6.8.0",
67 "babel-register": "^6.9.0",
68 "basic-auth": "^1.0.4",
69 "body-parser": "^1.15.2",
70 "chai": "^3.5.0",
71 "chai-as-promised": "^5.3.0",
72 "eslint-plugin-babel": "^3.2.0",
73 "mocha": "^3.0.2",
74 "mock-fs": "^3.12.1",
75 "nyc": "^7.0.0",
76 "sinon": "^1.17.6",
77 "sinon-chai": "^2.8.0",
78 "standard": "^8.4.0"
79 },
80 "scripts": {
81 "postinstall": "node ./resources/postinstall.js",
82 "prebuild": "rm -rf dist",
83 "build": "babel src -d dist --copy-files",
84 "prewatch": "rm -rf dist",
85 "watch": "babel src -d dist --copy-files -w",
86 "lint": "standard",
87 "test": "NODE_ENV=test babel-node ./node_modules/.bin/_mocha --reporter spec $npm_package_options_mocha 'src/**/*.test.js' 'resources/test/**/*.test.js'",
88 "cover": "NODE_ENV=test nyc --reporter html --reporter text ./node_modules/.bin/mocha $npm_package_options_mocha 'src/**/*.test.js' 'resources/test/**/*.test.js'",
89 "prepublish": "npm run build"
90 },
91 "options": {
92 "mocha": "resources/mocha-bootload --colors --full-trace --timeout 10000"
93 },
94 "nyc": {
95 "include": [
96 "src/**/*.js"
97 ],
98 "exclude": [
99 "src/**/*.test.js"
100 ],
101 "require": [
102 "babel-register"
103 ],
104 "sourceMap": false,
105 "instrument": false
106 },
107 "standard": {
108 "parser": "babel-eslint",
109 "ignore": [
110 "resources/ruo-ui",
111 "dist",
112 "coverage"
113 ],
114 "envs": [
115 "mocha"
116 ],
117 "globals": [
118 "api",
119 "socket"
120 ]
121 }
122}