-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
111 lines (111 loc) · 2.49 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
{
"name": "abba",
"version": "0.1.0",
"description": "A/B testing framework",
"repository": "https://github.com/7anshuai/abba",
"author": "Tan Shuai <7anshuai@gmail.com>",
"license": "MIT",
"main": "bin/www",
"engines": {
"node": ">=8.16.2",
"npm": ">=6.4.1"
},
"scripts": {
"prestart": "npm run -s build",
"start": "node bin/www",
"dev": "cross-env DEBUG=abba:* nodemon src/app --exec \"node -r dotenv/config -r @babel/register\"",
"clean": "rimraf dist",
"cover": "cross-env MONGODB_URI=mongodb://localhost:27017/abba-test NODE_ENV=test nyc mocha --exit",
"build": "npm run clean && mkdir -p dist && babel src -s -D -d dist",
"pretest": "npm run lint",
"test": "cross-env MONGODB_URI=mongodb://localhost:27017/abba-test NODE_ENV=test mocha --require @babel/register --exit",
"lint": "eslint src test"
},
"keywords": [
"A/B Testing",
"experiment",
"ab-test",
"abba"
],
"dependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.0",
"@babel/preset-env": "^7.8.2",
"basic-auth": "^2.0.0",
"body-parser": "^1.18.2",
"chalk": "^2.4.1",
"debug": "^4.1.1",
"ejs": "^3.0.1",
"express": "^4.16.2",
"express-validator": "^5.2.0",
"http-errors": "^1.6.3",
"lodash.range": "^3.2.0",
"moment": "^2.22.2",
"mongoose": "^5.1.5",
"morgan": "^1.9.0",
"rimraf": "^3.0.0",
"ua-parser-js": "^0.7.18"
},
"devDependencies": {
"@babel/register": "^7.8.3",
"babel-eslint": "^10.0.1",
"babel-plugin-istanbul": "^5.1.4",
"cross-env": "^6.0.0",
"dotenv": "^6.2.0",
"eslint": "^5.16.0",
"eslint-plugin-import": "^2.17.3",
"mocha": "^7.0.1",
"nodemon": "^1.12.1",
"nyc": "^14.1.1",
"supertest": "^4.0.2"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"import"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended"
],
"rules": {}
},
"nyc": {
"require": [
"@babel/register"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": false,
"instrument": false
}
}