shrink-string
Advanced tools
Comparing version 3.0.4 to 3.0.5
@@ -19,3 +19,4 @@ const { gzip, gunzip } = require('zlib') | ||
module.exports = { | ||
compress, decompress | ||
compress, | ||
decompress, | ||
} |
@@ -0,1 +1,2 @@ | ||
// eslint-disable-next-line node/no-unpublished-require | ||
const test = require('tape-async') | ||
@@ -2,0 +3,0 @@ const { compress, decompress } = require('.') |
{ | ||
"name": "shrink-string", | ||
"description": "Tiny string compression module for Node.", | ||
"version": "3.0.4", | ||
"version": "3.0.5", | ||
"author": { | ||
@@ -19,3 +19,3 @@ "email": "zac@zacanger.com", | ||
"test": "npm run test:lint && npm run test:tape", | ||
"test:lint": "standard", | ||
"test:lint": "eslint -c .eslintrc.json *.js", | ||
"test:tape": "node index.test.js" | ||
@@ -38,4 +38,8 @@ }, | ||
"devDependencies": { | ||
"sortpack": "2.1.1", | ||
"standard": "14.3.1", | ||
"eslint": "6.8.0", | ||
"eslint-plugin-zacanger": "1.1.3", | ||
"husky": "4.2.3", | ||
"lint-staged": "10.0.8", | ||
"prettier": "2.0.1", | ||
"sortpack": "2.1.2", | ||
"tape-async": "2.3.0" | ||
@@ -45,3 +49,16 @@ }, | ||
"node": ">=10.0.0" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier --write" | ||
], | ||
"package.json": [ | ||
"sortpack" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
} | ||
} |
13942
13
45
7