-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 2.96 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 2.96 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "restify",
"author": "vineethawal",
"license": "MIT",
"version": "0.1.0",
"description": "Restify MongoDB resources",
"main": "index.js",
"engines": {
"node": ">=4.6.2",
"npm": "^3.0.0"
},
"scripts": {
"coverage-report": "better-npm-run coverage-report",
"lint": "eslint . ./",
"lint:fix": "npm run lint -- --fix",
"dev": "better-npm-run dev",
"test": "better-npm-run test",
"test:local": "better-npm-run test-local",
"prod:start": "better-npm-run prod-start",
"prod:stop": "better-npm-run prod-stop"
},
"precommit": {
"tasks": [
"npm run lint"
],
"onDirtyState": "ask",
"coloredOutput": true
},
"betterScripts": {
"dev": {
"command": "nodemon app",
"env": {
"NODE_ENV": "development",
"DEBUG": "app:*"
}
},
"prod-start": {
"command": "./node_modules/pm2/bin/pm2 start app.js --name='restify' -i 2",
"env": {
"NODE_ENV": "production",
"DEBUG": "app:*"
}
},
"prod-stop": {
"command": "./node_modules/pm2/bin/pm2 stop restify"
},
"coverage-report": {
"command": "nyc report --reporter=text"
},
"test-local": {
"command": "npm run test",
"env": {
"NODE_ENV": "test",
"VERSION": "v0",
"PORT": 9876,
"RESOURCES": "Test1, Test2,Test3",
"MONGO_SERVER": "localhost",
"MONGO_PORT": "27017",
"MONGO_DB": "restify_tests",
"DEBUG": "none"
}
},
"test": {
"command": "nyc node_modules/mocha/bin/_mocha tests/**/*.test.rest.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/vineethawal/restify.git"
},
"dependencies": {
"babel-core": "^6.9.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es2015-parameters": "^6.9.0",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-polyfill": "^6.13.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.3.13",
"babel-register": "^6.9.0",
"babel-runtime": "^6.9.0",
"better-npm-run": "0.0.8",
"body-parser": "^1.15.1",
"connect-busboy": "0.0.2",
"debug": "^2.2.0",
"dotenv": "^2.0.0",
"express": "^4.13.4",
"helmet": "^2.1.0",
"mongoose": "^4.9.0",
"morgan": "^1.6.1",
"pm2": "^2.2.1",
"raven": "^1.1.0"
},
"devDependencies": {
"babel-eslint": "^6.0.4",
"chai": "^3.4.1",
"chai-as-promised": "^5.1.0",
"eslint": "^3.12.2",
"eslint-config-standard": "^5.3.1",
"eslint-loader": "^1.1.1",
"eslint-plugin-babel": "^3.0.0",
"eslint-plugin-promise": "^1.1.0",
"eslint-plugin-standard": "^1.3.1",
"mocha": "^2.2.5",
"nock": "^8.0.0",
"nodemon": "^1.9.2",
"nyc": "^10.0.0",
"precommit": "^1.2.0",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0",
"supertest": "^1.2.0"
},
"homepage": "https://github.com/vineethawal/restify#readme",
"directories": {
"test": "tests"
}
}