forked from Unleash/unleash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.56 KB
/
package.json
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "unleash-server",
"description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
"version": "3.1.3",
"keywords": [
"unleash",
"feature toggle",
"feature",
"toggle"
],
"files": [
"lib",
"docs",
"bin",
"migrations",
"server.js",
"migrator.js"
],
"repository": {
"type": "git",
"url": "ssh://[email protected]:unleash/unleash.git"
},
"bugs": {
"url": "https://github.com/unleash/unleash/issues"
},
"engines": {
"node": ">=8"
},
"license": "Apache-2.0",
"main": "./lib/server-impl.js",
"bin": {
"unleash": "./bin/unleash.js"
},
"scripts": {
"start": "node server.js",
"start:google": "node examples/google-auth-unleash.js",
"start:dev": "NODE_ENV=development supervisor --ignore ./node_modules/ server.js",
"start:dev:pg": "pg_virtualenv npm run start:dev:pg-chain",
"start:dev:pg-chain": "export DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; db-migrate up && npm run start:dev",
"db-migrate": "db-migrate",
"lint": "eslint .",
"pretest": "npm run lint",
"test": "NODE_ENV=test PORT=4243 ava lib/*.test.js lib/**/*.test.js lib/**/**/*.test.js lib/**/**/**/*.test.js test",
"test:docker": "./scripts/docker-postgres.sh",
"test:watch": "npm run test -- --watch",
"test:pg-virtualenv": "pg_virtualenv npm run test:pg-virtualenv-chai",
"test:pg-virtualenv-chain": "export TEST_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; npm run db-migrate-testdb && npm test",
"test:coverage": "nyc npm run test",
"test:coverage-report": "nyc report --reporter=text-lcov | coveralls"
},
"nyc": {
"all": true,
"include": [
"bin/**/*.js",
"lib/**/*.js"
]
},
"dependencies": {
"async": "^2.1.5",
"commander": "^2.15.1",
"compression": "^1.7.3",
"cookie-parser": "^1.4.3",
"cookie-session": "^2.0.0-beta.3",
"db-migrate": "^0.11.1",
"db-migrate-pg": "^0.4.0",
"deep-diff": "^1.0.0",
"errorhandler": "^1.5.0",
"express": "^4.16.3",
"express-validator": "^5.2.0",
"gravatar": "^1.6.0",
"install": "^0.12.0",
"joi": "^14.0.0",
"knex": "^0.15.2",
"log4js": "^3.0.3",
"moment": "^2.22.1",
"parse-database-url": "^0.3.0",
"passport": "^0.4.0",
"passport-google-auth": "^1.0.2",
"pg": "^7.4.3",
"pkginfo": "^0.4.1",
"prom-client": "^11.0.0",
"prometheus-gc-stats": "^0.6.0",
"response-time": "^2.3.2",
"serve-favicon": "^2.5.0",
"unleash-frontend": "^3.1.3",
"yallist": "^3.0.2",
"yargs": "^12.0.1"
},
"devDependencies": {
"@types/node": "^10.0.8",
"ava": "^0.25.0",
"coveralls": "^3.0.1",
"eslint": "^5.0.0",
"eslint-config-finn": "^3.0.1",
"eslint-config-finn-prettier": "^3.0.2",
"husky": "^1.2.0",
"lint-staged": "^8.0.0",
"lolex": "^3.0.0",
"nyc": "^13.1.0",
"prettier": "^1.15.2",
"proxyquire": "^2.0.1",
"superagent": "^4.0.0",
"supertest": "^3.1.0",
"supervisor": "^0.12.0"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{json,css,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"proseWrap": "never",
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"overrides": [
{
"files": "*.{json,yaml,yml,md}",
"options": {
"tabWidth": 2
}
}
]
}
}