packages/add-months/.jsbits.json
{
"_VERSION": "1.1.2",
"_DESCRIPTION": "Adds or subtracts N months to any JavaScript Date, local or UTC.",
"_SINCE": "1.0.0",
"_GROUPS": [
"date"
],
"_WRAPPERS": [
{
"input": "index.js",
"output": "proto.js",
"wrapper": ".jsbits/proto.wrapper.js",
"typings": ".jsbits/proto.d.ts",
"replace": {
"var _toString = Object.prototype.toString;\n": "",
"@regex:var toDate = function \\([^}]+};\\n": "",
"function _addMonths(": "function (",
"= toDate(startdate)": "= new Date(+startdate)"
},
"method": "cleanup"
}
]
}