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