-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.57 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "crun",
"version": "0.3.5",
"description": "An API for remotely running commands.",
"main": "index.js",
"scripts": {
"clean": "rm -rf dist/",
"build": "npm run clean && babel --out-dir dist/ src/",
"start": "npm run build && env $(cat .env) node index.js",
"flushdb": "mongo crun --eval \"db.dropDatabase()\"",
"eslint": "eslint src/",
"mocha": "env $(cat .env) mocha --require co-mocha --require ./index --require babel-polyfill --bail dist/test",
"test": "npm run eslint && npm run flushdb && npm run build && npm run mocha",
"nsp": "nsp check --output summary",
"docs": "bootprint swagger docs/api.yml dist/docs"
},
"license": "ISC",
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-core": "^6.18.2",
"babel-plugin-transform-builtin-extend": "^1.1.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"bootprint": "^1.0.0",
"bootprint-swagger": "^1.0.1",
"browserify": "^13.1.1",
"chai": "^3.5.0",
"co-mocha": "^1.1.3",
"eslint": "^3.14.0",
"eslint-config-google": "^0.7.1",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-concat": "^2.6.1",
"gulp-htmlmin": "^3.0.0",
"gulp-rename": "^1.2.2",
"gulp-uglify": "^2.0.0",
"jwt-simple": "^0.5.1",
"mocha": "^3.2.0",
"nsp": "^2.6.2",
"nsp-formatter-checkstyle": "^1.0.1",
"supertest": "^2.0.0",
"vinyl-source-stream": "^1.1.0"
},
"dependencies": {
"async": "^2.1.4",
"babel-polyfill": "^6.20.0",
"bcryptjs": "^2.3.0",
"bluebird": "^3.4.3",
"bootstrap": "^3.3.7",
"co": "^4.6.0",
"debug": "^2.2.0",
"font-awesome": "^4.7.0",
"generic-pool": "^2.4.2",
"koa": "^1.2.1",
"koa-bodyparser": "^2.2.0",
"koa-compose": "^2.4.0",
"koa-cors": "0.0.16",
"koa-json": "^1.1.3",
"koa-router": "^5.4.0",
"lodash": "^4.17.4",
"moment": "^2.17.1",
"mongoose": "^4.5.10",
"rand-token": "^0.2.1",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"redux": "^3.6.0",
"uuid": "^3.0.1"
},
"eslintConfig": {
"extends": "google",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"node": true,
"mocha": true,
"es6": true
},
"rules": {
"valid-jsdoc": "off",
"new-cap": "off",
"max-nested-callbacks": [
"error",
10
],
"comma-dangle": [
"error",
"never"
],
"arrow-parens": [
"error",
"as-needed"
],
"no-invalid-this": "off",
"require-jsdoc": "off"
}
}
}