From 1dadbbabe44350b81d098bd1ecb21a7483574ca2 Mon Sep 17 00:00:00 2001 From: Gaurav Lahoti Date: Tue, 24 Apr 2018 23:11:33 +0530 Subject: [PATCH] updated configs --- .gitignore | 3 ++- coverage/coverage.json | 1 - coverage/lcov.info | 14 ++------------ package.json | 3 ++- 4 files changed, 6 insertions(+), 15 deletions(-) delete mode 100644 coverage/coverage.json diff --git a/.gitignore b/.gitignore index c32584a..4a612f8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules dist/ .DS_Store *.log -coverage/lcov-report \ No newline at end of file +coverage/* +!coverage/lcov.info \ No newline at end of file diff --git a/coverage/coverage.json b/coverage/coverage.json deleted file mode 100644 index 7c0a992..0000000 --- a/coverage/coverage.json +++ /dev/null @@ -1 +0,0 @@ -{"/mnt/j/github/redux-persist-transform-compress-encrypt/dist/index.js":{"path":"/mnt/j/github/redux-persist-transform-compress-encrypt/dist/index.js","s":{"1":1,"2":4,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":6,"11":0,"12":6,"13":6,"14":0,"15":6,"16":0,"17":6,"18":1,"19":1,"20":6,"21":5,"22":5,"23":5,"24":2,"25":3,"26":3,"27":3,"28":2,"29":2,"30":2,"31":1,"32":6,"33":5,"34":5,"35":2,"36":2,"37":2,"38":3,"39":3,"40":3,"41":3,"42":0,"43":0,"44":0,"45":1,"46":6},"b":{"1":[1,1,1],"2":[0,4],"3":[4,4],"4":[0,6],"5":[0,6],"6":[6,6],"7":[0,6],"8":[6,6],"9":[2,3],"10":[2,0],"11":[2,3],"12":[2,0],"13":[0,0]},"f":{"1":4,"2":6,"3":6,"4":5,"5":6,"6":5,"7":6},"fnMap":{"1":{"name":"(anonymous_1)","line":2,"loc":{"start":{"line":2,"column":56},"end":{"line":2,"column":71}}},"2":{"name":"createCompressEncryptTransform","line":11,"loc":{"start":{"line":11,"column":0},"end":{"line":11,"column":48}}},"3":{"name":"(anonymous_3)","line":22,"loc":{"start":{"line":22,"column":29},"end":{"line":22,"column":47}}},"4":{"name":"(anonymous_4)","line":22,"loc":{"start":{"line":22,"column":56},"end":{"line":22,"column":73}}},"5":{"name":"(anonymous_5)","line":37,"loc":{"start":{"line":37,"column":30},"end":{"line":37,"column":48}}},"6":{"name":"(anonymous_6)","line":37,"loc":{"start":{"line":37,"column":57},"end":{"line":37,"column":74}}},"7":{"name":"(anonymous_7)","line":55,"loc":{"start":{"line":55,"column":25},"end":{"line":55,"column":40}}}},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":4,"column":2}},"2":{"start":{"line":3,"column":4},"end":{"line":3,"column":62}},"3":{"start":{"line":5,"column":0},"end":{"line":5,"column":62}},"4":{"start":{"line":6,"column":0},"end":{"line":6,"column":54}},"5":{"start":{"line":7,"column":0},"end":{"line":7,"column":64}},"6":{"start":{"line":8,"column":0},"end":{"line":8,"column":76}},"7":{"start":{"line":9,"column":0},"end":{"line":9,"column":56}},"8":{"start":{"line":10,"column":0},"end":{"line":10,"column":47}},"9":{"start":{"line":11,"column":0},"end":{"line":20,"column":1}},"10":{"start":{"line":12,"column":4},"end":{"line":13,"column":69}},"11":{"start":{"line":13,"column":8},"end":{"line":13,"column":69}},"12":{"start":{"line":14,"column":4},"end":{"line":14,"column":63}},"13":{"start":{"line":15,"column":4},"end":{"line":16,"column":78}},"14":{"start":{"line":16,"column":8},"end":{"line":16,"column":78}},"15":{"start":{"line":17,"column":4},"end":{"line":18,"column":76}},"16":{"start":{"line":18,"column":8},"end":{"line":18,"column":76}},"17":{"start":{"line":19,"column":4},"end":{"line":19,"column":116}},"18":{"start":{"line":21,"column":0},"end":{"line":21,"column":49}},"19":{"start":{"line":22,"column":0},"end":{"line":36,"column":5}},"20":{"start":{"line":22,"column":49},"end":{"line":36,"column":2}},"21":{"start":{"line":23,"column":4},"end":{"line":23,"column":63}},"22":{"start":{"line":24,"column":4},"end":{"line":35,"column":5}},"23":{"start":{"line":25,"column":8},"end":{"line":26,"column":84}},"24":{"start":{"line":26,"column":12},"end":{"line":26,"column":84}},"25":{"start":{"line":27,"column":8},"end":{"line":27,"column":68}},"26":{"start":{"line":28,"column":8},"end":{"line":28,"column":85}},"27":{"start":{"line":29,"column":8},"end":{"line":29,"column":76}},"28":{"start":{"line":32,"column":8},"end":{"line":32,"column":92}},"29":{"start":{"line":33,"column":8},"end":{"line":33,"column":48}},"30":{"start":{"line":34,"column":8},"end":{"line":34,"column":21}},"31":{"start":{"line":37,"column":0},"end":{"line":54,"column":5}},"32":{"start":{"line":37,"column":50},"end":{"line":54,"column":2}},"33":{"start":{"line":38,"column":4},"end":{"line":38,"column":63}},"34":{"start":{"line":39,"column":4},"end":{"line":43,"column":5}},"35":{"start":{"line":40,"column":8},"end":{"line":40,"column":88}},"36":{"start":{"line":41,"column":8},"end":{"line":41,"column":48}},"37":{"start":{"line":42,"column":8},"end":{"line":42,"column":21}},"38":{"start":{"line":44,"column":4},"end":{"line":53,"column":5}},"39":{"start":{"line":45,"column":8},"end":{"line":45,"column":104}},"40":{"start":{"line":46,"column":8},"end":{"line":46,"column":95}},"41":{"start":{"line":47,"column":8},"end":{"line":47,"column":45}},"42":{"start":{"line":50,"column":8},"end":{"line":50,"column":90}},"43":{"start":{"line":51,"column":8},"end":{"line":51,"column":48}},"44":{"start":{"line":52,"column":8},"end":{"line":52,"column":21}},"45":{"start":{"line":55,"column":0},"end":{"line":55,"column":104}},"46":{"start":{"line":55,"column":42},"end":{"line":55,"column":101}}},"branchMap":{"1":{"line":2,"type":"binary-expr","locations":[{"start":{"line":2,"column":23},"end":{"line":2,"column":27}},{"start":{"line":2,"column":31},"end":{"line":2,"column":51}},{"start":{"line":2,"column":56},"end":{"line":4,"column":1}}]},"2":{"line":3,"type":"cond-expr","locations":[{"start":{"line":3,"column":37},"end":{"line":3,"column":40}},{"start":{"line":3,"column":43},"end":{"line":3,"column":61}}]},"3":{"line":3,"type":"binary-expr","locations":[{"start":{"line":3,"column":12},"end":{"line":3,"column":15}},{"start":{"line":3,"column":19},"end":{"line":3,"column":33}}]},"4":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":4},"end":{"line":12,"column":4}},{"start":{"line":12,"column":4},"end":{"line":12,"column":4}}]},"5":{"line":15,"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":15,"column":4}},{"start":{"line":15,"column":4},"end":{"line":15,"column":4}}]},"6":{"line":15,"type":"binary-expr","locations":[{"start":{"line":15,"column":8},"end":{"line":15,"column":18}},{"start":{"line":15,"column":22},"end":{"line":15,"column":51}}]},"7":{"line":17,"type":"if","locations":[{"start":{"line":17,"column":4},"end":{"line":17,"column":4}},{"start":{"line":17,"column":4},"end":{"line":17,"column":4}}]},"8":{"line":17,"type":"binary-expr","locations":[{"start":{"line":17,"column":8},"end":{"line":17,"column":15}},{"start":{"line":17,"column":19},"end":{"line":17,"column":48}}]},"9":{"line":25,"type":"if","locations":[{"start":{"line":25,"column":8},"end":{"line":25,"column":8}},{"start":{"line":25,"column":8},"end":{"line":25,"column":8}}]},"10":{"line":33,"type":"cond-expr","locations":[{"start":{"line":33,"column":18},"end":{"line":33,"column":28}},{"start":{"line":33,"column":31},"end":{"line":33,"column":47}}]},"11":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":39,"column":4}},{"start":{"line":39,"column":4},"end":{"line":39,"column":4}}]},"12":{"line":41,"type":"cond-expr","locations":[{"start":{"line":41,"column":18},"end":{"line":41,"column":28}},{"start":{"line":41,"column":31},"end":{"line":41,"column":47}}]},"13":{"line":51,"type":"cond-expr","locations":[{"start":{"line":51,"column":18},"end":{"line":51,"column":28}},{"start":{"line":51,"column":31},"end":{"line":51,"column":47}}]}}}} \ No newline at end of file diff --git a/coverage/lcov.info b/coverage/lcov.info index 48cf325..308eaa1 100644 --- a/coverage/lcov.info +++ b/coverage/lcov.info @@ -2,20 +2,10 @@ TN: SF:/mnt/j/github/redux-persist-transform-compress-encrypt/dist/index.js FN:2,(anonymous_1) FN:11,createCompressEncryptTransform -FN:22,(anonymous_3) -FN:22,(anonymous_4) -FN:37,(anonymous_5) -FN:37,(anonymous_6) -FN:55,(anonymous_7) -FNF:7 -FNH:7 +FNF:2 +FNH:2 FNDA:4,(anonymous_1) FNDA:6,createCompressEncryptTransform -FNDA:6,(anonymous_3) -FNDA:5,(anonymous_4) -FNDA:6,(anonymous_5) -FNDA:5,(anonymous_6) -FNDA:6,(anonymous_7) DA:2,1 DA:3,4 DA:5,1 diff --git a/package.json b/package.json index b6225c0..7d4c77e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "clean": "rimraf dist", "prebuild": "npm run clean", "build": "tsc", - "prepublish": "npm run build" + "prepare": "npm run build", + "prepublishOnly": "npm run test" }, "repository": { "type": "git",