File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module.exports = {
2
2
verbose : false ,
3
3
testURL : 'http://localhost' ,
4
4
collectCoverage : true ,
5
- collectCoverageFrom : [ 'src/** ' ] ,
5
+ collectCoverageFrom : [ 'src/utils.ts ' ] ,
6
6
transform : {
7
7
'^.+\\.[j|t]sx?$' : 'babel-jest' ,
8
8
} ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tua-body-scroll-lock" ,
3
- "version" : " 0.3.0 " ,
3
+ "version" : " 0.3.1 " ,
4
4
"description" : " 🔐Body scroll locking that just works with everything" ,
5
5
"main" : " dist/tua-bsl.umd.js" ,
6
6
"module" : " dist/tua-bsl.esm.js" ,
15
15
"start" : " rollup -c -w" ,
16
16
"test" : " npm run type-check && cross-env NODE_ENV=test jest" ,
17
17
"test:tdd" : " cross-env NODE_ENV=test jest --watch" ,
18
- "build" : " npm run lint && rollup -c && cp index.html dist/index.html" ,
18
+ "prebuild" : " rimraf dist/* & npm test" ,
19
+ "build" : " npm run lint && cross-env NODE_ENV=production rollup -c && cp index.html dist/index.html" ,
19
20
"next" : " npm --no-git-tag-version version prerelease" ,
20
21
"next:m" : " npm --no-git-tag-version version preminor" ,
21
22
"pub" : " npm run build && npm publish" ,
You can’t perform that action at this time.
0 commit comments