forked from pushtell/react-ab-test
-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
92 lines (92 loc) · 2.5 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
{
"name": "@marvelapp/react-ab-test",
"keywords": [
"react",
"react-component",
"testing",
"test",
"A/B",
"ab",
"A/B testing",
"A/B test"
],
"main": "index.js",
"version": "3.1.0",
"description": "A/B testing React components and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for Mixpanel and Segment.com.",
"directories": {
"test": "test"
},
"peerDependencies": {
"react": ">=16.8.0 <18.0.0"
},
"dependencies": {
"fbemitter": "^3.0.0",
"fbjs": "^3.0.0",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/preset-env": "^7.14.4",
"@babel/preset-react": "^7.13.13",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
"babel-eslint": "^10.1.0",
"doctoc": "^2.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.27.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.23.2",
"fbemitter": "^3.0.0",
"fbjs": "^3.0.0",
"husky": ">=6",
"jest": "^27.0.1",
"lint-staged": ">=10",
"node-localstorage": "^2.1.6",
"prettier": "^2.3.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"uuid": "^8.3.2"
},
"scripts": {
"test": "jest",
"build": "doctoc README.md --github --title '<h1>Table of Contents</h1>'; babel src --out-dir lib;",
"format": "prettier --write '**/*.{js,jsx}'",
"format:check": "yarn format --check",
"lint": "eslint --ignore-path .gitignore .",
"lint:fix": "eslint --ignore-path .gitignore --fix .",
"prepare": "husky install"
},
"jest": {
"resetMocks": true,
"restoreMocks": true,
"setupFilesAfterEnv": [
"<rootDir>test/setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testEnvironment": "jsdom",
"testURL": "http://example.com"
},
"prettier": {
"singleQuote": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/marvelapp/react-ab-test.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/marvelapp/react-ab-test/issues"
},
"homepage": "https://github.com/marvelapp/react-ab-test#readme",
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,jsx}": "prettier --write"
}
}