Skip to content

Commit 354dd3a

Browse files
authored
Merge pull request mac-s-g#318 from mac-s-g/published-coverage
remove coverage info from production build
2 parents 23c3d0f + c8cbcdd commit 354dd3a

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.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
}

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)