Skip to content

Commit d7d7e8d

Browse files
committed
coverage & version
1 parent 5823488 commit d7d7e8d

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

package.json

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mertasan/tailwindcss-variables",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"description": "Easily create css variables without the need for a css file!",
55
"main": "src/index.js",
66
"license": "GPL-3.0-or-later",
@@ -15,6 +15,7 @@
1515
},
1616
"scripts": {
1717
"test": "jest",
18+
"test:coverage": "jest --coverage",
1819
"build": "env NODE_ENV=production node scripts/build.js",
1920
"build:clean": "env NODE_ENV=production CLEAN=true node scripts/build.js",
2021
"style": "eslint .",
@@ -80,19 +81,21 @@
8081
"<rootDir>/__tests__/**/*.test.js"
8182
],
8283
"collectCoverageFrom": [
83-
"<rootDir>/__tests__/**/*.js"
84-
],
85-
"coveragePathIgnorePatterns": [
86-
"<rootDir>/__tests__/util/"
84+
"src/**/*.js",
85+
"!**/node_modules/**"
8786
],
8887
"testPathIgnorePatterns": [
8988
"<rootDir>/__tests__/util/"
89+
],
90+
"collectCoverage": true,
91+
"coverageReporters": [
92+
"json",
93+
"html"
9094
]
9195
},
9296
"browserslist": [
9397
"> 1%",
9498
"not edge <= 18",
95-
"not safari <= 13",
9699
"not ie 11",
97100
"not op_mini all"
98101
],

0 commit comments

Comments
 (0)