-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.3 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
{
"name": "react-splitz",
"version": "2.0.4",
"description": "A/B & Multivariate Testing library for React projects",
"license": "MIT",
"keywords": [
"react",
"reactjs",
"ab",
"testing",
"experiments",
"multivariate"
],
"main": "index.js",
"files": [
"TestContainer",
"withTest",
"cjs",
"umd"
],
"scripts": {
"build-modules": "npm install",
"test": "TEST=true jest",
"coverage": "rimraf ./coverage && TEST=true jest --coverage && open coverage/lcov-report/index.html",
"coverage-only": "TEST=true rimraf ./coverage && TEST=true jest --coverage",
"build": "rollup -c",
"inspect-bundle": "INSPECT_BUNDLE=true npm run build-prod",
"format": "prettier --trailing-comma es5 --single-quote --write 'src/**/*.js'",
"lint": "echo Linting code... && eslint ."
},
"author": "Ike Peters",
"homepage": "https://github.com/ipetez/react-splitz",
"bugs": "https://github.com/ipetez/react-splitz/issues",
"repository": "github:ipetez/react-splitz",
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.2.6",
"babel-loader": "^8.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^5.16.0",
"eslint-plugin-react": "^7.19.0",
"husky": "^1.3.1",
"jest": "^25.2.6",
"lint-staged": "^7.3.0",
"pre-push": "^0.1.1",
"prettier": "1.14.3",
"prop-types": "^15.7.2",
"rimraf": "^2.7.1",
"rollup": "^2.3.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-visualizer": "^3.3.2"
},
"peerDependencies": {
"react": ">= 16.8.0 < 17",
"react-dom": ">= 16.8.0 < 17"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --trailing-comma es5 --single-quote --write",
"git add"
]
},
"pre-push": [
"build-modules",
"lint",
"coverage-only"
],
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"seed-random": "^2.2.0"
}
}