Skip to content

Commit c8cbcdd

Browse files
committed
remove coverage info from production build
1 parent 23c3d0f commit c8cbcdd

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

Diff for: .babelrc

+9-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
"plugins": [
44
"@babel/plugin-syntax-class-properties",
55
"@babel/plugin-syntax-jsx",
6-
"react-html-attrs",
7-
"istanbul"
8-
]
6+
"react-html-attrs"
7+
],
8+
"env": {
9+
"test": {
10+
"plugins": [
11+
"istanbul"
12+
]
13+
}
14+
}
915
}

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-json-view",
33
"description": "Interactive react component for displaying javascript arrays and JSON objects.",
4-
"version": "1.20.2",
4+
"version": "1.20.3",
55
"main": "dist/main.js",
66
"dependencies": {
77
"flux": "^4.0.1",

0 commit comments

Comments
 (0)