{"_id":"scss-bundle","_rev":"74-c8ef707214bfa149b6f7bea5f679a235","name":"scss-bundle","time":{"modified":"2022-06-26T16:57:31.715Z","created":"2016-08-03T07:46:26.831Z","0.1.0":"2016-08-03T07:46:26.831Z","0.1.1":"2016-08-03T08:22:59.559Z","0.1.2":"2016-08-03T08:37:33.870Z","0.2.0":"2016-08-11T08:35:17.719Z","0.2.1":"2017-03-17T16:23:06.957Z","0.2.2":"2017-03-17T16:46:02.176Z","0.2.3-beta":"2017-03-17T17:49:51.799Z","1.0.0-beta":"2017-03-18T01:08:34.510Z","1.0.0-beta.2":"2017-03-18T10:14:18.190Z","1.0.0-beta.3":"2017-03-19T14:33:31.125Z","1.0.0":"2017-03-19T15:50:36.968Z","1.0.1":"2017-03-19T15:58:51.138Z","1.1.0":"2017-04-04T17:21:25.427Z","1.1.1":"2017-04-06T19:13:26.288Z","1.1.2":"2017-04-07T16:37:56.569Z","2.0.0-beta":"2017-04-13T15:34:03.074Z","2.0.1-beta":"2017-04-13T18:41:23.466Z","2.0.1-beta.3":"2017-04-19T21:24:19.744Z","2.0.1-beta.4":"2017-04-19T21:31:15.335Z","2.0.1-beta.5":"2017-04-19T22:00:44.672Z","2.0.1-beta.6":"2017-04-19T22:38:32.546Z","2.0.1-beta.7":"2017-04-20T00:46:13.668Z","2.1.0":"2017-09-14T17:49:44.910Z","2.1.1":"2018-01-08T15:15:13.704Z","2.1.2":"2018-01-24T12:10:19.538Z","2.1.3":"2018-03-12T14:19:05.336Z","2.2.0-beta":"2018-04-05T13:48:00.910Z","2.2.0-beta.2":"2018-04-05T15:05:51.077Z","2.2.0":"2018-05-02T16:42:06.828Z","2.3.0-beta":"2018-05-03T13:06:38.602Z","2.3.1":"2018-05-29T21:19:50.956Z","2.3.2":"2018-06-05T11:15:03.926Z","2.3.3":"2018-08-09T12:19:41.201Z","2.4.0":"2018-08-17T12:26:57.226Z","2.5.0-beta":"2018-11-16T15:28:42.357Z","2.5.0":"2019-02-20T10:24:17.124Z","2.5.1":"2019-04-08T07:01:49.187Z","0.0.0-canary.a99866c":"2019-08-15T20:17:22.913Z","0.0.0-canary.2466c2b":"2019-08-15T22:03:28.597Z","3.0.0":"2019-08-19T11:32:42.525Z","0.0.0-canary.68aba9f":"2019-08-19T13:18:42.921Z","0.0.0-canary.53afdbe":"2019-08-19T13:21:07.371Z","0.0.0-canary.e3c9a99":"2019-08-20T15:17:11.710Z","0.0.0-canary.3100315":"2019-08-20T15:25:04.561Z","3.0.1":"2019-08-20T15:33:05.342Z","0.0.0-canary.048dc82":"2019-10-24T17:26:44.812Z","0.0.0-canary.cae5b9e":"2019-10-27T20:26:26.805Z","3.0.2":"2019-11-16T19:52:51.925Z","0.0.0-canary.9f111cb":"2019-12-18T12:48:59.009Z","0.0.0-canary.ad13f8e":"2019-12-19T06:19:52.424Z","3.1.0":"2020-03-16T09:09:55.588Z","0.0.0-canary.650dc78":"2020-03-19T11:45:58.715Z","3.1.1":"2020-03-19T11:54:30.885Z","0.0.0-canary.a470d23":"2020-05-13T13:57:07.667Z","0.0.0-canary.853afa8":"2020-05-13T13:59:14.228Z","3.1.2":"2020-05-13T14:02:31.908Z","0.0.0-canary.5c7510a":"2020-07-16T07:41:09.148Z"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist-tags":{"latest":"3.1.2","next":"2.5.0-beta","canary":"0.0.0-canary.5c7510a"},"description":"Bundling SCSS files to one bundled file.","readme":"","versions":{"0.1.2":{"name":"scss-bundle","version":"0.1.2","description":"Bundling SCSS files to one file bundle.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc -p .","watch":"tsc -w"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"typescript":"1.8.10","typings":"^1.3.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"minimist":"^1.2.0","node-sass":"^3.8.0","optimist":"^0.6.1","promise":"^7.1.1"},"gitHead":"a18f14497af4a80761bb28367eaf147201faa80d","_id":"scss-bundle@0.1.2","_shasum":"fbabecbec62fc560a38eba4dbb51b14e475be944","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.2.0","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"fbabecbec62fc560a38eba4dbb51b14e475be944","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.1.2.tgz","integrity":"sha512-ygoIo3LDGWZmYzh87H4CeaEWz9ULAxOIWN5HhfEnp7avHjJqYYs4q/YZLvl+XqFe0GWnHrrQhIf0SQs2rHhe+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ9zbrMWwKx1yzoICHVu9RZZjQV+htuXB0TXTMUGppPQIhAIvowkTdvgWtlj3Fd3jKv/KQybvo0YLAk0TnclPRdlUn"}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-0.1.2.tgz_1470213451926_0.7497006764169782"},"directories":{}},"0.2.0":{"name":"scss-bundle","version":"0.2.0","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc -p .","watch":"tsc -w"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"@types/node":"^6.0.32","@types/node-sass":"0.0.28","@types/promise":"^7.1.27","@types/yargs":"0.0.28","typescript":"1.8.10"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"node-sass":"^3.8.0","promise":"^7.1.1","yargs":"^4.8.1"},"gitHead":"992ed55a71f82c51ae4d2f0f70e10cb7bfd20034","_id":"scss-bundle@0.2.0","_shasum":"b0a593725950fdc6e7ffa3b83ddd78caf6de402e","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"b0a593725950fdc6e7ffa3b83ddd78caf6de402e","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.2.0.tgz","integrity":"sha512-PTNEr6eYK3VmS+ZNtirDcXfW7CFFB777NEeQEBB53HXvBiZHyChKzth8hCUNWLGGUs65eY3UZCEevEB4M7rrBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEuxXHnDXuOQGDVJsanC3dMBN525uSANya7kybPmcFYCAiEA2ycGbE0+QN3MBW3emzQDqxWxHfzR/Z7j7Y0mDscSpUE="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-0.2.0.tgz_1470904515866_0.2262010728009045"},"directories":{}},"0.2.1":{"name":"scss-bundle","version":"0.2.1","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p .","watch":"tsc -w"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"@types/node":"^6.0.32","@types/node-sass":"0.0.28","@types/promise":"^7.1.27","@types/yargs":"0.0.28","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"node-sass":"^3.8.0","promise":"^7.1.1","yargs":"^4.8.1"},"gitHead":"bd12bdfce26c4729bcae2c11f1c26b0f71f84acf","_id":"scss-bundle@0.2.1","_shasum":"7a81f01e156ef2e89e97bd96066054df46cd14a6","_from":".","_npmVersion":"4.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"7a81f01e156ef2e89e97bd96066054df46cd14a6","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.2.1.tgz","integrity":"sha512-FEC9GTijln5rxgWLnO/2p/aBXHvtVdN2038wr2STSbbZdoF4Ow59QKjjwcmdHUepBKBrdEIceMKXS2R4VSI48A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPLYEsdraKTl3jVWCaClyx+EZ6QAfVTnINC+K0rKHrKQIgOSc1ImkI4Nom4eTYRa7O0zIRI7xu+0mw2bNFRopEjt4="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-0.2.1.tgz_1489767785026_0.8009624271653593"},"directories":{}},"0.2.2":{"name":"scss-bundle","version":"0.2.2","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p .","watch":"tsc -w"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"@types/node":"^6.0.32","@types/node-sass":"0.0.28","@types/promise":"^7.1.27","@types/yargs":"0.0.28","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"node-sass":"^3.8.0","promise":"^7.1.1","yargs":"^4.8.1"},"gitHead":"79999f746fbf6cf6e122eae421c108810189e7bd","_id":"scss-bundle@0.2.2","_shasum":"418da913b17b99419cb04d176081f6f8a57116c4","_from":".","_npmVersion":"4.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"418da913b17b99419cb04d176081f6f8a57116c4","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.2.2.tgz","integrity":"sha512-F6DlWvDPuhlGtvYAP5zvtcsxnNqjGqOpdvVFGdKdH3Kqc0UFAWMdwVXGvyEK6/LXybVvkf4JE4p/6vk1uYFf9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDdi3axs1onPOAj3SkaNoteTdP8MSk/mGRCezNzGGNXAIhAN+9pOTcxSz1zx2YI2ZMJZW3y1JApvyCSVHRr0AK7CGO"}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-bundle-0.2.2.tgz_1489769161539_0.6650294661521912"},"directories":{}},"0.2.3-beta":{"name":"scss-bundle","version":"0.2.3-beta","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"@types/node":"^6.0.32","@types/node-sass":"0.0.28","@types/promise":"^7.1.27","@types/yargs":"0.0.28","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"node-sass":"^3.8.0","promise":"^7.1.1","yargs":"^4.8.1"},"gitHead":"948e5af2571ef0e543822e28635cac4c233f4285","_id":"scss-bundle@0.2.3-beta","_shasum":"de48b643787d6b596fa90003c6c1ab4ba6874589","_from":".","_npmVersion":"4.4.1","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"de48b643787d6b596fa90003c6c1ab4ba6874589","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.2.3-beta.tgz","integrity":"sha512-PD8iI5CCIdnYwPvX/Fzc4YiN0XMKnJeHdm/rzISntK1CjWfqZ0V4V/VQZmKiHwgOoZvv6+1Fe6UVbSvBh9aoqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBBkgH5i422Mw/9PSvY8mcQBTYHOackb7xLCpiTaUeLoAiAr7R70NmOX+eSU/XAhEtWsF+5jFhZ3ed6ko7ca5UmdiA=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-bundle-0.2.3-beta.tgz_1489772991041_0.535427505383268"},"directories":{}},"1.0.0-beta":{"name":"scss-bundle","version":"1.0.0-beta","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"99a21b86b5ec724084042987f62c73f00ea0c431","_id":"scss-bundle@1.0.0-beta","_shasum":"bbf842f5af9e5982ce2aa4d7391e2016edf2265c","_from":".","_npmVersion":"4.3.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"bbf842f5af9e5982ce2aa4d7391e2016edf2265c","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-1.0.0-beta.tgz","integrity":"sha512-8b5wO+yy8pQa8wbgtm8MxJRwSR0fuH5XNybIOsvTXOgiUr7mdzCbFPkAJxnDfgI57kYjQ1WsWfT3vzZmJJK3aA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA2r8PxiSddWcuTmUaVzqTOsqhVfMytIPz+nJEpPlVyNAiEAsN+HoWHJHXdUlAX50PMjd1ZY/ediPyQBfYc8a3xGHc8="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-1.0.0-beta.tgz_1489799312402_0.39513987861573696"},"directories":{}},"1.0.0-beta.2":{"name":"scss-bundle","version":"1.0.0-beta.2","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"07aeede4d6af157420d17a61a3384a83a3812c58","_id":"scss-bundle@1.0.0-beta.2","_shasum":"bb8c0df8420cffe9dac29c9dbe32936a2a99ed56","_from":".","_npmVersion":"4.3.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"bb8c0df8420cffe9dac29c9dbe32936a2a99ed56","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-1.0.0-beta.2.tgz","integrity":"sha512-3hOgZ0bnHqQwbxxYLg0MKaXmwUbxqFFRk4DzDwlDuyuAlgYIEmaQhq3Qjomirb3Y0QSfz8wp0kR76euakWysyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAT08kSjSjKee67mMQNkUtNMjul8hQYJVFBee8LMxd0gAiANyTEyXlJGh4RnoqHvPTMRkINAmDM3qDoNUk2huu156w=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-1.0.0-beta.2.tgz_1489832056274_0.2930116842035204"},"directories":{}},"1.0.0-beta.3":{"name":"scss-bundle","version":"1.0.0-beta.3","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"0f32f9245ef1982afd337fdb42513290339f530e","_id":"scss-bundle@1.0.0-beta.3","_shasum":"697399ee7280b45a8925a41e64e16a1602f2f30c","_from":".","_npmVersion":"4.3.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"697399ee7280b45a8925a41e64e16a1602f2f30c","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-1.0.0-beta.3.tgz","integrity":"sha512-zlgi+wGj/jNPWJoYagQMup2BRZsaA9aKdis6C9WWN2G+qGxBBueG/5O0LCKm17P7Noecb4sUX+jTTUuyxZH+xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDr0FezQm5x/etSAri/C83VCf5111vHpiPWEEl6h1A4KgIgH9qsl/aeuaEspXG4ecNOLU4DouHE9aDMTqUxQqOrPCo="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-bundle-1.0.0-beta.3.tgz_1489934010493_0.6349198271054775"},"directories":{}},"1.0.0":{"name":"scss-bundle","version":"1.0.0","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"f4bd022f36474f05e0ea394a2fe81af25f578ed3","_id":"scss-bundle@1.0.0","_shasum":"15e8e5e1f901d1706fe9c8a084f574f03a163916","_from":".","_npmVersion":"4.3.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"15e8e5e1f901d1706fe9c8a084f574f03a163916","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-1.0.0.tgz","integrity":"sha512-PVl+y7hpPSZk3IAvkx+O3z88FRXkT7PbAsiCOGeQ9KRibInpRDXYC71oc3eoHwEu1U3CAohZbsBG5uJ+Ob2Khw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4HN7SIok0pQfJGQR6pGchFIF3S91+/RoR/IVGJhOVmgIgWKVR2e5yrAdgSkES5WSOcbc7r5HoXJ61rnB84g1np64="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-bundle-1.0.0.tgz_1489938636370_0.11331932293251157"},"directories":{}},"1.0.1":{"name":"scss-bundle","version":"1.0.1","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"GPL-3.0","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"4969f83096acc9cb0794a577bcefabe09d08fba6","_id":"scss-bundle@1.0.1","_shasum":"8a1517826249a71cf99c25f055779b4ac1b8a8e3","_from":".","_npmVersion":"4.3.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"8a1517826249a71cf99c25f055779b4ac1b8a8e3","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-1.0.1.tgz","integrity":"sha512-aliIBucWA+RwSL1v6PpZEr0JOEdlPUab5RXC2PHNUZBSDIIiUy7UHOXtv26otAl/URMorcjEq8q39nn0Z5X8NQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDq9NmFQWSpl2XtwmRFfPbNU69N2EmcJiUezBnXu8/LAiEA4MUUPsmIWknha49gOeZujxbE9m2CazSxkoDoxAGglpI="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-bundle-1.0.1.tgz_1489939130524_0.890396217117086"},"directories":{}},"1.1.0":{"name":"scss-bundle","version":"1.1.0","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/QuatroCode/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/quatrocode/scss-bundle.git"},"homepage":"https://github.com/QuatroCode/scss-bundle","license":"AGPL-3.0","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"6ac3237b9ed67a1e0776b25b56ea0bb702aa262e","_id":"scss-bundle@1.1.0","_shasum":"fca2886e6f65c00afe24de4f21ba56a8b7d6df60","_from":".","_npmVersion":"4.3.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"fca2886e6f65c00afe24de4f21ba56a8b7d6df60","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-1.1.0.tgz","integrity":"sha512-ue9eD0YTnDmNqeyTsTWRpBNVNgfdmAnWo/aTXFy7FkaVX0ahphb6Hwf5e4Bt1MIZg36QRzstqx1twfrBxeidXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF2NDG91O916Do/TPyNX2RbFULUVZ9z/JGc4d/grYRIKAiBcIDeekm/LOeiayxQuiF+eHSQlgZ/FsapsdG2KJ/o63g=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-1.1.0.tgz_1491326483297_0.41549760894849896"},"directories":{}},"1.1.1":{"name":"scss-bundle","version":"1.1.1","description":"Bundling SCSS files to one bundled file.","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","!*.config.js","!@types"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/simplrjs/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"5c79884a3ce0e7690192dc7e7269b96215f42dac","_id":"scss-bundle@1.1.1","_shasum":"4fb21332b9fe2460a50d54c7045257f28aac11e4","_from":".","_npmVersion":"4.4.4","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"4fb21332b9fe2460a50d54c7045257f28aac11e4","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-1.1.1.tgz","integrity":"sha512-w+m+kxN5Lrv/hwg6QILmfhhC1USYga3iMsV+F1NzUhBEMXhCbZEiKVlVkwJTErARVOV7IlaVsESHukpl36RSgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQp8ySQb9eBDK9I7On78bR8WpJUKwS3C6Blte4V58dQAIgDeW2VmXa8mb8wi2EXwGaBtDwqoyfxcKDiLih7QcQ9aM="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-1.1.1.tgz_1491506004256_0.26248567970469594"},"directories":{}},"1.1.2":{"name":"scss-bundle","version":"1.1.2","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","!*.config.js","!@types"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/simplrjs/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"84e02a9b036990b4b746297a7dbd2a5bc1e297bd","_id":"scss-bundle@1.1.2","_shasum":"f564595ff95d5f81f7ebdebe85a366f3c231f591","_from":".","_npmVersion":"4.4.4","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"f564595ff95d5f81f7ebdebe85a366f3c231f591","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-1.1.2.tgz","integrity":"sha512-om30UCkuVN7yyZwB7kO+LtOup4CzX9CchRcxRmVasXc6ZSJm4CchgNH33Tve0UfLsFGPl28kGR2IFFxDVSJmag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBMKhpL0z9B0s/1iXj2yjncbq5NcHM2sopSkn14GRhjpAiEAl1NQfIHYwGeUm5X9wdv5WIWXRw0n4G5Z6msvHxqb1IA="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-1.1.2.tgz_1491583074463_0.17154920450411737"},"directories":{}},"2.0.0-beta":{"name":"scss-bundle","version":"2.0.0-beta","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","!*.config.js","!@types"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","globs":"^0.1.3","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","pretty-bytes":"^4.0.2","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"1ffef947a5c9c279f569a698ef6256bf878c52da","_id":"scss-bundle@2.0.0-beta","_shasum":"7848f380b92b863e90ee0601b8446b1b188187c8","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"7848f380b92b863e90ee0601b8446b1b188187c8","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.0.0-beta.tgz","integrity":"sha512-hDUj/1JXmMfyGuXWnvVOCx7ad8TfYjUyn7G1jqWM2oCzUOH+iYqaTGojaLtC8EYfgkisG5wrBtq21ZSsh1h0OQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXl/H/+yr8rj65k6K+kK7KpDg+5t6ULYF4ndIzs8RoAAIgP55Amy/miGH0OA7c2TYrGQp/LIvF8lVg8ue5t0VMoe4="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-bundle-2.0.0-beta.tgz_1492097642305_0.9382561144884676"},"directories":{}},"2.0.1-beta":{"name":"scss-bundle","version":"2.0.1-beta","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","!*.config.js","!@types"],"author":{"name":"Martynas Zilinskas","email":"martynas@quatrodev.com","url":"https://github.com/MartynasZilinskas"},"contributors":[{"name":"Dovydas Navickas","email":"dovydas@quatrodev.com","url":"https://github.com/DovydasNavickas"}],"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","globs":"^0.1.3","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","pretty-bytes":"^4.0.2","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"1c8705d6b954e16e838839201eceb119fc3bc8cc","_id":"scss-bundle@2.0.1-beta","_shasum":"158fcf017dfd0b7684cf887f6e8564dcc4346bc7","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"158fcf017dfd0b7684cf887f6e8564dcc4346bc7","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.0.1-beta.tgz","integrity":"sha512-IIL33vk1N0w0XrbyA8XQyNiUgZS5m0lhAwG+vU3Br+Mhjqe2Rmzj2D6OpisnoPJAXBzSNUYal1Y2fHuMb8FBOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUmSdpyJS+P4Yuz0aeS8C5ujTI3PG2vstSRtw1W++D5AiAhM/ikEMi+t9/rGEmlCzf2kCdslC0+yVpbhw6LpWyddw=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-bundle-2.0.1-beta.tgz_1492108882823_0.6485143024474382"},"directories":{}},"2.0.1-beta.3":{"name":"scss-bundle","version":"2.0.1-beta.3","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","globs":"^0.1.3","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","pretty-bytes":"^4.0.2","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"bd5610863b3dc8e118824209c40f75b5af2bd118","_id":"scss-bundle@2.0.1-beta.3","_shasum":"2b23b9a2d83c96c3310271b5a39bb6a3dab1c9e4","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"2b23b9a2d83c96c3310271b5a39bb6a3dab1c9e4","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.0.1-beta.3.tgz","integrity":"sha512-zNa8vuWS9T6u1UI2Bp3RADsRmdSnQPndH5gaqG9cJr/lEzP5uZwYRObdxgj3epHdgHKnyLoIFeM/1p0fcxbp7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEj/acJTGsvgFbyRcjcbtGQzIq/Nh0xwRftCWJH+P0E/AiBbiBf+n0BtidZ8UGC7om/50u/RD+33YqW4rJQHQswCmw=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-2.0.1-beta.3.tgz_1492637057621_0.3828550393227488"},"directories":{}},"2.0.1-beta.4":{"name":"scss-bundle","version":"2.0.1-beta.4","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","globs":"^0.1.3","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","pretty-bytes":"^4.0.2","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"262d681c0866819eb521476f2925a2c6f386f9ce","_id":"scss-bundle@2.0.1-beta.4","_shasum":"11df80cab8192e9d2309b63ca5a51831b8d6cc3d","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"11df80cab8192e9d2309b63ca5a51831b8d6cc3d","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.0.1-beta.4.tgz","integrity":"sha512-2Y07EU6gKxp0JRRuAEvdRhZD1sV2HWoMJxBBjeP9MKcK9hOpopbBkw9w91gVRmY8UG8SIrbXcbs16RQbOUGMAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICIzsW6CcnoP+SpAGFCzqXRYtW3wyw/EtR1WH0VtDzvYAiEA0p3TjkP5l3nxwCLQnfVOLXw/9p56tbO37qiDmgDFKDA="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-2.0.1-beta.4.tgz_1492637473422_0.3304090320598334"},"directories":{}},"2.0.1-beta.5":{"name":"scss-bundle","version":"2.0.1-beta.5","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","globs":"^0.1.3","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","pretty-bytes":"^4.0.2","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"f5feace286ef38a78a4d94c03e43fb2de72ee352","_id":"scss-bundle@2.0.1-beta.5","_shasum":"ec2a95a1a59982c20d5b3156b916c791ccaa0aea","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"ec2a95a1a59982c20d5b3156b916c791ccaa0aea","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.0.1-beta.5.tgz","integrity":"sha512-hzBbEh5H2bE5FUI6YB8qeeMg6Hv2VqvXz3NwW3vZVPecaPvUefpU4bReNWEKJbWY/Y5ja5bf68/nayyon3U4+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNjdrWm2Xef6UOnHqPkKue+N4W0YaW8qSTVM/oLdyCngIhANV3atJHJ3lXIcbNbCvWQ0UX3SNYyS/0vLHE33fq7V7K"}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-2.0.1-beta.5.tgz_1492639242936_0.06686493614688516"},"directories":{}},"2.0.1-beta.6":{"name":"scss-bundle","version":"2.0.1-beta.6","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","globs":"^0.1.3","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","pretty-bytes":"^4.0.2","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"b2d80b2cc492afc3b5b8bfbc3839818584aac5ad","_id":"scss-bundle@2.0.1-beta.6","_shasum":"7b4c59c0335573fe71910252b9314bd4b80d38d6","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"7b4c59c0335573fe71910252b9314bd4b80d38d6","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.0.1-beta.6.tgz","integrity":"sha512-LTiCfITcpIQlrV7VpZm5CJ+1Fa/MZBsUnSW8qGQ64gOLsGhjnvR6KrmEZGf/Br1KEMuBpxc6VwOzggB57OwbCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQrM9squGe88sidK4J6TcjhOKtNMs5NOUWiQd1S+5E5AiAQrPzNehbUss3buEaYaTFHEZrve7eP6PYs2o/MngFFsw=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scss-bundle-2.0.1-beta.6.tgz_1492641510134_0.7031124767381698"},"directories":{}},"2.0.1-beta.7":{"name":"scss-bundle","version":"2.0.1-beta.7","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./example/simple/main.scss -d ./example/output/simple.scss","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","globs":"^0.1.3","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","pretty-bytes":"^4.0.2","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"5a12f0a7049e8dc0869e61a831934f327bedca57","_id":"scss-bundle@2.0.1-beta.7","_shasum":"3eabaf92d366e245050d62db58390a1dbc25ead4","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.9.1","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"shasum":"3eabaf92d366e245050d62db58390a1dbc25ead4","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.0.1-beta.7.tgz","integrity":"sha512-2FZ9GsCHn/zH/cUr8hn39/7vss0L6SJSBBZOV5SJ+2ZW6O/4gk4IMK8nxQf9+mzW01SDttYSJ54yE0doqvwSaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUYso1KeSImn2AAn2u3Rfyj0xQV7xLEIrJrixQh8fcqAIgewlTg7wJqUD4wLpgVg3sFZCbL3dilXCw03aA8Zh0RQg="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/scss-bundle-2.0.1-beta.7.tgz_1492649172890_0.7352755134925246"},"directories":{}},"2.1.0":{"name":"scss-bundle","version":"2.1.0","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"test":"tsc -p . --noEmit && npm run tslint-test","tslint-test":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","test-scss":"node ./dist/bundle-cli.js -e ./examples/simple/main.scss -d ./examples/output/simple.scss","test-scss-include-paths":"node ./dist/bundle-cli.js -e ./examples/include-paths/main.scss -d ./examples/output/include-paths.scss --includePaths ./examples ./node_modules","prepublish":"npm run build"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@types/archy":"0.0.30","@types/mkdirp":"^0.3.29","@types/mz":"0.0.30","@types/node":"^7.0.8","@types/node-sass":"3.10.32","@types/promise":"^7.1.27","@types/yargs":"6.6.0","tslint":"^4.5.1","typescript":"^2.2.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","globs":"^0.1.3","mkdirp":"^0.5.1","mz":"^2.6.0","node-sass":"^4.5.0","pretty-bytes":"^4.0.2","promise":"^7.1.1","yargs":"^7.0.2"},"gitHead":"cff4155c10f072aa7c6ee56aa4c166c6143070db","_id":"scss-bundle@2.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.3","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"integrity":"sha512-8TJaz8f5FMyyH2Se0mxfQY6CKaFb8gxyIE0qPHxk4Dfx7x8IhnvIIXyZwh0O5XK+uD0L4/gQkkRVT5zW+GcJcw==","shasum":"0575481875f1533ff183a2e6c54d01d1a0a824d5","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqKycd5ITYwsq/QmCHm6X6MmCxHBNqJtjm3TwqenK4ugIgHn9ibtz6NGGRwecazRYfufMAXFTbOkUbMlbMpZWVeJU="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle-2.1.0.tgz_1505411383855_0.22036515921354294"},"directories":{}},"2.1.1":{"name":"scss-bundle","version":"2.1.1","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.2","@types/archy":"0.0.31","@types/fs-extra":"^5.0.0","@types/jest":"^22.0.1","@types/node":"^8.5.7","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"10.0.1","jest":"^22.0.4","simplr-tslint":"0.0.1","ts-jest":"^22.0.1","tslint":"^5.8.0","typescript":"^2.6.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.7.2","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^10.0.3"},"jest":{"collectCoverage":true,"mapCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"ed3ceb9ef52b14c9317c566cfcd2cf652b1ad75f","_id":"scss-bundle@2.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"simplrjs-admin","email":"simplr@quatrodev.com"},"dist":{"integrity":"sha512-c1gkULF4lJBw+nRILunalO5ryk2QQOQupei6YYmqid4IMYtXK3mIt1l1TWBxEUWPOqwQHJJENYgMOeDcPpWFQw==","shasum":"39e9cf28775932822a236c84f3db36febf0bf931","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwerVAo5110vqaTR1bLW9znN3P+kv2rZyNvHIXDTB55AiAPGHTrjulV+Dp6c2LNca08koa6tNY2hATazr0+G9xO2g=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle-2.1.1.tgz_1515424512685_0.03249767213128507"},"directories":{}},"2.1.2":{"name":"scss-bundle","version":"2.1.2","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.2","@types/archy":"0.0.31","@types/fs-extra":"^5.0.0","@types/jest":"^22.0.1","@types/node":"^8.5.7","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"10.0.1","jest":"^22.0.4","simplr-tslint":"0.0.1","ts-jest":"^22.0.1","tslint":"^5.8.0","typescript":"^2.6.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.7.2","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^10.0.3"},"jest":{"collectCoverage":true,"mapCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"a4c0e085744b71b4f00f6803c5c0195c1cabc5a6","_id":"scss-bundle@2.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"simplrjs-admin","email":"simplr@quatrodev.com"},"dist":{"integrity":"sha512-0Gobwz+3xh38dLxDhP0/QU5L6fF5eRDCmeRCkpKkq219fTHfu/A//x+akqpERIhFKywmANNx7cZmOjqrCIt6LA==","shasum":"0c380d25e4d999d3a86bbe620a640dfea72497cb","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHQiKacxNxisaKtlt/bt4XIVTHP/ftC7TUTOE8P4daIAiEA5bOBOBAkZTNu2UKsJ+J3vkiuxaPT0UC427tIgQwqaxA="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle-2.1.2.tgz_1516795817674_0.8514392909128219"},"directories":{}},"2.1.3":{"name":"scss-bundle","version":"2.1.3","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.2","@types/archy":"0.0.31","@types/fs-extra":"^5.0.0","@types/jest":"^22.0.1","@types/node":"^8.5.7","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"10.0.1","jest":"^22.0.4","simplr-tslint":"0.0.1","ts-jest":"^22.0.1","tslint":"^5.8.0","typescript":"^2.6.2"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.7.2","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^10.0.3"},"jest":{"collectCoverage":true,"mapCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"8aaf4c61343d98c7a756860323fdff04e5e38016","_id":"scss-bundle@2.1.3","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"simplrjs-admin","email":"simplr@quatrodev.com"},"dist":{"integrity":"sha512-8gJxY6CmeSKNf/Kte/xAY/VhR+JF5RUCfHf6fu6pdAASqB9YN3Kuwp9mLbBIEKSl0LZvpK4aw0YfBH5TrA46Dg==","shasum":"953fb68f4a93e347cd339adff2c844d45ed1f80b","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.1.3.tgz","fileCount":20,"unpackedSize":97964,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAUiJ5I/AaeOB0yDBi7/0/vzOzvY/ZUlGhB8Vgv4SBFgAiActtzuVy7CBRcst3rcD2gl3JYczLd28plm5KwTzK2udQ=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.1.3_1520864345295_0.29890085827253543"},"_hasShrinkwrap":false},"2.2.0-beta":{"name":"scss-bundle","version":"2.2.0-beta","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.8.3","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"publishConfig":{"tag":"next"},"gitHead":"2997c16fd277e1ffc33f30fd268f4c2b0b8fa380","readme":"# scss-bundle\r\n\r\nBundles all SCSS imports into a single file recursively.\r\n\r\n[![Build Status](https://travis-ci.org/SimplrJS/scss-bundle.svg?branch=master)](https://travis-ci.org/SimplrJS/scss-bundle)\r\n[![NPM version](http://img.shields.io/npm/v/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle) [![dependencies Status](https://david-dm.org/simplrjs/scss-bundle/status.svg)](https://david-dm.org/simplrjs/scss-bundle) [![devDependencies Status](https://david-dm.org/simplrjs/scss-bundle/dev-status.svg)](https://david-dm.org/simplrjs/scss-bundle?type=dev)\r\n\r\n### Who uses `scss-bundle`\r\n\r\nA few of the projects who use the package:\r\n\r\n*   [Angular/material2](https://github.com/angular/material2)\r\n*   [Grassy](https://github.com/lazarljubenovic/grassy)\r\n*   [Copictures](https://copictures.com)\r\n\r\n## Get started\r\n\r\nIf you want to use `scss-bundle` globally\r\n\r\n```sh\r\n$ npm install scss-bundle -g\r\n```\r\n\r\n## CLI Usage\r\n\r\n```sh\r\n$ scss-bundle -h\r\n```\r\n\r\n### Examples\r\n\r\n_Without config file:_\r\n\r\nIf you want to use `scss-bundle` without configuration file, `entry` and `dest` arguments are required.\r\n\r\n```sh\r\n$ scss-bundle -e ./src/main.scss -d bundled.scss\r\n```\r\n\r\nOr specifying output `verbosity` level.\r\n\r\n```sh\r\n$ scss-bundle -e ./src/main.scss -d bundled.scss --verbosity Errors\r\n```\r\n\r\n_With config file:_\r\n\r\n```sh\r\n$ scss-bundle -c scss-bundle.config.json\r\n```\r\n\r\n## Config example\r\n\r\n```json\r\n{\r\n    \"entry\": \"./src/main.scss\",\r\n    \"dest\": \"bundled.scss\"\r\n}\r\n```\r\n\r\n| Argument             | Type           | Description                                         | Values                | Default |\r\n| -------------------- | -------------- | --------------------------------------------------- | --------------------- | ------- |\r\n| entry <sup>`*`</sup> | string         | Main entry file where to start bundling.            |                       |         |\r\n| dest <sup>`*`</sup>  | string         | Destination file when bundling is done.             |                       |         |\r\n| verbosity            | string choices | Destination file when bundling is done.             | None, Errors, Verbose | Verbose |\r\n| includePaths         | array          | Include paths for resolving imports                 |                       |         |\r\n| project              | string         | Project location, where `node_modules` are located. |                       |         |\r\n\r\n`*` - Required\r\n\r\n## Output verbosity\r\n\r\nCLI option `verbosity` is used to control how much output you get. By default, you will get `Verbose` level of verbosity with the most output.\r\n\r\n| Value   | Description                                                                    |\r\n| ------- | ------------------------------------------------------------------------------ |\r\n| None    | Produces no output, only process success/error return code.                    |\r\n| Errors  | Outputs all errors and skips any additional information.                       |\r\n| Verbose | Outputs the most information. This is the `default` value for verbosity level. |\r\n\r\n## Non-CLI usage\r\n\r\n### Simple example\r\n\r\n```typescript\r\nimport { Bundler } from \"scss-bundle\";\r\nimport * as path from \"path\";\r\n\r\nconst fullPath = path.resolve(\"./examples/simple/main.scss\");\r\n\r\nBundler.Bundle(fullPath)\r\n    .then(result => {\r\n        console.log(\"Bundled SCSS content: \", result.content);\r\n    })\r\n    .catch(error => {\r\n        console.error(error);\r\n    });\r\n```\r\n\r\n# API\r\n\r\n## Bundler\r\n\r\n```typescript\r\nimport { Bundler } from \"scss-bundle\";\r\n```\r\n\r\n### Constructor\r\n\r\n```ts\r\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\r\n*   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\r\n\r\n### Methods\r\n\r\n#### Bundle\r\n\r\n```typescript\r\npublic static async Bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `file: string` - Main file full path\r\n*   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`>`\r\n\r\n#### BundleAll\r\n\r\n```typescript\r\npublic static async BundleAll(files: string[], fileRegistry: Registry = {}): Promise<BundleResult[]>\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `files: string[]` - Array of full path files\r\n*   `fileRegistry:`[Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`[]>`\r\n\r\n### Contracts\r\n\r\n#### BundleResult\r\n\r\n```typescript\r\nimport { BundleResult } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface BundleResult {\r\n    imports?: BundleResult[];\r\n    tilde?: boolean;\r\n    filePath: string;\r\n    content?: string;\r\n    found: boolean;\r\n}\r\n```\r\n\r\n##### Properties\r\n\r\n*   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\r\n*   `tidle?: boolean` - Used tilde import\r\n*   `filePath: string` - Full file path\r\n*   `content: string` - File content\r\n*   `found: boolean` - Is file found\r\n\r\n#### Registry\r\n\r\n```typescript\r\nimport { Registry } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface Registry {\r\n    [id: string]: string | undefined;\r\n}\r\n```\r\n\r\n##### Key\r\n\r\n`id: string` - File full path as dictionary id\r\n\r\n##### Value\r\n\r\n`string | undefined` - File content\r\n\r\n## License\r\n\r\nReleased under the [MIT license](LICENSE).\r\n","readmeFilename":"README.md","_id":"scss-bundle@2.2.0-beta","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"simplrjs-admin","email":"simplr@quatrodev.com"},"dist":{"integrity":"sha512-RNkgDBEbmz7TH7zAqAt9B1fWTJdEU/BptwZ1sakGGGWVZXvBdY4GAb4yVvhaiPdbhhkQN3Z42oKYa8xxD02pjQ==","shasum":"58cb11b468d91768e236a7291559af4d72e708a1","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.2.0-beta.tgz","fileCount":21,"unpackedSize":107314,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7tCqiAc4KIbeoT+HhkaB/jXd042uGEurCGjKz3iKtaQIhAJdyj0QrxoP/XZbsLQGB9XYaZpnXc46pgO6h+WNC6bqm"}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.2.0-beta_1522936080770_0.9258504715245788"},"_hasShrinkwrap":false},"2.2.0-beta.2":{"name":"scss-bundle","version":"2.2.0-beta.2","publishConfig":{"tag":"next"},"description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.8.3","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"761858fa4c71f05c17bca0404433eb2a3b3c3a39","readme":"# scss-bundle\r\n\r\nBundles all SCSS imports into a single file recursively.\r\n\r\n[![Build Status](https://travis-ci.org/SimplrJS/scss-bundle.svg?branch=master)](https://travis-ci.org/SimplrJS/scss-bundle)\r\n[![NPM version](http://img.shields.io/npm/v/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle) [![dependencies Status](https://david-dm.org/simplrjs/scss-bundle/status.svg)](https://david-dm.org/simplrjs/scss-bundle) [![devDependencies Status](https://david-dm.org/simplrjs/scss-bundle/dev-status.svg)](https://david-dm.org/simplrjs/scss-bundle?type=dev)\r\n\r\n### Who uses `scss-bundle`\r\n\r\nA few of the projects who use the package:\r\n\r\n*   [Angular/material2](https://github.com/angular/material2)\r\n*   [Grassy](https://github.com/lazarljubenovic/grassy)\r\n*   [Copictures](https://copictures.com)\r\n\r\n## Get started\r\n\r\nIf you want to use `scss-bundle` globally\r\n\r\n```sh\r\n$ npm install scss-bundle -g\r\n```\r\n\r\n## CLI Usage\r\n\r\n```sh\r\n$ scss-bundle -h\r\n```\r\n\r\n### Examples\r\n\r\n_Without config file:_\r\n\r\nIf you want to use `scss-bundle` without configuration file, `entry` and `dest` arguments are required.\r\n\r\n```sh\r\n$ scss-bundle -e ./src/main.scss -d bundled.scss\r\n```\r\n\r\nOr specifying output `verbosity` level.\r\n\r\n```sh\r\n$ scss-bundle -e ./src/main.scss -d bundled.scss --verbosity Errors\r\n```\r\n\r\n_With config file:_\r\n\r\n```sh\r\n$ scss-bundle -c scss-bundle.config.json\r\n```\r\n\r\n## Config example\r\n\r\n```json\r\n{\r\n    \"entry\": \"./src/main.scss\",\r\n    \"dest\": \"bundled.scss\"\r\n}\r\n```\r\n\r\n| Argument             | Type           | Description                                         | Values                | Default |\r\n| -------------------- | -------------- | --------------------------------------------------- | --------------------- | ------- |\r\n| entry <sup>`*`</sup> | string         | Main entry file where to start bundling.            |                       |         |\r\n| dest <sup>`*`</sup>  | string         | Destination file when bundling is done.             |                       |         |\r\n| verbosity            | string choices | Destination file when bundling is done.             | None, Errors, Verbose | Verbose |\r\n| includePaths         | array          | Include paths for resolving imports                 |                       |         |\r\n| project              | string         | Project location, where `node_modules` are located. |                       |         |\r\n\r\n`*` - Required\r\n\r\n## Output verbosity\r\n\r\nCLI option `verbosity` is used to control how much output you get. By default, you will get `Verbose` level of verbosity with the most output.\r\n\r\n| Value   | Description                                                                    |\r\n| ------- | ------------------------------------------------------------------------------ |\r\n| None    | Produces no output, only process success/error return code.                    |\r\n| Errors  | Outputs all errors and skips any additional information.                       |\r\n| Verbose | Outputs the most information. This is the `default` value for verbosity level. |\r\n\r\n## Non-CLI usage\r\n\r\n### Simple example\r\n\r\n```typescript\r\nimport * as path from \"path\";\r\nimport { Bundler } from \"scss-bundle\";\r\n\r\n(async () => {\r\n    // Absolute project directory path.\r\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\r\n    const bundler = new Bundler(undefined, projectDirectory);\r\n    // Relative file path to project directory path.\r\n    const result = await bundler.Bundle(\"./main.scss\");\r\n})();\r\n\r\n```\r\n\r\n# API\r\n\r\n## Bundler\r\n\r\n```typescript\r\nimport { Bundler } from \"scss-bundle\";\r\n```\r\n\r\n### Constructor\r\n\r\n```ts\r\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\r\n*   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\r\n\r\n### Methods\r\n\r\n#### Bundle\r\n\r\n```typescript\r\npublic static async Bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `file: string` - Main file full path\r\n*   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`>`\r\n\r\n#### BundleAll\r\n\r\n```typescript\r\npublic static async BundleAll(files: string[], fileRegistry: Registry = {}): Promise<BundleResult[]>\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `files: string[]` - Array of full path files\r\n*   `fileRegistry:`[Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`[]>`\r\n\r\n### Contracts\r\n\r\n#### BundleResult\r\n\r\n```typescript\r\nimport { BundleResult } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface BundleResult {\r\n    imports?: BundleResult[];\r\n    tilde?: boolean;\r\n    filePath: string;\r\n    content?: string;\r\n    found: boolean;\r\n}\r\n```\r\n\r\n##### Properties\r\n\r\n*   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\r\n*   `tidle?: boolean` - Used tilde import\r\n*   `filePath: string` - Full file path\r\n*   `content: string` - File content\r\n*   `found: boolean` - Is file found\r\n\r\n#### Registry\r\n\r\n```typescript\r\nimport { Registry } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface Registry {\r\n    [id: string]: string | undefined;\r\n}\r\n```\r\n\r\n##### Key\r\n\r\n`id: string` - File full path as dictionary id\r\n\r\n##### Value\r\n\r\n`string | undefined` - File content\r\n\r\n## License\r\n\r\nReleased under the [MIT license](LICENSE).\r\n","readmeFilename":"README.md","_id":"scss-bundle@2.2.0-beta.2","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"simplrjs-admin","email":"simplr@quatrodev.com"},"dist":{"integrity":"sha512-pgIRpsxRaHpnMcb7b/yWi1jKBURKVUj1fzVazHCRNHQj2FDyD9J/taYmkmZWMefTt2kd/9BgSDxCghPUv6tgrQ==","shasum":"6ced600bfa1c2bea4868e382082278d4601dd5d3","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.2.0-beta.2.tgz","fileCount":21,"unpackedSize":107856,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBQc7QGCf8k1mKtSv3wye38uDKCVsSWs56Wdlfho8/VnAiEA42OzSeHlWaiSjv7brABGcZ7VRj35subuxRff3Kw8KLk="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.2.0-beta.2_1522940750979_0.07595801264353153"},"_hasShrinkwrap":false},"2.2.0":{"name":"scss-bundle","version":"2.2.0","publishConfig":{"tag":"next"},"description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.9.0","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"00b3e876740efcaea85c8ac073e7bb6fe39cdce6","_id":"scss-bundle@2.2.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"simplrjs-admin","email":"simplr@quatrodev.com"},"dist":{"integrity":"sha512-M9I7BknYMQWekdGonVCrdtQcPvKLyiMhwXFhyTxLdOswZTEFi1nXM0DHBjjoFP2I/zOPvDJwcMChB7nEe0h7Dw==","shasum":"84509cb58cc450f8676ce2bb076324d70d1c5252","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.2.0.tgz","fileCount":21,"unpackedSize":108876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6epfCRA9TVsSAnZWagAAvIkP/3commH7fyZIleOcT/7T\nDH2kLbHnBMZYQDmM6z3RwkPNUPHHeuNmAae5cHuu2BB234eaTbOdpH51SCkW\nuRukcY11qJpGMKrYGHsoZFiLzHctI0tYFNZreYhU15LypuDY5p0z0CmMQDUe\nwitUKAf6H2G/MsrXfuXd7SIXlzYVBLsclM30Cyycmhz2pUnr9swWUt8RqueE\nI6O8OLCQvagFl849qLSco3qJG+bxCZ6gI0axP5zfiTs9hiNABApfVBKylTrC\nOqC+fDF0Qf9IMDfWZ8K8Rp475UP2SmSLppidDGKAE18XxgXmbkL+rvgHwkIe\nWURzbjkEWspoKJ7xJNPrBN9mvjwTpUbw1NpDCQNU6EPyv4MOGy81YWePBMKL\nJMktCHQ5Pw+V6KJYDVRIwRYI0/eFRl/QYqI0UKDPG3N7fpFUi6dAXBZ26osQ\nk76An2kAO3WFQtKb6tlj8mx9nGBc5tFqSh8+h37ZbcezAOT7p2PbVuiPNEBc\nU+DhxqvwO1+dZcNNaXE2VbNObfUUuzSd0WwC1NshjZHzkFsyMlg/++/RJLR0\nuC580awNAbg1UDgDEZiTHtoSoEGqZuqPRaPls3rvvW0mtUVUZKkiiY2IIjhZ\nayNvloBClwNma9vb7JntQz2vOG8XMVBAxWenP6P5tPfQylrcNOiqNOtfuzac\nEe/e\r\n=v02B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG9kqHpDuizB6PB0lJinlDeeLTp5bue43hqCAZje4qTKAiEAzBheO3EQ4r2iIZ5tUi8uyHrPs/z7yX1lPYOKIp7MtxM="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.2.0_1525279326705_0.17497771663347828"},"_hasShrinkwrap":false},"2.3.0-beta":{"name":"scss-bundle","version":"2.3.0-beta","publishConfig":{"tag":"next"},"description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.9.0","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"03ff840b5acb8cbe5960f22df9d2e84ff7ad395f","readme":"# scss-bundle\r\n\r\nBundles all SCSS imports into a single file recursively.\r\n\r\n[![Build Status](https://travis-ci.org/SimplrJS/scss-bundle.svg?branch=master)](https://travis-ci.org/SimplrJS/scss-bundle)\r\n[![NPM version](http://img.shields.io/npm/v/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle) \r\n[![npm (tag)](https://img.shields.io/npm/v/scss-bundle/next.svg)](https://www.npmjs.com/package/scss-bundle)\r\n[![dependencies Status](https://david-dm.org/simplrjs/scss-bundle/status.svg)](https://david-dm.org/simplrjs/scss-bundle) \r\n[![devDependencies Status](https://david-dm.org/simplrjs/scss-bundle/dev-status.svg)](https://david-dm.org/simplrjs/scss-bundle?type=dev)\r\n\r\n### Who uses `scss-bundle`\r\n\r\nA few of the projects who use the package:\r\n\r\n*   [Angular/material2](https://github.com/angular/material2)\r\n*   [Grassy](https://github.com/lazarljubenovic/grassy)\r\n*   [Copictures](https://copictures.com)\r\n\r\n## Get started\r\n\r\nIf you want to use `scss-bundle` globally\r\n\r\n```sh\r\n$ npm install scss-bundle -g\r\n```\r\n\r\nLatest pre-release is published under `next` tag.\r\n\r\n```sh\r\n$ npm install scss-bundle@next\r\n```\r\n\r\n## CLI Usage\r\n\r\n```sh\r\n$ scss-bundle -h\r\n```\r\n\r\n### Examples\r\n\r\n_Without config file:_\r\n\r\nIf you want to use `scss-bundle` without configuration file, `entry` and `dest` arguments are required.\r\n\r\n```sh\r\n$ scss-bundle -e ./src/main.scss -d bundled.scss\r\n```\r\n\r\nOr specifying output `verbosity` level.\r\n\r\n```sh\r\n$ scss-bundle -e ./src/main.scss -d bundled.scss --verbosity Errors\r\n```\r\n\r\n_With config file:_\r\n\r\n```sh\r\n$ scss-bundle -c scss-bundle.config.json\r\n```\r\n\r\n## Config example\r\n\r\n```json\r\n{\r\n    \"entry\": \"./src/main.scss\",\r\n    \"dest\": \"bundled.scss\"\r\n}\r\n```\r\n\r\n| Argument             | Type           | Description                                         | Values                | Default |\r\n| -------------------- | -------------- | --------------------------------------------------- | --------------------- | ------- |\r\n| entry <sup>`*`</sup> | string         | Main entry file where to start bundling.            |                       |         |\r\n| dest <sup>`*`</sup>  | string         | Destination file when bundling is done.             |                       |         |\r\n| verbosity            | string choices | Destination file when bundling is done.             | None, Errors, Verbose | Verbose |\r\n| includePaths         | array          | Include paths for resolving imports                 |                       |         |\r\n| project              | string         | Project location, where `node_modules` are located. |                       |         |\r\n| ignoredImports       | array          | Ignore resolving import content by matching a regular expression.|          |         |\r\n`*` - Required\r\n\r\n## Output verbosity\r\n\r\nCLI option `verbosity` is used to control how much output you get. By default, you will get `Verbose` level of verbosity with the most output.\r\n\r\n| Value   | Description                                                                    |\r\n| ------- | ------------------------------------------------------------------------------ |\r\n| None    | Produces no output, only process success/error return code.                    |\r\n| Errors  | Outputs all errors and skips any additional information.                       |\r\n| Verbose | Outputs the most information. This is the `default` value for verbosity level. |\r\n\r\n## Non-CLI usage\r\n\r\n### Simple example\r\n\r\n```typescript\r\nimport * as path from \"path\";\r\nimport { Bundler } from \"scss-bundle\";\r\n\r\n(async () => {\r\n    // Absolute project directory path.\r\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\r\n    const bundler = new Bundler(undefined, projectDirectory);\r\n    // Relative file path to project directory path.\r\n    const result = await bundler.Bundle(\"./main.scss\");\r\n})();\r\n\r\n```\r\n\r\n# API\r\n\r\n## Bundler\r\n\r\n```typescript\r\nimport { Bundler } from \"scss-bundle\";\r\n```\r\n\r\n### Constructor\r\n\r\n```ts\r\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\r\n*   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\r\n\r\n### Methods\r\n\r\n#### Bundle\r\n\r\n```typescript\r\npublic static async Bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `file: string` - Main file full path\r\n*   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`>`\r\n\r\n#### BundleAll\r\n\r\n```typescript\r\npublic static async BundleAll(files: string[], fileRegistry: Registry = {}): Promise<BundleResult[]>\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `files: string[]` - Array of full path files\r\n*   `fileRegistry:`[Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`[]>`\r\n\r\n### Contracts\r\n\r\n#### BundleResult\r\n\r\n```typescript\r\nimport { BundleResult } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface BundleResult {\r\n    imports?: BundleResult[];\r\n    tilde?: boolean;\r\n    filePath: string;\r\n    content?: string;\r\n    found: boolean;\r\n}\r\n```\r\n\r\n##### Properties\r\n\r\n*   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\r\n*   `tidle?: boolean` - Used tilde import\r\n*   `filePath: string` - Full file path\r\n*   `content: string` - File content\r\n*   `found: boolean` - Is file found\r\n\r\n#### Registry\r\n\r\n```typescript\r\nimport { Registry } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface Registry {\r\n    [id: string]: string | undefined;\r\n}\r\n```\r\n\r\n##### Key\r\n\r\n`id: string` - File full path as dictionary id\r\n\r\n##### Value\r\n\r\n`string | undefined` - File content\r\n\r\n## License\r\n\r\nReleased under the [MIT license](LICENSE).\r\n","readmeFilename":"README.md","_id":"scss-bundle@2.3.0-beta","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"simplrjs-admin","email":"simplr@quatrodev.com"},"dist":{"integrity":"sha512-brsqc9/mugnEJ9OyQ8YtxFiCHVM7WAS6JN4Dp5OMXcO85wi1K7AlkzaUM3DHeur+Hi6lhQnTwtCdLD3Nhsxn4w==","shasum":"316f969852a00ad45c9d3308fce6e3e740dcffa2","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.3.0-beta.tgz","fileCount":21,"unpackedSize":115523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6wlfCRA9TVsSAnZWagAAqFcQAJ1tXndMuShjj+U7LJBy\nz3b1+Oxv7GwDIsxx/ENuz/8tkCDXUffXreFrxX1/mgJzEKx8YXKtIqIokg1F\nr0vl9kTKk6+WKUaSBJPbpZ2biW7+4oyGaPs4nKoGnfTDeIYN4VzwLySEF3R6\n3YpdmSBNk4w4Vw/pZSOLqeGnS0X2b3jRBPQqS5AVdDPV8d34uQuloKRlGNqO\nf1X5k2KbDkIJXM/1yK65zqoyVhWN+sH5X7435wh82b4zSqE+pyVB6DuPir5g\nopzzhe/MgNMEkmO6JeFoZEIa/P/noIi7vreTysl0IDzfnEuU7angYYLHY2D0\nHfcVvLNSC5NLeAciz6S/g0Q5LdEuk4azZdhwZ1UdljUm7vDgmJopm6KIVcqx\nl8O2PHYd7iHuefFyQWEJrbcYK/UH+7zvypdIExnaSw9+oNv7zX34/Brcfkkc\nhoZT0efZ5rVka5kbmi5Xdpf/ONySv8LqwAe45VfqaZD6NrMpuH9bOaz1ukSU\nT0aZJoWQCGNpoey8im/yqrLw1CHT+4M9pOniiY39EklWMJjPV1RkWzUTUKpG\njI1BhZLMlwLlglLmUqBQ/tnDGCyUA+G6RAz3oTTA0Jc79O0M4SMx/M8/AR5s\n0AISgs0HFZCEJrt5EV+92IG9MOj1v6PCFm5vsKhUfidb8C2B964nB7rTJgor\n59IS\r\n=wl4b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGPwg2pzhfS/vkYPgMWXVG/3UPGkz1LcClQIvpos9/9tAiBUhLvsjpb0ww7M+GVDg9d6FRDDQZrmVxkgG+Eaa8mvqA=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.3.0-beta_1525352798417_0.6939029954337348"},"_hasShrinkwrap":false},"2.3.1":{"name":"scss-bundle","version":"2.3.1","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.9.0","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"867f7e302387952e9b6daba065a4f24bd7d03c4a","_id":"scss-bundle@2.3.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"simplrjs-admin","email":"simplr@quatrodev.com"},"dist":{"integrity":"sha512-/SWqi/c4OCwFgeaWIODNIr/mXjeRKGjflf4I9Dk/b1kQHQwiMaoxEQooJGWrJyuIldsfW++KPdcdIr7/kI/nnA==","shasum":"4c99b2aba6dc864c119c2a0a6f9ace45d00b25df","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.3.1.tgz","fileCount":23,"unpackedSize":116410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDcP4CRA9TVsSAnZWagAAgoAP/j4lpeSqILICT9jGgmzi\n57SXzeoAR78Gc0P3oDwSx2vaRnzlXuLIhnErmKzcnhqhgDTKFikvMYyFf0+7\n4K7sXMUqCgL2J5W7+R+Zn/WxKk7EKDXdE6yj+IP5wSuAyAs22Gt17EiO5OQp\nOg+3N4c4UdTQ5a7jxgkBk4KyPdGuog1kqcA7U7D7LIK2Wh+AVHp2NsYmdIdq\nm6EnYtCY1x8xZkYB8Y92cj/wd5alJvngTM1StRcNEtcXdlw4h6sf3g+sPjwT\nd0ozKpGcddTY4Ja148bhHKVrox0MSyLr/Pf1bELo2n43Sm+286w8eSMssAV0\n1Ty/VcyVLYXsBfMtGcRmWPubxzTp74H6ink8RyUNjjxHfFGYMXo8zv/pHJbD\n3Q0f+vgHeuoHuGpPwGKMGpdBr9KeIgnaRtl6LayDaidJxF8OMLLVMKGD1OlA\n5/yWPmZiq6vunqwkwpU3eJ8ZsCsgtwXdy0XSr50phuWCx6lfiRTYSu0b9DTK\nEyC43ytd2fJGSQJKs6SeKG6IPdwUvXPvRLHwDh/f+fcB62BNXApqhcRSs71B\n86fVxoivQVTpDBgTVNyyHDcxMv8JFWLAdz7mcv9fY13fqdL+0ZzchHESdjAA\n4hnZUA68m1DiuLXey6Xu26XHEW9lvVGyEsVHWjidZmkSrAQ7nX6v0tqKajoY\n6/kU\r\n=n2qe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADbdmNNV9K2sWfDTLiowy59FO74vLXcxQLGPujOJTK/AiEAzan6H/F6Mtt4S02K3ph/Xo8Nf0qXCTuHdGr/iaAgX7s="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.3.1_1527628790886_0.8398554061234602"},"_hasShrinkwrap":false},"2.3.2":{"name":"scss-bundle","version":"2.3.2","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.9.0","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"d07f89f610e468e725bb34482ad90aca8a7c00f5","_id":"scss-bundle@2.3.2","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"simplrjs-admin","email":"simplr@quatrodev.com"},"dist":{"integrity":"sha512-Mp12Wa/PbTBY5E6zlN4Vq8ccK4Ex4WX9dvc8QP3BXzatfo9VvQijZIAsMQ4nT+vD0oM1I4m6Cy9twJWYr9oBew==","shasum":"e7dc0a985894c18d884df59134479e833437ef94","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.3.2.tgz","fileCount":23,"unpackedSize":117410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFnC5CRA9TVsSAnZWagAA4B8P/Ro/aXVImth91ZlIe+GB\nnaxN6KkI0RyHSeSgofPZbD+uInTKhfIQL6hfY73gHbK/mPtB8CRpHlr9TCdr\nfwNkCNBbSfATiQweQbXQFBQ1/TvpWERZRP2B8iZGFQC17gHMJKO5zrnO/9YE\n7q0s1hAn0hbykQQ1ldlzBVyPlPp+2DP10MSpkSJ6hFenjdDyN/g7S1LxlNeA\nfYe5duxUE1zsBEbjFRYSzBRRpJUNF4n4HbQ8wtedCy0Dqaq4PFDLUlo0d63p\nIqwun1EWbAEBKRW9U9kPDShnmfT7ob5seTfYrUA5/DS1F6EpjI6qKHsLGz6E\nIw8PtF/xV9EpGFK6rWwAbUAijQenCEMd7iclEfzmrRFkXl5m/lty3IleQzNy\ngD3C6Khg5MdYVWRo917EBVgkJa2hLp2TehAaDVbySyobq3O8I2RUPv+v8b4s\norOkCV1rCok+L6n6b+19LpGvIDFxZAHvVlqRX2v5DNALiXtrLyyiNL2bPyke\ni2JynfmkUPxlKSPWA3Eck6RWw/kSMCFn4JhRtb3wZ3pKhrYSgB8AsvY9jTN1\n64k7Lt5N8Zb2LY+YZiQQNTljWz4YKgytlPCGe57ul7Vp1twqicu5TaTHgl5A\nI3TayJyrlfXOALxekirilEVmSmhxcFrMFrdS30kqlUmZZnIuI34o+0xEc3eR\ni7lG\r\n=+3m/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJSl5P/yei8JcaepOawoGIuNFVBFisBaXVNdKl3VqP6QIgUILQBg0B2Ib6+cP4/evfHMjZHzimnha1DhTUWaIJnSc="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.3.2_1528197303848_0.5244264743700062"},"_hasShrinkwrap":false},"2.3.3":{"name":"scss-bundle","version":"2.3.3","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.9.0","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"fe75f2e2c503b70899a90ab58e3fa1bcf543ecf7","_id":"scss-bundle@2.3.3","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"integrity":"sha512-xRM6LwpPuFysvUjh3Oe3qvVwSsTuSpvIW/FGtA/xhUZZCnf3ATmLXy2JELFRt0y9/RaDnt+L90/JWc9A7yL1Ig==","shasum":"d05d8ff901b06ecdea2e8527306bea7ab5d3c763","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.3.3.tgz","fileCount":23,"unpackedSize":117611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbDFdCRA9TVsSAnZWagAAFO4P/j7lXPlX+vriNyLSR3xC\nJotHIu/861xbkP+hoNwD1y3QyyZuqsrjp5FG0RodZ04ZIV5cYJzbKWXja/m1\nFud3OMzB/jpa2wOVRplLGHMusBJWFrY3rNYPCEJhViil1Hc2SXZsM1EecQ32\n6Yc3rqhONpg6ImVy8BUrqoFti3YIAZ/lp0OQHfqxr5jesP/Mr2zmrepvV7Ld\n5LiacLKcgdLmDnofODBv9l+GABXPnzS8y9o0nkkiiZRwaitPC7Ta+xNvrd0y\nf05mDjV241kEJZ88hFixQjtc62n67suZLMWN8FgVzg1vMlUxQLQeNhvEJxNd\nhj6WIxwp9p9GxJZ1z+T9CxfgxGUXyuuuM3BBiUVS8uOAJSixxuQeqmkMaYJa\nvXIDhjGNWJOThwLZppSW2j146UktISQybHdQMhSfp3NwGt78UQS4cabzaN0P\nVC5+da6uw6wXmzol0xtCxKLhf3umDxH1hh7Q+jqVQrQZMmtp3KgvD0GrbeRN\nspnSHssOBgFlW/mj3O921XNn86efKK3RE05wDSQxcitzW9GOlXjkrhIBf0EJ\n+X/UGBzw4Z/yqN5tRvaJRAa/ZOwhwAFnwRmHZNOqQJgukh0iijONv2DDDJju\nxiozi8PKgZoEuhQnL+OCYO+YMHYPeenbJ36mxl+AXdoViLKtFFfa1u/xMYof\nnl19\r\n=SBpS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkdg0y/KJtfLVQj5249o4TsRFvU4qSinMFOtwrfg8eCgIgMkB/UWPX6D2rm6x+BO5tjSn7PeogX2S7HOVt1AvYysk="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.3.3_1533817181024_0.7395191337371454"},"_hasShrinkwrap":false},"2.4.0":{"name":"scss-bundle","version":"2.4.0","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"files":["dist","**/*.md","*.js","@types","!*.config.js"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"archy":"^1.0.0","fs-extra":"^5.0.0","globs":"^0.1.3","node-sass":"^4.9.0","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"b020180c2ba1c88ce60fe40ce72ac6217e163d78","_id":"scss-bundle@2.4.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"integrity":"sha512-wK+plVq1aLhWaldyXIfRgnMk1ylvWn//pirqzL5HyFrS7ysfvKSn+z48Mg5W7cAV6IXjcDjf1naJ6RF5Xbb39Q==","shasum":"2a09479646ced84f918224c9095210de1ef838f5","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.4.0.tgz","fileCount":23,"unpackedSize":118447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdr8RCRA9TVsSAnZWagAAqJoP/1L8jaxydJFqGdZ+yHLu\n63zGvxJshTy2iWnoJ0MleWxSThgYzUXNST6vBDTj9NBCSJ/ceN3LLES2s81D\neAir/SAITQVnYiOTy+4o26fqe7ctjUDZ22azfkTCVewlhRLsBNoDYEHdy/7N\nRtI2HDW67kaOASlbBUKc/mlgAPSATZURLjazJGyRlN0DaRnLY2v+g+97wTrT\ngRVDgB1px+JjDPSJYMgqyVbVXeK9gO8MKPyE3dN0xd/vUdgBKrgwmEnNteMu\n/MeA71f76l5U7KbrxU0OduHxjbZQbNfWb8tWLQUw0hadNRZ5j8Cd3r8tQx3H\nN2EIMCIuuJIFse2S4Eh4E1GqZ9UweU7iDWurzNG9zktK2JggHGCsFFZJ10B4\nShVdRZB/HUckilZ8atXG/sdH2W62MRErRgOVqC3FaUXejOgydZvcplPUsv5b\nWmzhbLPGB2Sl+a3QpTYH9M4QVjmhsH8y2Qsvlk1Pu0kmkAOndLhfpJMLdXp1\nyqeE2e2xe2XtZSQHzxl4PmmV1Ven0VQIbS9Ssfr0uksKGDh+kcKd+K3BszC0\nb+g7wmMj7CDvbyDlSYx/G6SNYVdQAUdmyZEWMW29JEq8zcMRkYw/V4Iwn9Uv\nsfAx7B87iq2gIUrfaILGQjTvhDa/lobEyNjt4HVHyF4rhlnRCAicsBE24RXt\nkU3V\r\n=6+yt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICO5Ugx1sU3OZQ/hwTGaw+HSsq0vCz4pbegBTJ+bCtTHAiEAjjTgECtbp6uFfJGq4BaYZpMQ50lCpUZL/HBPzQxaHfk="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.4.0_1534508817124_0.8840325697747178"},"_hasShrinkwrap":false},"2.5.0-beta":{"name":"scss-bundle","version":"2.5.0-beta","publishConfig":{"tag":"next"},"description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli","start":"node dist/bundle-cli.js -c scss-bundle.config.json"},"keywords":["scss","bundle","sass","node-sass"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"@types/chokidar":"^1.7.5","@types/lodash.debounce":"^4.0.4","archy":"^1.0.0","chokidar":"^2.0.4","fs-extra":"^5.0.0","globs":"^0.1.3","lodash.debounce":"^4.0.8","node-sass":"^4.10.0","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"12c0df9b87771a8170cd4c9844b4e2d69939ba11","readme":"# scss-bundle\r\n\r\nBundles all SCSS imports into a single file recursively.\r\n\r\n[![Build Status](https://travis-ci.org/SimplrJS/scss-bundle.svg?branch=master)](https://travis-ci.org/SimplrJS/scss-bundle)\r\n[![NPM version](http://img.shields.io/npm/v/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle) \r\n[![npm (tag)](https://img.shields.io/npm/v/scss-bundle/next.svg)](https://www.npmjs.com/package/scss-bundle)\r\n[![dependencies Status](https://david-dm.org/simplrjs/scss-bundle/status.svg)](https://david-dm.org/simplrjs/scss-bundle) \r\n[![devDependencies Status](https://david-dm.org/simplrjs/scss-bundle/dev-status.svg)](https://david-dm.org/simplrjs/scss-bundle?type=dev)\r\n\r\n### Who uses `scss-bundle`\r\n\r\nA few of the projects who use the package:\r\n\r\n*   [Angular/material2](https://github.com/angular/material2)\r\n*   [Grassy](https://github.com/lazarljubenovic/grassy)\r\n*   [Copictures](https://copictures.com)\r\n\r\n## Get started\r\n\r\nIf you want to use `scss-bundle` globally\r\n\r\n```sh\r\n$ npm install scss-bundle -g\r\n```\r\n\r\nLatest pre-release is published under `next` tag.\r\n\r\n```sh\r\n$ npm install scss-bundle@next\r\n```\r\n\r\n## CLI Usage\r\n\r\n```sh\r\n$ scss-bundle -h\r\n```\r\n\r\n### Examples\r\n\r\n_Without config file:_\r\n\r\nIf you want to use `scss-bundle` without configuration file, `entry` and `dest` arguments are required.\r\n\r\n```sh\r\n$ scss-bundle -e ./src/main.scss -d bundled.scss\r\n```\r\n\r\nOr specifying output `verbosity` level.\r\n\r\n```sh\r\n$ scss-bundle -e ./src/main.scss -d bundled.scss --verbosity Errors\r\n```\r\n\r\n_With config file:_\r\n\r\n```sh\r\n$ scss-bundle -c scss-bundle.config.json\r\n```\r\n\r\n## Config example\r\n\r\n```json\r\n{\r\n    \"entry\": \"./src/main.scss\",\r\n    \"dest\": \"bundled.scss\"\r\n}\r\n```\r\n\r\n| Argument             | Type           | Description                                                       | Values                | Default |\r\n| -------------------- | -------------- | ----------------------------------------------------------------- | --------------------- | ------- |\r\n| entry <sup>`*`</sup> | string         | Main entry file where to start bundling.                          |                       |         |\r\n| dest <sup>`*`</sup>  | string         | Destination file when bundling is done.                           |                       |         |\r\n| watch                | string         | Path that will be watched.                                        |                       |         |\r\n| verbosity            | string choices | Destination file when bundling is done.                           | None, Errors, Verbose | Verbose |\r\n| includePaths         | array          | Include paths for resolving imports                               |                       |         |\r\n| project              | string         | Project location, where `node_modules` are located.               |                       |         |\r\n| ignoredImports       | array          | Ignore resolving import content by matching a regular expression. |                       |         |\r\n`*` - Required\r\n\r\n## Output verbosity\r\n\r\nCLI option `verbosity` is used to control how much output you get. By default, you will get `Verbose` level of verbosity with the most output.\r\n\r\n| Value   | Description                                                                    |\r\n| ------- | ------------------------------------------------------------------------------ |\r\n| None    | Produces no output, only process success/error return code.                    |\r\n| Errors  | Outputs all errors and skips any additional information.                       |\r\n| Verbose | Outputs the most information. This is the `default` value for verbosity level. |\r\n\r\n## Non-CLI usage\r\n\r\n### Simple example\r\n\r\n```typescript\r\nimport * as path from \"path\";\r\nimport { Bundler } from \"scss-bundle\";\r\n\r\n(async () => {\r\n    // Absolute project directory path.\r\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\r\n    const bundler = new Bundler(undefined, projectDirectory);\r\n    // Relative file path to project directory path.\r\n    const result = await bundler.Bundle(\"./main.scss\");\r\n})();\r\n\r\n```\r\n\r\n# API\r\n\r\n## Bundler\r\n\r\n```typescript\r\nimport { Bundler } from \"scss-bundle\";\r\n```\r\n\r\n### Constructor\r\n\r\n```ts\r\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\r\n*   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\r\n\r\n### Methods\r\n\r\n#### Bundle\r\n\r\n```typescript\r\npublic static async Bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `file: string` - Main file full path\r\n*   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`>`\r\n\r\n#### BundleAll\r\n\r\n```typescript\r\npublic static async BundleAll(files: string[], fileRegistry: Registry = {}): Promise<BundleResult[]>\r\n```\r\n\r\n##### Arguments\r\n\r\n*   `files: string[]` - Array of full path files\r\n*   `fileRegistry:`[Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`[]>`\r\n\r\n### Contracts\r\n\r\n#### BundleResult\r\n\r\n```typescript\r\nimport { BundleResult } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface BundleResult {\r\n    imports?: BundleResult[];\r\n    tilde?: boolean;\r\n    filePath: string;\r\n    content?: string;\r\n    found: boolean;\r\n}\r\n```\r\n\r\n##### Properties\r\n\r\n*   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\r\n*   `tidle?: boolean` - Used tilde import\r\n*   `filePath: string` - Full file path\r\n*   `content: string` - File content\r\n*   `found: boolean` - Is file found\r\n\r\n#### Registry\r\n\r\n```typescript\r\nimport { Registry } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface Registry {\r\n    [id: string]: string | undefined;\r\n}\r\n```\r\n\r\n##### Key\r\n\r\n`id: string` - File full path as dictionary id\r\n\r\n##### Value\r\n\r\n`string | undefined` - File content\r\n\r\n## License\r\n\r\nReleased under the [MIT license](LICENSE).\r\n","readmeFilename":"README.md","_id":"scss-bundle@2.5.0-beta","_npmVersion":"6.4.1","_nodeVersion":"11.2.0","_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"dist":{"integrity":"sha512-Fsvg7lWHNPj0V/HoEMhck9kolWNWcsgvqMtc2Ja3eBEh74rve1X0ULISEXyVNYgHwpODLnNrAl5a8Wj+7GgWGA==","shasum":"a473591629aedc0e3138584eec1c039894438a24","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.5.0-beta.tgz","fileCount":23,"unpackedSize":122751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7uIqCRA9TVsSAnZWagAAPcoP/2d+8aDeoihiAUnhMRFB\n8PAzktlSDEn+5wyREawX2J/vgzegF8OjjG9vUEXGzORajvd/UFtjImx+kq/o\nPEDuCCzTNSeuGGERI9RWtG+61WX/0jHvYkF6LKTP0bmlH2CILcq/r+Q0jcjt\nUDMo2SofSubDUYq+B8OT/+QzjbZ6IEkGL1e+rrrIQ/q54ulENqWm9xmhKLhh\nFAFpMzQnT1IISKWSaUQDqz+H0rYQm2d1jVjJkGgs/XX3UwLUI5kvAQvr9gbN\nuLnb5H6uHQWiBVSHesQUfprs/Fnuhb6Og5YXqMa0vRHcFQuBIHqkzmb6iEHy\nXGHDtn6d1Wvoni2nqGEN5j0UiGwWjIA/GnBb26tcl/SWk2zy2uTriMzpMJpm\nj4GB2wQ0KFg7YXv42sKjagX7NCJl2GGz1AnLnX6/culWcv4z64n3fQky9nt+\nmejDpWIOER6DQ10416YQRNKwDbU6RFcaLK+spuSmKSGZVNO2VP54CkrQUyi3\nlWOqomNc29lcXBvMSf6ExJpCQDS6ZXNAYRRqPzdpMZNvbuUu3+vaPn+xY7cV\nA2WLEO4eClGyq14PzxxLet3dblOfu1jemzOmZHGJh7Adw920jS0GzI0Z0FLg\nPZ4EyHXZCVz15UJx3eJ5uiRxupwQVMrBvngLgAOKkHYtS0TOPaejVEdfGSj/\njAm2\r\n=7HB+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8Q4Fn/AE2N3b/bTYVpxj2JVzbkUuYdM4rnOOpKe2lOAIgTjZQxnlisFdxceodfsw9rmkBthBV+rAnU/KudBOvRGU="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.5.0-beta_1542382121924_0.9436655075180409"},"_hasShrinkwrap":false},"2.5.0":{"name":"scss-bundle","version":"2.5.0","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli","start":"node dist/bundle-cli.js -c scss-bundle.config.json"},"keywords":["scss","bundle","sass","node-sass"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"@types/chokidar":"^1.7.5","@types/lodash.debounce":"^4.0.4","archy":"^1.0.0","chokidar":"^2.0.4","fs-extra":"^5.0.0","globs":"^0.1.3","lodash.debounce":"^4.0.8","node-sass":"^4.10.0","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^11.0.0"},"jest":{"collectCoverage":true,"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"557cd6d2221732ad0d0423b117039f0e42434ff0","_id":"scss-bundle@2.5.0","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-6byQLD6iRu6wAddF85YAkM9r+iyvwZ+sCzJP1vqfyQ58Y068UeoXEZF+JCUv9zbmUIAteiSmgAQvD+aJZxxkug==","shasum":"87fbd184b4d68d3d215997de80c69f47eb14182d","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.5.0.tgz","fileCount":23,"unpackedSize":122694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbSrRCRA9TVsSAnZWagAAUzcQAJrsFyzegrY0piPz+0AM\nk2qgODde3WhPxWa+633/x/H41+78fW3tGiU/ss6TBwpKS2SnCkS+9s3Wh3/W\nmmJSQyejB1mVUpjzPV7oXAXwMXVWcOsJcbHMZ4jlzN4Pq5p1inZ9sQMGi04g\nyX4RkesUJj05kH7/PUMVx+lph7pL9z/9UlJDWoXsia3Gsz0CQdrJun1xa0FD\nlzLC19N0D+DjSNbKSxkVWgPE375t656pU48E37dLY3zBfiihwl5bczlpd5SZ\niaj1CCBXQoBGxfuuzGpAdAF+HDDMf71bQfeQlE1WsSo4nRa2s8SanZcjqBds\nmbjrShosigZaNSlDWAGELqZfOW5IspWkyVZw6dEsvAIIte5WnfYltToCpZY8\nyjCz60C+GLY8iLt93sv29ELX6xkkSHEAKPrKtAm51b96QHdnlwj9fHySCDa3\nNAosb26W7Q+PaNbvnMM6cEb3pbP+4YPXHWp8oSmzuwJ5zP6KZUX1qdph9OSe\nknTi7e4LGYuEOt+tnVu5XO5QVJdOdDj+Xq4+Ngir7IsYSmN3o2FdoMczwOWB\nvt3S8/nxx0paNwQRAn7WPwxsh6Y3pliiiJnTonft++XVKVbXJi+CNmLDoDgM\nMIO6PA1k+r37WzrGI1/0C/hS4HF0EYKPczKzo/v2R3v+UnoB7sGkcp4Fj8Z9\nZXkF\r\n=iOdo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2igPs6juZgU1po98xdaSnsI/TWC8VfhoOrFzMKtGKhwIhAPPPDNNmwRW9ge3J0z5/SRFvyKFDmk4/GLCPlfu5w74W"}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.5.0_1550658257016_0.17399070433970643"},"_hasShrinkwrap":false},"2.5.1":{"name":"scss-bundle","version":"2.5.1","description":"Bundling SCSS files to one bundled file.","types":"@types/index.d.ts","main":"index.js","scripts":{"pretest":"npm run build -- --noEmit && npm run build-tests && npm run tslint","test":"jest","test-ci":"npm run pretest && npm run tslint && jest --maxWorkers=4 -b","test-watch":"start npm run build-tests -- --watchAll && jest --watchAll","tslint":"tslint --config ./tslint.json --project . --exclude test/**/* && echo TsLint test successfully passed.","build":"tsc -p . --newLine lf","watch":"tsc -w","prepublishOnly":"npm run build","build-tests":"test-generator-cli","start":"node dist/bundle-cli.js -c scss-bundle.config.json"},"keywords":["scss","bundle","sass","node-sass"],"author":{"name":"simplrjs","email":"simplr@quatrodev.com","url":"https://github.com/simplrjs"},"bugs":{"url":"https://github.com/SimplrJS/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/SimplrJS/scss-bundle.git"},"homepage":"https://github.com/SimplrJS/scss-bundle","license":"MIT","devDependencies":{"@simplrjs/test-generator-cli":"^0.1.3","@types/archy":"0.0.31","@types/fs-extra":"^5.0.1","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/node-sass":"3.10.32","@types/promise":"^7.1.30","@types/yargs":"11.0.0","jest":"^22.4.3","jest-junit":"^6.3.0","simplr-tslint":"1.0.0-alpha.5","ts-jest":"^22.4.2","ts-node":"^5.0.1","tslint":"^5.9.1","typescript":"^2.8.1"},"bin":{"scss-bundle":"./dist/bundle-cli.js"},"dependencies":{"@types/chokidar":"^1.7.5","@types/lodash.debounce":"^4.0.4","archy":"^1.0.0","chokidar":"^2.0.4","fs-extra":"^5.0.0","globs":"^0.1.3","lodash.debounce":"^4.0.8","node-sass":"^4.10.0","pretty-bytes":"^4.0.2","promise":"^8.0.1","yargs":"^13.1.0"},"jest":{"collectCoverage":true,"reporters":["jest-junit"],"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"globals":{"ts-jest":{"skipBabel":true,"tsConfigFile":"tests/tsconfig.json"}},"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx|js)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"coveragePathIgnorePatterns":["/node_modules/","/tests/"],"moduleFileExtensions":["ts","tsx","js"],"verbose":true},"gitHead":"c7166e42105b053a4af50fc4d9a89b323902f1d5","_id":"scss-bundle@2.5.1","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-n5gUfBqbPDuP7LYxG7Oi51jeyErzqhLOtofQl9ctYi8DRwGYpnCJIOl+9L3/o5O5srfM80ADLF/wYg11NUnh3Q==","shasum":"def470dcac93484c7e40a6d4f657498ee5400934","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-2.5.1.tgz","fileCount":23,"unpackedSize":123222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqvHdCRA9TVsSAnZWagAAS3IP/06htJE0RGcbM+7g2I/y\nWk1qA3HJLzUY5TQvx03CM3ZYIJ6WloO96AdqwCmPtFFZ4J9M9wBVMLbISwfl\nQ/F9CYWi10n4/z4vVBPo/bvlafBPpw8H/d+x8xs5lU5LT5abzswnjcKCq0Mm\nZYGYU0C3B7r0PzkkWR5HW+i/sDqTYKh+J71qX851oRObFZifn+8pInmm1WYW\n3RcQHUc7i5rS8urbOl3m6dqacu5EGtJ1AFddD4FWIZpuHVWAoiDuvDO3MOIS\nfq46cWEOkAU809RQ+rjtzcFuxMCuVUt7fCJkUPB0VADacq4zSmEW62w42erD\nRx8rUai+cZvRqELRHcBJ5UrzjDBACI0JPv89+21LSCrVYIY+bEo+ULySXjvg\n2t4bVW2fXGiYt3BHsC4p9Gx9suLRf5UPdfOwkbTODrM4FGeAz2FJgZvuJojh\nq8sw4vs6/cfP0acB3cS73SVn1F7xIVrqSvJIswYQhoY6AxeVOrGrKcm8T2hE\nbptFqI+plysPiOBTRQ4GfRl2fFZ+1bDbUY8Yaowx4/LbhWxZhd7skxWFH5Pf\n4cqyyErD+BLnAvecS0RC0Wqx/EHClmabtwWE4+oSKBSR8gx2kReOtxCEKDHr\nS5IdDPyU8m9Lk6Zvaa+HCoY/cHO4dBoN11+t+HC9h+sFcnVlSDxtLxA/5a10\nxW/T\r\n=w6M3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOHZQAcRaXjHoAc5K+XsbxrL8QflaD8YAnSSqEjp1zEAIhAPGsXfst8Db+ixoomhpHYibjYfgraMC4GDxewjgytNlK"}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_2.5.1_1554706908975_0.31428693455577794"},"_hasShrinkwrap":false},"0.0.0-canary.a99866c":{"name":"scss-bundle","version":"0.0.0-canary.a99866c","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"./dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.4","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^2.20.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.a99866c.tgz","readme":"# scss-bundle\r\n\r\nBundles all SCSS imports into a single file recursively.\r\n\r\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\r\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\r\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\r\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\r\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\r\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\r\n\r\n### Who uses `scss-bundle`\r\n\r\nA few of the projects who use the package:\r\n\r\n-   [Angular/material2](https://github.com/angular/material2)\r\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\r\n\r\n## Get started\r\n\r\nIf you want to use `scss-bundle` globally\r\n\r\n```sh\r\n$ npm install scss-bundle -g\r\n```\r\n\r\nLatest dev build is published under `canary` tag.\r\n\r\n```sh\r\n$ npm install scss-bundle@canary\r\n```\r\n\r\nTo start using the tool, create a [config](#example-config) file and run command:\r\n\r\n```\r\n$ scss-bundle\r\n```\r\n\r\nIt will bundle all scss files in specified `outFile` location.\r\n\r\n## CLI Usage\r\n\r\n```sh\r\n$ scss-bundle -h\r\n```\r\n\r\n## Configuration\r\n\r\nConfig file properties can be overridden with CLI flags.\r\n\r\n| CLI Flag                                | Bundler options          | Type     | Description                                                                      | Values                                     | Default |\r\n| --------------------------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------- | ------------------------------------------ | ------- |\r\n| -p, --project \\<path\\>                  |                          | string   | Project location where `scss-bundle.config.json` and `node_modules` are located. |                                            | _cwd_   |\r\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                                      |                                            |         |\r\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                                          |                                            |         |\r\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                                     |                                            |         |\r\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                                   |                                            |         |\r\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression.                |                                            |         |\r\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                                             |                                            |         |\r\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                                     |                                            |         |\r\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                               | silent, error, warning, info, debug, trace | info    |\r\n\r\n`*` - Required\r\n\r\n### Example config\r\n\r\nDefault name for configuration is `scss-bundle.config.json`.\r\n\r\n```json\r\n{\r\n    \"bundlerOptions\": {\r\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\r\n        \"rootDir\": \"./tests/cases/simple/\",\r\n        \"outFile\": \"./bundled.scss\",\r\n        \"ignoreImports\": [\"~@angular/.*\"],\r\n        \"logLevel\": \"silent\"\r\n    }\r\n}\r\n```\r\n\r\n## Non-CLI usage\r\n\r\n### Simple example\r\n\r\n```typescript\r\nimport path from \"path\";\r\nimport { Bundler } from \"scss-bundle\";\r\n\r\n(async () => {\r\n    // Absolute project directory path.\r\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\r\n    const bundler = new Bundler(undefined, projectDirectory);\r\n    // Relative file path to project directory path.\r\n    const result = await bundler.bundle(\"./main.scss\");\r\n})();\r\n```\r\n\r\n# API\r\n\r\n## Bundler\r\n\r\n```typescript\r\nimport { Bundler } from \"scss-bundle\";\r\n```\r\n\r\n### Constructor\r\n\r\n```ts\r\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\r\n```\r\n\r\n##### Arguments\r\n\r\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\r\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\r\n\r\n### Methods\r\n\r\n#### bundle\r\n\r\n```typescript\r\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\r\n```\r\n\r\n##### Arguments\r\n\r\n-   `file: string` - Main file full path\r\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`>`\r\n\r\n### Contracts\r\n\r\n#### BundleResult\r\n\r\n```typescript\r\nimport { BundleResult } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface BundleResult {\r\n    imports?: BundleResult[];\r\n    tilde?: boolean;\r\n    filePath: string;\r\n    content?: string;\r\n    found: boolean;\r\n}\r\n```\r\n\r\n##### Properties\r\n\r\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\r\n-   `tilde?: boolean` - Used tilde import\r\n-   `filePath: string` - Full file path\r\n-   `content: string` - File content\r\n-   `found: boolean` - Is file found\r\n\r\n#### Registry\r\n\r\n```typescript\r\nimport { Registry } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface Registry {\r\n    [id: string]: string | undefined;\r\n}\r\n```\r\n\r\n##### Key\r\n\r\n`id: string` - File full path as dictionary id\r\n\r\n##### Value\r\n\r\n`string | undefined` - File content\r\n\r\n## License\r\n\r\nReleased under the [MIT license](LICENSE).\r\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.a99866c","_nodeVersion":"10.16.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-e7HgRGi+nhkLgLIORIsWHRhRgnrKRGWSoIZwNHL6qtBA0NN5WnWrXD2fFglHCd5vq98pt1U8XV6zLc65CHiWEA==","shasum":"83f5a5ce0f6bdbd920770206a395b3f8b3a6ca4e","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.a99866c.tgz","fileCount":47,"unpackedSize":55748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVb3TCRA9TVsSAnZWagAA2JQP/iww+L3MYLt0dkr/4/HR\nRwoifxN6lFzMSJN+K1zk0+42JLbZ25JNZl1TmdPJe0GtMmcyesQzT0WoVEbG\n+WvzcwTVD36G3dAEm/sEbFTMM2OVbJQVOB28GaNMpdhS5N6OVuzdrlVOnYgj\nRYfYQJUhcEKni+7uw98JEkdb7kPzUImO7tks1vxGiM/rTneW6QRVPC7UmPXh\nzwZ2qUSXusRx9pUQkCcO5pxRJgOTiGBVPd1Y8EEu0URkcmOlpWEcVJIwW3fL\na7ojYXslDp/TUrv1VHjSoN8AxJfdghvwA1f9Ex0AH5lucMXRW5CgupF7UrYy\ne059ZUg8viGMksej/kuQk6LTFx8Gm903CAqWVDip/n9UTRss1gq4vaZYhJxg\ny0ujXFhVHDXgrJ1kBNSNxcZyW6DqJLftrmMwpQPdN0FOGLHV9fldFzsJUlfr\nedCK3nqMNbFsT0n/+irlmn6U1PStwvbHadBIPZwhNBDo/5g3AUthWfMi4OpH\njGaH8LMM74Ut15b9MXsGI1qgiVsGjcREqAhcVYunOwDINJTXQp5rPK5ZfUB8\nbhLpVwLZLiJaVXw/WysN3x0KyaPkjphMdOSF5VYWtZGthOkHkJ0faWtPZuUK\n4+QZ/sPfEtE2YkWWdzCbCvYgQkNff6jTnrDNWcPLhk7heER888lBaEVrw+Dr\nS2AZ\r\n=1qwN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtsbZPgIkugcoCas2fsHybZHDed9yVJDDmvV9K7mWopAiBx1qEvHbyKF20AXwo+R2+Bwk7b0lQkdHeAyOcrAl6+6g=="}]},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"_npmUser":{"name":"quatrodev","email":"dovydas@quatrodev.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.a99866c_1565900242720_0.7190461366934291"},"_hasShrinkwrap":false},"0.0.0-canary.2466c2b":{"name":"scss-bundle","version":"0.0.0-canary.2466c2b","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.2466c2b.tgz","readme":"# scss-bundle\r\n\r\nBundles all SCSS imports into a single file recursively.\r\n\r\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\r\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\r\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\r\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\r\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\r\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\r\n\r\n### Who uses `scss-bundle`\r\n\r\nA few of the projects who use the package:\r\n\r\n-   [Angular/material2](https://github.com/angular/material2)\r\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\r\n\r\n## Get started\r\n\r\nIf you want to use `scss-bundle` globally\r\n\r\n```sh\r\n$ npm install scss-bundle -g\r\n```\r\n\r\nLatest dev build is published under `canary` tag.\r\n\r\n```sh\r\n$ npm install scss-bundle@canary\r\n```\r\n\r\nTo start using the tool, create a [config](#example-config) file and run command:\r\n\r\n```\r\n$ scss-bundle\r\n```\r\n\r\nIt will bundle all scss files in specified `outFile` location.\r\n\r\n## CLI Usage\r\n\r\n```sh\r\n$ scss-bundle -h\r\n```\r\n\r\n## Configuration\r\n\r\nConfig file properties can be overridden with CLI flags.\r\n\r\n| CLI Flag                                | Bundler options          | Type     | Description                                                                      | Values                                     | Default |\r\n| --------------------------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------- | ------------------------------------------ | ------- |\r\n| -p, --project \\<path\\>                  |                          | string   | Project location where `scss-bundle.config.json` and `node_modules` are located. |                                            | _cwd_   |\r\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                                      |                                            |         |\r\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                                          |                                            |         |\r\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                                     |                                            |         |\r\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                                   |                                            |         |\r\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression.                |                                            |         |\r\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                                             |                                            |         |\r\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                                     |                                            |         |\r\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                               | silent, error, warning, info, debug, trace | info    |\r\n\r\n`*` - Required\r\n\r\n### Example config\r\n\r\nDefault name for configuration is `scss-bundle.config.json`.\r\n\r\n```json\r\n{\r\n    \"bundlerOptions\": {\r\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\r\n        \"rootDir\": \"./tests/cases/simple/\",\r\n        \"outFile\": \"./bundled.scss\",\r\n        \"ignoreImports\": [\"~@angular/.*\"],\r\n        \"logLevel\": \"silent\"\r\n    }\r\n}\r\n```\r\n\r\n## Non-CLI usage\r\n\r\n### Simple example\r\n\r\n```typescript\r\nimport path from \"path\";\r\nimport { Bundler } from \"scss-bundle\";\r\n\r\n(async () => {\r\n    // Absolute project directory path.\r\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\r\n    const bundler = new Bundler(undefined, projectDirectory);\r\n    // Relative file path to project directory path.\r\n    const result = await bundler.bundle(\"./main.scss\");\r\n})();\r\n```\r\n\r\n# API\r\n\r\n## Bundler\r\n\r\n```typescript\r\nimport { Bundler } from \"scss-bundle\";\r\n```\r\n\r\n### Constructor\r\n\r\n```ts\r\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\r\n```\r\n\r\n##### Arguments\r\n\r\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\r\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\r\n\r\n### Methods\r\n\r\n#### bundle\r\n\r\n```typescript\r\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\r\n```\r\n\r\n##### Arguments\r\n\r\n-   `file: string` - Main file full path\r\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`>`\r\n\r\n### Contracts\r\n\r\n#### BundleResult\r\n\r\n```typescript\r\nimport { BundleResult } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface BundleResult {\r\n    imports?: BundleResult[];\r\n    tilde?: boolean;\r\n    filePath: string;\r\n    content?: string;\r\n    found: boolean;\r\n}\r\n```\r\n\r\n##### Properties\r\n\r\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\r\n-   `tilde?: boolean` - Used tilde import\r\n-   `filePath: string` - Full file path\r\n-   `content: string` - File content\r\n-   `found: boolean` - Is file found\r\n\r\n#### Registry\r\n\r\n```typescript\r\nimport { Registry } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface Registry {\r\n    [id: string]: string | undefined;\r\n}\r\n```\r\n\r\n##### Key\r\n\r\n`id: string` - File full path as dictionary id\r\n\r\n##### Value\r\n\r\n`string | undefined` - File content\r\n\r\n## License\r\n\r\nReleased under the [MIT license](LICENSE).\r\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.2466c2b","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"name":"quatrodev","email":"dovydas@quatrodev.com"},{"name":"simplrjs","email":"dovydas@quatrodev.com"}],"dist":{"integrity":"sha512-rAID4zugG/pX6DSriVwoBF+TRXhNkyjRVv3JJUIC09WvcVtgHU1pmfpPucPIrq9lZRGVRaLeIjivAQFDxq9NUw==","shasum":"ac9697b6ed7147076f508863f2ce428a9a90800d","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.2466c2b.tgz","fileCount":47,"unpackedSize":55773,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVdaxCRA9TVsSAnZWagAAuQwP/3ijgSCvHeC3HVhB4vPZ\nhRhTzA2Lo65BsNOnEbakoaNnbl03DsTH9C9cZWtANIS/C0eEaur100AUbQWv\nJvB9xMhVPIujG5P8n2s6CQXcE8EtqwbLNvKBFZcGuRwLAIV8gp3jmlaM+TjM\njEv2PyLk2KRkGb0VzqAVTEiGy//Bt8iTAaOEy26zIPvlOZqejXHirwiLflgX\nTmQDYzNL3of2LdLvLXWpQFDRQS+PcLSQmKCskkDMtbLmWbiZns7vFtHWHLvI\n4CAFc7eLtA1WoPpOpvMT8Fz9YmTyHAea4O3hJUUNUkBxmFkrycee2fK12I2n\nUxda/CmNhqmvC5u0s94e4b9ub6GWCiRC//FKLcChwUIkX5mYaAVQJSB4rRxW\nHL3FKruTyiwHFoXyKMnnHoXK5fj3tbOKTF3lcVaYitKBYi/nDcd3QZ/iVIfK\nS3h7viRCzO/MCiBF8c9EuDAva+F4haw6SKhYlV/tRwZsApvM162S7inL6hIA\nA1m4Ib/i+39BDerjn3lSA2v3sUZM+d/r/tWudmsA1I8o7nUITe3XEFzqpiXf\nRUNyUkAAmmuPydVwdQfk45+PPuWtgDnYRxTN7T2R8gj4auM89Np7AQ5sODY1\nzCnEfSxypi5zhzIDObXjZGK8evswhwK0lN81w7aNlD1V6WA9s161dkbiptMS\n2gEo\r\n=kJuF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETWsGQ4ibpEHT3OO9J6k/A5yrnGerdQwYfGaUplL9j5AiEAnFSMNKjwPYxJcFrfv1X9yUUkTWU82c9SqHCL+6boGEI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.2466c2b_1565906608425_0.5407600708738936"},"_hasShrinkwrap":false},"3.0.0":{"name":"scss-bundle","version":"3.0.0","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-3.0.0.tgz","_id":"scss-bundle@3.0.0","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-XFWNUE5WGsU8+EShWFb7rK5KF28dozDlCnXfBbsVddHxNsaJ4EdCoeS5pA8jFkG6fE4/GwlO0SIjIVoEkUciww==","shasum":"a5ccf84f17fa274b4f6090659a4e9392a85d4ce0","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-3.0.0.tgz","fileCount":47,"unpackedSize":55758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWojbCRA9TVsSAnZWagAAtQkP/j2akjMeGV4iA8FdSzqA\nAgFmPPvGUvgZuIkHiMcqL+DkkakQtwRfkFWJrnHFQn+DhVejq55KqVj+73hb\nz1vEZLBz4uqLGbRgK80IYXf+W3DJOghcPfTO944QOeUQVYXaXnMNMN43BOeK\nfLXYDX7I3LrQsr22v+Jav4ZQaPmx41kACMuNt03cGi5FoIGP2bQJBTWUzAMx\nPDtHGMLE0PsAI+SlOAdLpKaTLJVsKwPDuFnTQU4KquQIGNqf4JluKYJUDIsT\nsZhDSArp4JmdkwM5eKULWNvT1HaIcekwvJ+0JGQqxtzkskiZVcmRnthDoyeB\nZLtuH0PkaIn7a1JcUk4L4B2ZiOYVvbeKU5XauJOLnDwNP4/2BVbJwBscs1Bd\nN3mLU5tFcZ/V/+RaG7bg3lJ0kF0n24xf9poIjGGM3vkpTaCUPnUp3xqBVzx7\nKKNh3f2H/uhbBLFqAZ/U0vKKtBDi3upntF5YyMyFU7YOcNJ4XvAa4ehP5nvI\njMxReM1hSYGD4a/fg6H9TAuSY/5zqHLXSn/t9bMm5Nvl+LcvUAVQdO8xcFvL\nXTt6fy3umd4OgY5WY2VMN2B4bcCOooMYYvTxYNUvpJiKvKwmuNVD/bHFV1/X\ndmWU/GTVOcklbNRfDckKJjvwFd6Eiv/mdR1vD8vd7rTCChGc0PPA++LfNjHH\nCU+z\r\n=44u5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFpWN6IjJURqQFanKn9Q1XXeEu5XIBWsqOaEBXD2KltAiEA/pXQC3/I7Tq4eTQH6VoA8i4UaqLfCvmWCzrP+u44IvI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_3.0.0_1566214362421_0.563462609653544"},"_hasShrinkwrap":false},"0.0.0-canary.68aba9f":{"name":"scss-bundle","version":"0.0.0-canary.68aba9f","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.68aba9f.tgz","readme":"# scss-bundle\r\n\r\nBundles all SCSS imports into a single file recursively.\r\n\r\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\r\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\r\n\r\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\r\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\r\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\r\n\r\n\r\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\r\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\r\n\r\n### Who uses `scss-bundle`\r\n\r\nA few of the projects who use the package:\r\n\r\n-   [Angular/material2](https://github.com/angular/material2)\r\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\r\n\r\n## Get started\r\n\r\nIf you want to use `scss-bundle` globally\r\n\r\n```sh\r\n$ npm install scss-bundle -g\r\n```\r\n\r\nLatest dev build is published under `canary` tag.\r\n\r\n```sh\r\n$ npm install scss-bundle@canary\r\n```\r\n\r\nTo start using the tool, create a [config](#example-config) file and run command:\r\n\r\n```\r\n$ scss-bundle\r\n```\r\n\r\nIt will bundle all scss files in specified `outFile` location.\r\n\r\n## CLI Usage\r\n\r\n```sh\r\n$ scss-bundle -h\r\n```\r\n\r\n## Configuration\r\n\r\nConfig file properties can be overridden with CLI flags.\r\n\r\n| CLI Flag                                | Bundler options          | Type     | Description                                                                      | Values                                     | Default |\r\n| --------------------------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------- | ------------------------------------------ | ------- |\r\n| -p, --project \\<path\\>                  |                          | string   | Project location where `scss-bundle.config.json` and `node_modules` are located. |                                            | _cwd_   |\r\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                                      |                                            |         |\r\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                                          |                                            |         |\r\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                                     |                                            |         |\r\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                                   |                                            |         |\r\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression.                |                                            |         |\r\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                                             |                                            |         |\r\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                                     |                                            |         |\r\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                               | silent, error, warning, info, debug, trace | info    |\r\n\r\n`*` - Required\r\n\r\n### Example config\r\n\r\nDefault name for configuration is `scss-bundle.config.json`.\r\n\r\n```json\r\n{\r\n    \"bundlerOptions\": {\r\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\r\n        \"rootDir\": \"./tests/cases/simple/\",\r\n        \"outFile\": \"./bundled.scss\",\r\n        \"ignoreImports\": [\"~@angular/.*\"],\r\n        \"logLevel\": \"silent\"\r\n    }\r\n}\r\n```\r\n\r\n## Non-CLI usage\r\n\r\n### Simple example\r\n\r\n```typescript\r\nimport path from \"path\";\r\nimport { Bundler } from \"scss-bundle\";\r\n\r\n(async () => {\r\n    // Absolute project directory path.\r\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\r\n    const bundler = new Bundler(undefined, projectDirectory);\r\n    // Relative file path to project directory path.\r\n    const result = await bundler.bundle(\"./main.scss\");\r\n})();\r\n```\r\n\r\n# API\r\n\r\n## Bundler\r\n\r\n```typescript\r\nimport { Bundler } from \"scss-bundle\";\r\n```\r\n\r\n### Constructor\r\n\r\n```ts\r\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\r\n```\r\n\r\n##### Arguments\r\n\r\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\r\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\r\n\r\n### Methods\r\n\r\n#### bundle\r\n\r\n```typescript\r\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\r\n```\r\n\r\n##### Arguments\r\n\r\n-   `file: string` - Main file full path\r\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`>`\r\n\r\n### Contracts\r\n\r\n#### BundleResult\r\n\r\n```typescript\r\nimport { BundleResult } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface BundleResult {\r\n    imports?: BundleResult[];\r\n    tilde?: boolean;\r\n    filePath: string;\r\n    content?: string;\r\n    found: boolean;\r\n}\r\n```\r\n\r\n##### Properties\r\n\r\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\r\n-   `tilde?: boolean` - Used tilde import\r\n-   `filePath: string` - Full file path\r\n-   `content: string` - File content\r\n-   `found: boolean` - Is file found\r\n\r\n#### Registry\r\n\r\n```typescript\r\nimport { Registry } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface Registry {\r\n    [id: string]: string | undefined;\r\n}\r\n```\r\n\r\n##### Key\r\n\r\n`id: string` - File full path as dictionary id\r\n\r\n##### Value\r\n\r\n`string | undefined` - File content\r\n\r\n## License\r\n\r\nReleased under the [MIT license](LICENSE).\r\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.68aba9f","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-U0VaILFynjQOuHCMvLz4JhWCT+JG6dmSQ+mCdb1LlkICwjibGutbdZ9Ya+pPyMGrCFhE4X93ZiSPBQI0Dopbog==","shasum":"ed0cdef2b5ae4137f08cc519f1bc4732aca89388","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.68aba9f.tgz","fileCount":47,"unpackedSize":55891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWqGzCRA9TVsSAnZWagAADQIP/Rgzp8B6sC/IGE31NOdJ\nZyvYM/Uy3XzWb/J/v0wAowxXfok6DgFls8gmk/raegBqfrzdDFlidFFzXP+n\nHvIVgOaR235D02P1ox/qqD/DKcL5lBYkmdi315A2Xy2xqwpbiIZ18ijJtlSj\nMd7lCi4SfxrNF3whSqOz5aaB2aOHINoIa5S5GqPDCotDiXUV7zSOw/AxDFKk\n1t7HMxY2KCi4H9VvNidEeQ4WtO9YXsFleWlUQjV7C6hGOrSO4tZvv+g81Bpc\nrrzyMOLfaRir5zm3THDrnCU/yIl+N0Zd/U2csrDrdq8qryHNpNYMVmDVM4iv\nMzThgtT4nMviLv4aoJ35NksKSnqDa6hQBFGS/A/cllQIkvb/EigV3u3djKnZ\ntLzwYY63T3crvyOWfI+pNPsn5tR4ge+xF7LmyMUb6ZnRDORLIYhEdrPdZdBk\ncqc+ggxA5wp++vK6Q+vs7NiLOVXxthI9PaYPY/l30VRU4MRiSYug9vNMMG+/\nh6Z5eQRV5xRB6OXZUN4kcGMYcnYm2eoT0N/u/xUYJIa8I7sKKUcE+4dkU+qm\nDZkX1vi5OVdac1korLMuAn9WBUyal+ONT4mgHb65tLoYl1QzwR8LCAJBQZfC\nBhpJMhuYQ9BQpR3nq4JlSP8v10A7lxrAzhhUTblhPRlUlKtT7ZUrxr8dTeYl\nL/eN\r\n=i2Tp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpuNtF7PKtiAG24LJAE/NAReKaQn0kz+aYK01Wth5PPAiEAnkUHFUvDKMXQRKA4B6wnaUk32JpVDxB4HcbmM8x/oaI="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.68aba9f_1566220722810_0.7371527053101203"},"_hasShrinkwrap":false},"0.0.0-canary.53afdbe":{"name":"scss-bundle","version":"0.0.0-canary.53afdbe","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.53afdbe.tgz","readme":"# scss-bundle\r\n\r\nBundles all SCSS imports into a single file recursively.\r\n\r\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\r\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\r\n\r\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\r\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\r\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\r\n\r\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\r\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\r\n\r\n### Who uses `scss-bundle`\r\n\r\nA few of the projects who use the package:\r\n\r\n-   [Angular/material2](https://github.com/angular/material2)\r\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\r\n\r\n## Get started\r\n\r\nIf you want to use `scss-bundle` globally\r\n\r\n```sh\r\n$ npm install scss-bundle -g\r\n```\r\n\r\nLatest dev build is published under `canary` tag.\r\n\r\n```sh\r\n$ npm install scss-bundle@canary\r\n```\r\n\r\nTo start using the tool, create a [config](#example-config) file and run command:\r\n\r\n```\r\n$ scss-bundle\r\n```\r\n\r\nIt will bundle all scss files in specified `outFile` location.\r\n\r\n## CLI Usage\r\n\r\n```sh\r\n$ scss-bundle -h\r\n```\r\n\r\n## Configuration\r\n\r\nConfig file properties can be overridden with CLI flags.\r\n\r\n| CLI Flag                                | Bundler options          | Type     | Description                                                                      | Values                                     | Default |\r\n| --------------------------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------- | ------------------------------------------ | ------- |\r\n| -p, --project \\<path\\>                  |                          | string   | Project location where `scss-bundle.config.json` and `node_modules` are located. |                                            | _cwd_   |\r\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                                      |                                            |         |\r\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                                          |                                            |         |\r\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                                     |                                            |         |\r\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                                   |                                            |         |\r\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression.                |                                            |         |\r\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                                             |                                            |         |\r\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                                     |                                            |         |\r\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                               | silent, error, warning, info, debug, trace | info    |\r\n\r\n`*` - Required\r\n\r\n### Example config\r\n\r\nDefault name for configuration is `scss-bundle.config.json`.\r\n\r\n```json\r\n{\r\n    \"bundlerOptions\": {\r\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\r\n        \"rootDir\": \"./tests/cases/simple/\",\r\n        \"outFile\": \"./bundled.scss\",\r\n        \"ignoreImports\": [\"~@angular/.*\"],\r\n        \"logLevel\": \"silent\"\r\n    }\r\n}\r\n```\r\n\r\n## Non-CLI usage\r\n\r\n### Simple example\r\n\r\n```typescript\r\nimport path from \"path\";\r\nimport { Bundler } from \"scss-bundle\";\r\n\r\n(async () => {\r\n    // Absolute project directory path.\r\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\r\n    const bundler = new Bundler(undefined, projectDirectory);\r\n    // Relative file path to project directory path.\r\n    const result = await bundler.bundle(\"./main.scss\");\r\n})();\r\n```\r\n\r\n# API\r\n\r\n## Bundler\r\n\r\n```typescript\r\nimport { Bundler } from \"scss-bundle\";\r\n```\r\n\r\n### Constructor\r\n\r\n```ts\r\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\r\n```\r\n\r\n##### Arguments\r\n\r\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\r\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\r\n\r\n### Methods\r\n\r\n#### bundle\r\n\r\n```typescript\r\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\r\n```\r\n\r\n##### Arguments\r\n\r\n-   `file: string` - Main file full path\r\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\r\n\r\n##### Returns\r\n\r\n`Promise<`[BundleResult](#bundleresult)`>`\r\n\r\n### Contracts\r\n\r\n#### BundleResult\r\n\r\n```typescript\r\nimport { BundleResult } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface BundleResult {\r\n    imports?: BundleResult[];\r\n    tilde?: boolean;\r\n    filePath: string;\r\n    content?: string;\r\n    found: boolean;\r\n}\r\n```\r\n\r\n##### Properties\r\n\r\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\r\n-   `tilde?: boolean` - Used tilde import\r\n-   `filePath: string` - Full file path\r\n-   `content: string` - File content\r\n-   `found: boolean` - Is file found\r\n\r\n#### Registry\r\n\r\n```typescript\r\nimport { Registry } from \"scss-bundle\";\r\n```\r\n\r\n```typescript\r\ninterface Registry {\r\n    [id: string]: string | undefined;\r\n}\r\n```\r\n\r\n##### Key\r\n\r\n`id: string` - File full path as dictionary id\r\n\r\n##### Value\r\n\r\n`string | undefined` - File content\r\n\r\n## License\r\n\r\nReleased under the [MIT license](LICENSE).\r\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.53afdbe","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-+RmOfGFKsEs8LYMIEh5+deHEIBnkSS3gh/fnoPUPJXTAmHHYBTyEXzdoVLXB3nYSi9F/atidvePydsDBwmxPjg==","shasum":"bbeeae0c134e6f158e21fef471de915bbaa9aa81","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.53afdbe.tgz","fileCount":47,"unpackedSize":55889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWqJDCRA9TVsSAnZWagAA2LQP/2hzx2RXiAaOhqiTz5jg\nzmeaJjzHxIlYQM528Sa8H95fiK4E5BKAgPJgiIT3jCkJW1IXvCvr6P106QhI\n57nEqLbpN1iW/3x9popL+uxcy7zJGPOYZ3JA3/V0WuYK41uceGsJ+ZnKAA51\nPbfJybGC9R+hA0S1b6JS4JD0/4r6tCr8VEpfFLpFlqlLjdMudjQdKrfQPi5p\n/9vJZP8dOMpcVMfN5pX5WD4X189BXCKtQddzC7VvMHAB1+bnMN79md9WUqZ5\n7+ZQjaNzyrwzptG4f0TdJze4KZQMCJzPAgx9YcQvgOJls8AaZSQ0t1zT0VxD\nNzz2h0whifkvsWiUK+3wIF7Ccyoh+COm+vKMVAgNMyQOme2DIf3bwzluuLLA\nNsnjhwKCGQiSM1BI7dHOaVC/sbcb8NqXEPqqFYGSHa+Xcf+elMaHCtitXlrF\ne+TJuUmu37/I+UBmK+59fKgU0hlxxDxwDju8mGMMt+Mgpdli9c5ph9tMzbiG\nVEXgEta3a0nmD12+mtTUKH4/W5ZF69EliIxwZP3SUOxeeorXQABA0HPZ4AwU\nESXAdf2Vw1j8PVWrPSMAp8WEDaTDER8Iem5KMoAGNg0CyJfyPMy5eF+tuHHo\nWLibFxFckJujdVFDcQjaQL5+vkqMaApvtFfYLnB3aJNH+Rfyhbo7jwpwLwsO\n4sZG\r\n=rHnS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5j8qKM9J9c2rGOrQe8fDHPiAGhfkiD9cK+fnnOpNmMAiEA66lUqlwnNzDcpJxLVzifXauynedZghNhrfuoxfORUh4="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.53afdbe_1566220867236_0.7590915739795772"},"_hasShrinkwrap":false},"0.0.0-canary.e3c9a99":{"name":"scss-bundle","version":"0.0.0-canary.e3c9a99","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.e3c9a99.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\nA few of the projects who use the package:\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                                      | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -p, --project \\<path\\>                  |                          | string   | Project location where `scss-bundle.config.json` and `node_modules` are located. |                                            | _cwd_   |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                                      |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                                          |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                                     |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                                   |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression.                |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                                             |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                                     |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                               | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.e3c9a99","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-/JklpXd8tm9sTCme86mCZt0PBQRcwVzYp3edctMZOr0nXU4AOVKP++/ajN5HCzQH8GFSDmIiuamRCM2Brmqk0g==","shasum":"25ebe6f30eefdaad901efbb9f12d7e24507706ad","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.e3c9a99.tgz","fileCount":45,"unpackedSize":54763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXA74CRA9TVsSAnZWagAAjr4P/jJc+IMZ9/DSyuAp2nhQ\ncS3f6PN0MjfkbhAA2z3XMxisgEt92YL/tvf08GmehoYt2JTFEwM9/DKA4ZFy\nWnx2uN9tV8tc38e/6w6ajwC0PgQZ/SkaEOLhjxmi5WshGSJfNQCQ920Rp8zI\nlPwzV/pniUnh+A6ght8GfHckWIVok6+pwOZ0QCusn2oNNMsgzYC9GVwqM0HR\n2YBLS1I0c+tKuUEbnH+z9wUo0GkX7Y6CmNz+0XJ/k9gRi1Yb9e3J6Sfin5c1\nGbgwtoSJAwD/728G0zAGZ4z95tmMwFubAsM++it4v6S4aglSX2SlRStgfAcN\nZGTY++/1aitTgHbCvs1zqaUskMF4iasgi6G3wjQk/LzGGEqSmKvyojoiwToQ\n6E88Z8pJ4yQsBjWRLgLkMQoz+WSlUlY69tgpuyx2Eao3EOVimb/2mpgPwZJq\ncF6a0SV+pgyT60IjoqqYRB2jFLwbzLzUiuMbKeQ0IUl4lOKaLE5oYWRCz1bd\nuPPGQZJ+b9Zbfnrd48W+z6xjreskBfGPmdA1CZRiiX2bqquTDFGNkvtmJKgy\nRM8UNwFUQ30Ckj8OnupH/eUCbiAoNTnut1ccJds88vYT6KqPCvZFApcl25bo\nU0sCQXBAC0fJSw3+3bXqjZBkYy/Xn3VyrS1C3m13JkeN3ff1tYIIZ8hCXUi0\nVxri\r\n=wx/c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2oRcDbtpFL5ake9XBL4+aeqpkH+gRpYiZifMLubKkMwIhAM5/nbn6RiSBhN7JgvIqKu7xdyU61vfT3m+sa141nR/3"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.e3c9a99_1566314231544_0.39305880813896343"},"_hasShrinkwrap":false},"0.0.0-canary.3100315":{"name":"scss-bundle","version":"0.0.0-canary.3100315","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.3100315.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\nA few of the projects who use the package:\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                                      | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -p, --project \\<path\\>                  |                          | string   | Project location where `scss-bundle.config.json` and `node_modules` are located. |                                            | _cwd_   |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                                      |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                                          |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                                     |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                                   |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression.                |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                                             |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                                     |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                               | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.3100315","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-QiAAYKTE3ZghYjbQhzrAgjO75Hei6m5lcl5jKolnD3phN/wBBYQAmKnobOXbPzHfR/XXtyuMCnNlm1GmfR0UuQ==","shasum":"c257ca9d256b1d34e15c664c9fcd14f3e9aba1a7","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.3100315.tgz","fileCount":45,"unpackedSize":54803,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXBDRCRA9TVsSAnZWagAAdfYQAIkUelAjPGj8dfVFcZyO\nBSVJve1Mdn+CuANfanGgwxu8fPzFoGuyRBgXxEXfxQCp8tz/TZflXNt2R6hq\nHHiXHe/1bvtCgW0s8vS+sE0y9MY0ew1tfQ8zgmjHb6eiFukoePBsMyeirUVF\nK0TTMLdyso65xl45W4/ozynD0yiL1wdQ+NjwAkfa4ja6Milixc0Jh3sXnV6n\nSlYAKT3GBZa+Z9/EgRZw/O8Tbdh7UelxLBaX9ZsRNkrzvrKMRWwQe1LExArz\nRLlj8zQIT4IlUZtyGASYZfM6/O71bNz9bR0FEwMJCQ330ArWjtCsvLOuMwz3\nuvwiHH5+TItAWP/KLRkuhvRn6fT9AD7YAeC85vFX7/Blew1aT95FuJi10I3R\nliz5ECQonT7SmNXmxmXHZtBKhgKkrn+kGeSu/hoP7W7tJbwjW3KEYmWFUZBj\ncmORcYSAuX9gzFHdRUr4Dgtx58p8Fs1FPUAYeI3mWk27+JxjGOT+gC0YiBEy\n3HYeZjcg5seqsG3kQU58ZoAs6ZLhdvBMbqs+RYnBqkxE9Zgl+cPPC8cMndHt\nJ13AHareYIVC1PuxSM7TcRqv5wJAedcfbaiNCNFMv34IWPUNnKknfCbQ0AaQ\nHZkaU/4fYRrrDvb16vOvgpUVM+UxdYs9MgkB3+P5p29r4MwiPuWHZYn5N6ag\ndGuS\r\n=cMLj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb9y6uRw8CN7RWyipyvoBby37P/qRGD+KHPwJWBKeNVgIgLe8BerjUc/Rr6ELukYuseJ4agWzwbKtpfSpryadOWMw="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.3100315_1566314704436_0.588275048376407"},"_hasShrinkwrap":false},"3.0.1":{"name":"scss-bundle","version":"3.0.1","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-3.0.1.tgz","_id":"scss-bundle@3.0.1","_nodeVersion":"10.16.1","_npmVersion":"6.10.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-FADMAr+GxyJggVPiDYf8IwbqCGWj9tnW8lS4Ol56l/eZ5E8i7qHAaTmurJzG3Vff/0sDAKCeHFgoTKaq5Tz13A==","shasum":"09c9b6b2158e0ade4ee37f29f6db22858aff7202","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-3.0.1.tgz","fileCount":45,"unpackedSize":54788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXBKxCRA9TVsSAnZWagAAMlUP/1cZEWHQwolGi+HzCdNS\nVtm27mi6j105A8oPXI9pIB7477S3wHRBJP8HkPA6AHF2ajDVSHegXj5Z8X6E\nlsBKRfzE/3LTon/7vC607zVynrdRzvCIaoDUqVnvUAiS8r+MS165DLGrwyZU\nWqLygp3+WmKCuwa+qmlTyJuTStNheZ//vooR7MdktS7EGZyHrFV/ghweomyh\nQEz3L8LDnp9FCOSlPW+kTXuNEceBw+/2ae3xyUxONBt3HqdTS/qnuV3gXfZf\nFl8Z51qbltrNrTfmbz+1PhdHoHQrddbbGZnZeGWNCnlBpdeUqe5/e7o1BIAd\nO370lCEiDTlLrnOF67CiNBaj3U2RrV5y9ZeA/Lv/bSpFYcr9ocY4ttGZdn3N\niEpQ2CFAGNT9uy6Ih/MDb0+xo41RjLLYBXRby5o49OhmLTCEQc8dozdR/+y4\nOuUM7445dPbYugozxRKmiUIhHIae0V0klf7M7TFHgdncYnK2Ym5mPjHVxBnx\nqK/fxzqd1XS0lLINjv2JKu3Co+0nZ6cqq3yXbpyDMQMTOAx02dykxFSRicZp\npI2IRSUQeZWWwJBMDW7qPvLG+yw8GPtxfmerJwsNi9RTOClC5rvRfcO7Nior\nsUB2dZ3wEd2DMvKbG7QGH8Ij5t1h4IofW2i8scBzK+1ZqtVUEMMZiKI61UU1\ny32S\r\n=FPcp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUiqwq3eTaZL08B5iToMXk8ksCvsAumm5T7SMwFC6GXAiASbdlkQOrsGIr81BeIAHJB3ZKT35NMsp0P4MR2OXYCBg=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_3.0.1_1566315185197_0.7126511423953117"},"_hasShrinkwrap":false},"0.0.0-canary.048dc82":{"name":"scss-bundle","version":"0.0.0-canary.048dc82","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.048dc82.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\nA few of the projects who use the package:\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                                      | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -p, --project \\<path\\>                  |                          | string   | Project location where `scss-bundle.config.json` and `node_modules` are located. |                                            | _cwd_   |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                                      |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                                          |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                                     |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                                   |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression.                |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                                             |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                                     |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                               | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.048dc82","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-IjIcCRVHMtm653w7hvt12UsFNwSRsXmKnNxL+maH2nN7oukVfqUGfaSQQEAK5TaLSTW/PD/Ngr2K5Ab/fYyO0g==","shasum":"f2bb93bee6b37d2716acdbd8276aa153348f204c","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.048dc82.tgz","fileCount":45,"unpackedSize":55276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsd7VCRA9TVsSAnZWagAAVBUP/28o03Hdpkf9ocxEPBwJ\n+0hN55oAZeg+1qFfBc3YiU07Tv0bcdXrSCHMFjk1g+wEKBQCGtXjSjTuap+D\nsxr/bl2Gc8O1Cp+f3RM2RquAK27lKFHmm1SguZmxPH9td1SyLRv1HrTIaqw0\n8MFDELVtoqosIJ1B3mOhpuD73dfqgnR12faTYfz/TEwrFN91AHXlz/yiXcCR\nDw56gpKWzUkniJDUMtzzIzKJSYKUEkEAqRM1SNht3be0YTRP49WahkNgCsj8\nxve8BzNK+C0Fpn1hHBQNu4PUoo99J5dX4gnUaWMkdmFzhkr+T8f5oh3oC6Mr\n34MObIPBc9J0iUwx6k2gHO1YbsoGh0G9qRURsG4MJni6HU9ipfak9UnpznVS\nwbfq1dHE8Hf4gBb1DuBTLdhiTza528bun4ItfoCSpSRyyYP1iuZ8wPJI5Utw\noOn+7YVWAOPxX5TKYYBTJBrCAvLONlmCbNzUBJSs+KQ5NpVchphpbeVSzm4B\nP2tJUnYw1jucWDAltdR6Q6XdvU1+gyArsXLbnsANT2awTUmNXbjQspF6gmzk\nh2c4kx/InJjKUNaIaRIr+FzPYEW7IQi/C8DfVw2MwGq/chRQkdy3RZolGiVU\nAHQ05HcWrO7uUA9yEJST4X5r9fwzyH6Gsc4lB4g8FyS2MqRf6KZoF3O154pS\nhIk3\r\n=j6HA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIOKQqN3SvAKyKrkuxh7cLVowFsTThlTe9guw8RzV5AAiEA7o4YKmpg2KgBKYu9ILMtfnCGwVhIZsgyM2uooCVLlOo="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.048dc82_1571938004661_0.5476949819070118"},"_hasShrinkwrap":false},"0.0.0-canary.cae5b9e":{"name":"scss-bundle","version":"0.0.0-canary.cae5b9e","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.cae5b9e.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\nA few of the projects who use the package:\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                                      | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -p, --project \\<path\\>                  |                          | string   | Project location where `scss-bundle.config.json` and `node_modules` are located. |                                            | _cwd_   |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                                      |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                                          |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                                     |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                                   |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression.                |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                                             |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                                     |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                               | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.cae5b9e","_nodeVersion":"10.16.3","_npmVersion":"6.11.3","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-C0tR8w2UVOheM7fuzAiNPeSfNANpsdE7yEG0XRH1GuGie7IotreeBVJVyFIpt7Q8BfJfa+UYb1x9m3qG1E8Jxg==","shasum":"31e02f7394b1d3a064e378dcc0bf456db5398d9e","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.cae5b9e.tgz","fileCount":45,"unpackedSize":55276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtf1zCRA9TVsSAnZWagAALK8P/1bRT0lCxBCCoJ1Vl7Q0\n8ztXNjRAiSxf7FiW7JBdQrFXAWdc+Fw8GZ/+vCHdeSdRP9UBRLNkSjSYVd8J\nFFEEhc1eFP69qLHpLBDXTrbmYX3+GcgzpssbE3eKnO7/W23PlvMABb8BAXbW\nqpuQV2llij4dOcK3TOsZQv9ttZ9OXOCGBpSOQYmCMtIg3sSTnW7hZlvaNqrv\nnLranVpZzB/Jb9J3QkUCF+XAMkma/hlZk9pQ8zw1ygWo1/r8HInHfy7zv102\njrORoD2Rx3v6ydAPhBK/u+kQarogcJ2a8gaLtmruL8CkLv1Io3QB+nTIdBgg\nTdHjfCiTsksGjX6DDoPJEN8bf5OAmZADWII1otrxh+Mg5oOVC6qQCNT/ZnLi\nxnXutq4f/tyukHXFeLjLh1tuy8pR0DnXFz91BQQ6aDQTpsTXl9i3Jlj2k37I\nDQuP53qXWjfTd5xgB5OHrgwdqjuA3UpI9HZsQSm70SCSSCtYp7DF46MF2srR\n5E7lO82HIwkTBf+N/NMpn1nERs2u2k+HULPOgrXuTxSnKAPoFNpET14RyCZh\nflPS71ISXU7OkG7CS9jAlhRWEXSwfwePAH6Af5bV7E+bgksox2XfS74lz1Cu\nCSY5JECM/lg9JXKecKK9PzcLUcrM9pDXsOPlHOpr5CYF4eKJEYni+Qau3VqF\n/Tqf\r\n=Sz+o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE9+QNK4t84SjXwREqYcvUc2MN0vQJ4WoRLYv3o4t+XcAiBb/g8Uxle1yXzlxmv6kAGryApgW7pqfpsouDRhvM2bXA=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.cae5b9e_1572207986714_0.711582829864323"},"_hasShrinkwrap":false},"3.0.2":{"name":"scss-bundle","version":"3.0.2","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.17","jest":"^24.8.0","ts-jest":"^24.0.2","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.1.0","typescript":"^3.5.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^7.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.0","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^2.4.2","chokidar":"^3.0.2","commander":"^3.0.0","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.3","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.22.9","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-3.0.2.tgz","_id":"scss-bundle@3.0.2","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-6OUFD+bD1ko/nrcXEGQ58NY/pTAQyj3LBfUyCpDeplcs8m8U7CWAfSuK49BrV5PEUGRXEh3oiETxqeG1vJSvrA==","shasum":"c6fd4d8738a938584070210beb9bd5eb69d87bbb","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-3.0.2.tgz","fileCount":45,"unpackedSize":55345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0FOUCRA9TVsSAnZWagAAPhsP/iEkQSxAUAlDnDagD3bA\n3MwgsayymVUyVjWEOGS/Sf16nhnFhqIjtyDIjZ2x3kjFuuA+A1ys4mgiHkdx\n9fJVRmudcSPUB+zJQqqy5N+Zan70lugFEIu/9zPSZvvVQFqzYfnWsrlsFNlr\nwfCQgaCOMaCGGmYmd/FONZGxO5mwvaXSX2Z9JNZYW02fctRcViY79dK6h9Nb\njs48VbZOzU1h5BfaL1344GZo65RPTUDRmAaSqyOxik0VCFHpi6ENTZmSNtIJ\ndaHvBt6ejEdhkVDh5PkUswFcv4jkrZW333wEF8KWE4iCmKqGpG5rWVQ57DlC\nuOT6Y+ZSjOAKsfOo4Me87QjVlifWppud+bKe+m8lob16QpQMCeW/Fboc4mUc\nzR2H2H8IlmI0ioCcNZ2lTpQY49YjIuV0WkZ/DL/OLgRCkCmPMlQPZL+bdWl4\nZWjPXXJRSH5b8jtMsDGRW37WLH+PJiGRPm73unuzhvo5BjLfXpDDxSh0hPJ+\n0fta8TtBWPUe7GNLyWNoegWG9N32ntwQPwC8TIt+CQbZy8P7tgxJ0uhxkpRX\nMFeFop4/UVhMAw/8NpCVgRzGtmXINMIcURKmMgV6239s/aJtjbYTi4ludG47\niqxTtPsdyqGn/WbExnfyNFGKmbHNa0o6DU/DukSfQhU6mP1aBcKKTzdDTcRC\n7HUw\r\n=O6PS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3WwtF2hKWmmNuDnXLhUFR40t+ygdosFjiNp7d4fYNSAiBd7nh4nGVspbpcHxLxZbPDL8m4vtOE4P+nyIkpNxWaUQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_3.0.2_1573933971745_0.37899843716328285"},"_hasShrinkwrap":false},"0.0.0-canary.9f111cb":{"name":"scss-bundle","version":"0.0.0-canary.9f111cb","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.23","jest":"^24.9.0","ts-jest":"^24.2.0","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.7.2","typescript":"^3.7.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^10.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.1","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^3.0.0","chokidar":"^3.3.1","commander":"^4.0.1","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.6","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.23.7","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.9f111cb.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\n#### Projects\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n#### Community plugins\n\n-   [rollup-plugin-bundle-scss](https://github.com/weizhenye/rollup-plugin-bundle-scss)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                       | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | ----------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -c, --config \\<path\\>                   |                          | string   | Configuration file location.                                      |                                            |         |\n| -p, --project \\<path\\>                  | project                  | string   | Project location where `node_modules` is located.                 |                                            |         |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                       |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                           |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                      |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                    |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression. |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                              |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                      |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.9f111cb","_nodeVersion":"12.13.1","_npmVersion":"6.13.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-AmSU5Xef/O9XR8kbc+L7AwdcGMqfBexNjVKg7SL2FlybrppBo1A33BfBzoIDX4K/p866NyhSLv9x+pNGAuU+Sg==","shasum":"7d5c2e64d4e570b3665463be29530f23765e7291","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.9f111cb.tgz","fileCount":45,"unpackedSize":57450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+iA7CRA9TVsSAnZWagAAsN4P/ReQZPnuHxCSjnu7O2NT\nORSN7oaTHLUtD35g9d8OoAA3BQbZKARu1YCCSnYwS4BxwVSJzHJbSedKMm7f\nG1/AwhmzhnpkF4LVdjLLsPvwPcroqDtF3DgWl8jAzgqXD+l4c6T63I1YyBnF\nF0a4s7IbnPtpYmHMsrb0H8BPhdc/My018uSjzcmFS8LOLr1Q2+NLeYf7+fbw\nM8Q5LIitRCm7INvBRoKwxAMojdUX3PXzBXaUJ+TvvFb+Oer3LHKoeTPIgTJb\nWsH+0TlhEWyjN9CsAg2+QBT/hEODxIe2tCkUU8bwmPf3TAADGwQU1wU2IFAc\n50aPj7qc7JYTG10FZ4rMyp4Ou4RTVRa9JYdghZYset4Me95+OXHymZ9sPToE\nNfRN+aQ3ZB+wceILrVHxkzOcOd8pjFQTOlvuqJ9K4A4UZcw6O1lzSUZapusm\nKwgPRrdnVMKZit7NkAFeflgJSwcVOH/S9KAhXZ3aJilxdA93+F3czHUpXW4k\nMsbhxRzR6LuTIaR50h7M8QAz7OnEpU1IHM7UI+1pABcypFweD34gbJT8DBrS\n1e2nxvMOcjRtCUDCARkWg3+Q1IG0P5oS0Nn0hMI8GBMtkZxzH8a9TPaOnWvj\nu44Y9tAMbYs0rwUU8cWCsvFz4cSefXUHQI+prMkvK8Qg3A69kzj/6Zjd4nqU\nwPNj\r\n=GHXP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvOPsFqA1O8vadbG0OWQx6/GjvRginuLx2GVpoJOBZiwIhAIdM4ybJwyCvOPCRJjjjh2z6QJEn+pp2NynII2eYR8L0"}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.9f111cb_1576673338902_0.016898750759316572"},"_hasShrinkwrap":false},"0.0.0-canary.ad13f8e":{"name":"scss-bundle","version":"0.0.0-canary.ad13f8e","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.23","jest":"^24.9.0","ts-jest":"^24.2.0","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.7.2","typescript":"^3.7.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^10.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.1","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^3.0.0","chokidar":"^3.3.1","commander":"^4.0.1","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.6","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.23.7","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.ad13f8e.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\n#### Projects\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n#### Community plugins\n\n-   [rollup-plugin-bundle-scss](https://github.com/weizhenye/rollup-plugin-bundle-scss)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                       | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | ----------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -c, --config \\<path\\>                   |                          | string   | Configuration file location.                                      |                                            |         |\n| -p, --project \\<path\\>                  | project                  | string   | Project location where `node_modules` is located.                 |                                            |         |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                       |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                           |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                      |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                    |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression. |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                              |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                      |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.ad13f8e","_nodeVersion":"12.13.1","_npmVersion":"6.13.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-2tmUd5K51sXy9ZJTiljIy/Ss7lqxb9EMxx8GQL5JvqBe+LC470h/W1E0Xa/1UFGsnJEX/QS0Cxi+hGGzaef3sA==","shasum":"1d1c5d1364ea77095f8ad6d7e20ac021560597ec","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.ad13f8e.tgz","fileCount":45,"unpackedSize":57091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+xaICRA9TVsSAnZWagAAlPoP/0q/BOnR8iopq4EzBdLl\nmLBDne+7WLYk4+2C7a5RrMFve1gdqi+BuGIPPUPc+L7iYia26t/JcgC7jv6X\nFhJC54UMlvupcz4sBH/PlRtglyouqkAxDYTHtMOEZOOi18sM47rpKmJHsqda\n23RUfSLGoszd6L0nagcDpzZz8CrYf5HK85RAJEyzy8ZcHSPiC+TicAlXgBdh\n9Mb+Ad5bbdULWWtNJEy8bz2kW7MmC91kKj4Pj6pZHWF7BYZLoB2SnEUX30Lz\nuaTIgoGeWOVALpqlGwgK783G86Sh8u1Cs51YHMst7zuYK/VEk9nieIr9DhRS\nxASLN8h75crJC4qlGN2h1TkKcQAGSxx/MwjKD9O/QeE3DglBhI0clEwRJZsz\njdOQz/Wvf6TqH4jetqKCMgtn/79QGD7v1WZMFAX6h+ufV5eNJkmX+Rgmqbai\nPhSyNrzG8TTBhbWljHpQzNTIWZlOuWyu2T8oICf0odepwB3OqQP2BuZoRbyw\nIBDX049CQ3Fw5XjNIIOXalDbi0FFgOeUW4V/V30GbHcI+Wpv290/X7SBl+dY\nbUr0v5Q0Vghuy5xNWrB6/gmaiixNMZhWO7MQ/tC4hgRab9qAmhhu7ZRPjQQR\n6wEurb+MOuKa219pn5gdqqHkcIx8EoTkBhLw3QrobPQNFUdT5dYWSYXR5OzK\nqN2f\r\n=j2jz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBVIDKCUUyV8mU4XDHNW4V/nP+cwICwP/TD+XhqQe+QWAiBxzie/Zigq/RMgqExQqhGcGvSfMMq+zbKbH2YxYEjlcQ=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.ad13f8e_1576736392240_0.4604210225621086"},"_hasShrinkwrap":false},"3.1.0":{"name":"scss-bundle","version":"3.1.0","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.23","jest":"^24.9.0","ts-jest":"^24.2.0","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.7.2","typescript":"^3.7.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^10.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.1","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^3.0.0","chokidar":"^3.3.1","commander":"^4.0.1","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.6","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.23.7","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-3.1.0.tgz","_id":"scss-bundle@3.1.0","_nodeVersion":"12.16.1","_npmVersion":"6.14.1","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-pGBsVPLEPRlo5UHANyaIeJ6qY0oxM0HLDpuAvkz3aDdkHqRj3x6qim3gigcbEac5svstSN4/Q7tHNbKsJr4Bhg==","shasum":"17808b79abb245c4513247216e2864935f40a286","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-3.1.0.tgz","fileCount":45,"unpackedSize":57121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb0JjCRA9TVsSAnZWagAAArgP+wUVbs0+H1cr9XqwzoXX\n3cK29S8BBdBmqdDWqhqoJHZQbfNJrVLAQiCGAolOO1wCqewrjpL0CEhebMvY\ne1lvybGVe/T3CaWdDaIPnt+t/o6BQTNomIQfndrmO7RVSCMkNnU7tfBWCizG\nl2OedeFM1Gu1T+9PaSppmBFGXUMwdaADJ3qezaFy42V+vW+1WZP/cHLefAW3\nY2uhhCLQOpsxeWDXbe+opFrtjh7zzrWOk12MEF4AY3x8Rgu4h7iTaBydzw0S\nIqoTdi4wQkpmZI6Az5KIxxoU8vwntxEVhrvfPm+gRTFo+AVojAyTaSiqIuby\nRIbhm6fWug/J4UGeEX+WMxj5glDCWbqq4+0rRJwONhAUO6eeiZ+eT/LoJIiO\nP9nIr6gqxE/QPxGUMOypLwmK52etPzKZuzuQUSrEB0qZKl/8IV8Cc2bUz0UF\ndin9e5jB6ihR0j4k8UXkpekKHkl8p7pGnQE/+shlh60tRjw2XGUKEAyXfEKX\nfcsLKP6LjBxM1iX1hOjLc6QTSxhPq517HVk+6vZmmWHdTB0e9IoW29rRFTPl\nlkPRz2nUgA5GU8ehxdNqjik8n5NhejCCZfbXjNlGy40ZRsiX8CVbRXsf524Z\nOfame7FpaZ1AauxGVsXYzTkf1fgzspHbE3/N+qGP8zaC3k6qqf8kxg4V//M9\npSCf\r\n=XcSB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGrsqd88nG1fdrKn+2bRSrglRlP8Czn6refFvYb6VNApAiEA4ky3rW3uln2kbHDi9YRfuRNdE6HB4eNIbu1l5Z4mzkM="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_3.1.0_1584349795097_0.5875297721447736"},"_hasShrinkwrap":false},"0.0.0-canary.650dc78":{"name":"scss-bundle","version":"0.0.0-canary.650dc78","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.23","jest":"^24.9.0","ts-jest":"^24.2.0","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.7.2","typescript":"^3.7.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^10.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.1","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^3.0.0","chokidar":"^3.3.1","commander":"^4.0.1","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.6","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.23.7","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.650dc78.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\n#### Projects\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n#### Community plugins\n\n-   [rollup-plugin-bundle-scss](https://github.com/weizhenye/rollup-plugin-bundle-scss)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                       | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | ----------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -c, --config \\<path\\>                   |                          | string   | Configuration file location.                                      |                                            |         |\n| -p, --project \\<path\\>                  | project                  | string   | Project location where `node_modules` is located.                 |                                            |         |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                       |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                           |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                      |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                    |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression. |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                              |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                      |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.650dc78","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-YcM5oeiCrJ+oKcavJ3HxUSuatGJmy9AHGiWUUtPmNmt73aAw2+s2MpsfIYbeiq3fO4PVBL89rRM2BQFz/iZrsQ==","shasum":"967d1bbc72361d6dabeb857326eff24928b8688c","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.650dc78.tgz","fileCount":45,"unpackedSize":57186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec1t3CRA9TVsSAnZWagAAvvUQAJMamLgSzCuhA6ua4AeN\nwqU4/GuTsRSIhbYRHf8y4id0VFtoDpJX8f+fx5/EpgjL68d6FNm/W0r2eaJY\n7DsAHYoNo/gMYM2/3fRgcX7wcIrbqxbnEhXst2fYo7iXPPvKqwl8n1ys/XB+\nb1IXPome3v8A7AinW6It9YA++7SNymreAO3idQeVPY88M31LVMkL/oZTuWuQ\nZWZkifGuoQMrHZ9l0hew2YXRveNabc7Y8gk8PiCsJWe5swplrZ5XE1TRdRmn\nkQmXDz0c5VvvYFUwU1HniGMlhFzqevvZaFUSOd5hy2rTjoGAQOiQGKotaA1p\nqqj4qPD3sUlafFJy8Bif0dVRJfybuU1TfZoEl7llRzLfW5gew+hNVAxa4pMD\nA46gOBU7WPiiXHQaRE5pn5V4MbracVIAc59H6X2DXhqSnH48HrX2licl68g3\njTa6MXqhmAwrXSYPmB2r8JTIijGcQH3oy/D/bG1Aq13pJKnOkUx1U4RjQ0Ny\nZPamDUbJO25HuhrGHDWDSLbReEsId8Y4He1DqkoIDr+DkKtX8PG7VvttDCB+\nsj9+MVAM+4uHlCkeeBM+YAy5as695kBjE8XXeWsAFpf2aKtkKyLI/4C2G6j3\no2dbFoYLwyP8e1hDk8PjrfZ2goKItC3eIgpids4iTNR9ZsXUVuw4MxLlGbzn\nLQ3a\r\n=Yg+m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmcJMlcUuw/J6f8HNZAOHAO2LNVc+UXDPsrXbpscUD7AIgMuK1ysYfOVjH7VffB4xalxunYOWDySUVbES7MeYpyxw="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.650dc78_1584618358598_0.20890505853388075"},"_hasShrinkwrap":false},"3.1.1":{"name":"scss-bundle","version":"3.1.1","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.23","jest":"^24.9.0","ts-jest":"^24.2.0","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.7.2","typescript":"^3.7.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^10.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.1","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^3.0.0","chokidar":"^3.3.1","commander":"^4.0.1","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.6","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.23.7","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-3.1.1.tgz","_id":"scss-bundle@3.1.1","_nodeVersion":"12.16.1","_npmVersion":"6.14.2","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-9nE6gJJmclkjtEatPL++RxU7KITjkZRsKYqR9W5zu2vzT4krdFiuiJVxcYeKGZz+/JGYMTUCUcDCE7Lo011sVg==","shasum":"b5785e94a3b83180699bb046b876b9ea8a942faf","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-3.1.1.tgz","fileCount":45,"unpackedSize":57171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec113CRA9TVsSAnZWagAAZkcP/28VNpAMVMZVs17g4G6m\nPMzW5EUDV11sKwHvj9LuWGb0pyQv4KMOZx3JrocMCUh4jWo0COBgwHU+ibB9\ngvaOTHPivk5xqeBElq90Jni0DqM2m2FLCUL7Q9v+ORWynh/71QA30J6dO5w6\nfbLdQZVetJ6v8TXiK3/ZoqqXdlD+3auUGkHcCFQZJhDsggekF2ieBFyUM7Ba\nXIYhvOJicZe+yiO1xIKHtfwxcC4n2BRI/fY0+aD6H/ELjjYYcIKFk5ZGY412\nx64Kboc9uFUYAdPUF+z2MnPMV5oCJnnIYqnBWVTGTi/7vo4DCEX9irwG+yvj\n2b9+undk3nRywo9nlRduR7Mt/C7VW8dmymr9x54f9Ix46uzt1iDh++W6D5PZ\nIPVDisXeQ6mRbHq2UTFtPoKkB41VkzWzwkyW1frabH+iqIH8E80v4LxWY+be\nrFFaqfCGarx3txSKE0SEmetxWBCKeXLKV7CYIehbyFPNqs5QOIaWvvYzu+a1\n+XodtmyJ7jJ4xKT9Yn1FRHvHvfQSpu7ib3NwyJZa7ocmIkIWeQeOYnvYzDbN\nqQhh0le+kbsvi2tfl0sWCChu/BIjZWckTztsd6Bf1MMWEtBfpYCwTz6APMmi\n79bpQnKU5Sb6ivTHxwPQByMdGt37A3fQrwJdSV6BvXhSOW5Lq9dx2JiniOaq\nrtpA\r\n=WCcL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+voUc/V+m+f5/iitaOjwDITn2SEHeU+Oxn3qMYWGNeAiEAzH166TfiRXyC7vMWFNhNW5LSSbmBSoh+eTAE6DGn5qg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_3.1.1_1584618870714_0.8628699748960948"},"_hasShrinkwrap":false},"0.0.0-canary.a470d23":{"name":"scss-bundle","version":"0.0.0-canary.a470d23","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.23","jest":"^24.9.0","ts-jest":"^24.2.0","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.7.2","typescript":"^3.7.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^10.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.1","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^3.0.0","chokidar":"^3.3.1","commander":"^4.0.1","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.6","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.23.7","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.a470d23.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\n#### Projects\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n#### Community plugins\n\n-   [rollup-plugin-bundle-scss](https://github.com/weizhenye/rollup-plugin-bundle-scss)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                       | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | ----------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -c, --config \\<path\\>                   |                          | string   | Configuration file location.                                      |                                            |         |\n| -p, --project \\<path\\>                  | project                  | string   | Project location where `node_modules` is located.                 |                                            |         |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                       |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                           |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                      |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                    |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression. |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                              |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                      |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.a470d23","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-KG5OWfEeQu9qrBBt8Lq3IlAHVGonnlcxm9/KPLscU8zD8DoYIDSdW2bIhjuaIapFOHvwFvMxpFsnsr8TNyB02g==","shasum":"23b5b7cf48daf7a20c5b1f46a0d0f88be1298c51","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.a470d23.tgz","fileCount":45,"unpackedSize":57263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu/y0CRA9TVsSAnZWagAAmJMP/20sJltwhl2VhEcS//kw\nrh89Ln1kQwjRx0KEWGBPUjXsBjQaSuhP2AV71F/GuXAgFg+No9JyvR29D2K4\ngFrTqa3T9z9c0LQWef+HpClI33a+QLF2Qg4EBk7g1D1WAUEpJul8QJB+OAis\n+huzV9tu/kmloKB2SGFHWJy7AhbACy0CbV48WFumCdzMEeyt9S7wkjGtYNzi\nTG7RpJRdgN6JNyhkVVDSYtPgsgGmbiX+3mAV88kmwxcLiUOXeTMvR851FGBQ\nnpdOjGmTcva7DjfcWPoB9gKBF0RufC6wQ/ejZjem8l1obZPDfcgQKrCd8qt9\nZR5QjJ+njzsEpoH/txBHGIqATMTl3kzgN8OCzkESd3qTqpjbqpxZ5JEXN+sm\nvIu7GbsM7ArwlVNskGe8Fgpks6WETC9Q3E3wesefNUQklBhiMyfdDdAG6KNh\njjFgPrBL5FXLvW2reeME16kV75JVs0HtFaM1Q8g2FFGSBUFaY+dVo33mw5vz\nGRVIp6ThTiXZz6gB2DgXRkWFz719iukRm0X9F9ZbXgi2uQQgOu8A5BGWevqz\nxl8VO4IJEp65iV3c+6OkWaC+DzFUHKdZQ1QF2jQRuR9YSFtuXXrYmpVjJ1fv\n8O65yENUvhY1iNmcneO7XFGB5fYtIp6HFVPd1Yq78krq8NThtRhAXB5ja8Av\n+OA/\r\n=edjf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrbcHy/PX/DSy8HjS24OdjkAjDfaamfcIWNJe9x2rycwIgVxU7Tlyqdt2I09AWeiSJbwPlXwOQKnJT0Vo9IkIVWkE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.a470d23_1589378227516_0.9008350258385476"},"_hasShrinkwrap":false},"0.0.0-canary.853afa8":{"name":"scss-bundle","version":"0.0.0-canary.853afa8","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.23","jest":"^24.9.0","ts-jest":"^24.2.0","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.7.2","typescript":"^3.7.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^10.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.1","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^3.0.0","chokidar":"^3.3.1","commander":"^4.0.1","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.6","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.23.7","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.853afa8.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\n#### Projects\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n#### Community plugins\n\n-   [rollup-plugin-bundle-scss](https://github.com/weizhenye/rollup-plugin-bundle-scss)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                       | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | ----------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -c, --config \\<path\\>                   |                          | string   | Configuration file location.                                      |                                            |         |\n| -p, --project \\<path\\>                  | project                  | string   | Project location where `node_modules` is located.                 |                                            |         |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                       |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                           |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                      |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                    |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression. |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                              |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                      |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.853afa8","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-phOapg3lLKFIUDXgnGf0nHqTp8+ZmVMVIZyWp3udCkY7zS5y+RAvL8eSStTla6vnk6oCZxiMPG9ume/A7qOArQ==","shasum":"31b85f4c9860c2a769a596f9377c74cdc3430609","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.853afa8.tgz","fileCount":45,"unpackedSize":57263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu/0yCRA9TVsSAnZWagAABSIQAJRflAhEKsPaWP2Dkytg\nisNo9BVx91lVIm0QFc+wevLFAOfRcH24CUXVN5FyKxrcH9a72CTMktRrxft0\nLX36/lP0s6+iVMlw3lFzGgt8XbZquZxyNunhnTiNVdXu1A6pY36+g8++vIME\n4kisbRwvhJ6bJpkNFoqKnnUngwbhaUVtmqnaN7c1MbJWe+M1jWjADcKj0CsL\nkNe7k0GjarxP/PtQZkPD+TgndcBYUhHmQbJt9jiTWLsn5USxrRkP6hE0u19S\ntmxnCF0CKZrdwpALEw5mPvVOW5tP64HWqdHW1e2KoKE7N072RCSyZ0gWZSoV\nbUCLEJP8+AnfLOrFcRkFIcMQcb0jmwFUPyjqermK/MqSzBkA6MzZtsr1Dqir\nUfLNtfhmMfiQz4mq6iodFfpF9gkU2o8UkTPb4oRR63H84Eik1nt7XrhXJsjQ\nNpXQ99uqHuUhzQoC9Xp5wCtlwARKLYCIkNPqTiiGE7bUTcYt/mEyyJhOzCsU\nMdS/8DCTHHddJyTRFJxdSPTcShZHs6Z0zbV7xRsCnTJ0lMkJuGrBMnXulF9/\nx8NMR/Rn9j0rELfl+scplNtFYHY04aMa7bDxRaN5CJv7D+n5TIgDC8TRhlNh\nr2ioqgwOYfTLNuJ/FHRq7lfqzie7nU+M8y8Sis961/G4aHxmqCEQXrIcI1iO\nl0+A\r\n=cdbV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/QuUVLbr4TacdcMAVrFRqIVZNzfiIsg9ou/uRQC40wAIgQ29wQMRownWYUG4crMjTp0zjBr05A6j71rm+wd3TUdg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.853afa8_1589378354062_0.8746292519915762"},"_hasShrinkwrap":false},"3.1.2":{"name":"scss-bundle","version":"3.1.2","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.23","jest":"^24.9.0","ts-jest":"^24.2.0","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.7.2","typescript":"^3.7.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^10.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.1","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^3.0.0","chokidar":"^3.3.1","commander":"^4.0.1","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.6","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.23.7","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-3.1.2.tgz","_id":"scss-bundle@3.1.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-lvxTwCKDLgzmRWhGwJ834ggtnEhs0G9FxSJRWte+NwlshVvBcQ/kOHHkpAGDpCxIMNGz/Utl0yd/MWyQAOBhqg==","shasum":"8919dd7603d01a84822e8aab5210e5b0b50c548b","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-3.1.2.tgz","fileCount":45,"unpackedSize":57248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu/34CRA9TVsSAnZWagAAtg8P/RDfjdvlrP4j+QcpH/69\niRn50qtIfEE7xAUxSLWwkjAwcgpPmNZYpwQHHuPi8x822X6Hh3Pc0beLqwsz\ndGM6Ybc0cZ4035ukt8jA67RCcooXqQ+0VRKGZSz38v35V0Jg+gKRAbOi4ZpP\nSxDkSuBmEsozCGBo/0AzOQXqlmQH25NcuvqWLYMJB4TR7Au383BmX8HBrfHG\n4GToZbkdvxTGe8w/fkDdWLIrr0QWKmotkR2aSjQiw9vChlryYQAl81v16jIc\nAU/3TT2Uy1p/42vTYMMDy+YoYdbLOI+HofoqFfovh/ggcO2FNSDajobE75dJ\nZGFibg9zjflrqik9NmMpKsOE8fqeorqCd1XVmFcFwBs9yxhl7Y194SdMRKkt\n3nih4qNkTIkFzzhotzMUiBnSmv0nj6gqCynyBEO24LSO3ltksZIANpROCli4\nZdYlogHWp5FKQIBxiZ2qfxxxBSaIrGLuBaFzHvOamkxxUMHX+j9/8flvbRMS\nFlmJm8RPDLxHu4SjfosP92k73OVvQMlq2ajvPTjkXmq0aOYRuZ/+3hPZRQgl\nBO/0fJSFnUcDW2QJKhQ3SSAIP9TPvfMAYmnHbwR/AgGwxszd7qr7IS/0Tm/I\nBGptBrh9B+uK2MgUADoMFf9fFmCmpChW9qm+hz6AkRlb42TSI1rqxgaASNKG\ncHJn\r\n=0BsB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+kIzprWWr6VkrxGyyru2dvwgKnm/YRmvE5MRRPzIk7AiEA4bq430whOCjN8q1Fkgqnw7TkLffe3HhbASGIqmIOPFE="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_3.1.2_1589378551692_0.5988798253937013"},"_hasShrinkwrap":false},"0.0.0-canary.5c7510a":{"name":"scss-bundle","version":"0.0.0-canary.5c7510a","description":"Bundling SCSS files to one bundled file.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p .","watch":"tsc -p . -w","start":"node dist/cli/main.js","pretest":"tsc -p . --noEmit && eslint \"src/**/*.ts*\"","test":"npm run build-tests && jest","build-tests":"test-generator-cli"},"keywords":["scss","bundle","sass","node-sass"],"bin":{"scss-bundle":"dist/cli/main.js"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"homepage":"https://github.com/reactway/scss-bundle","license":"MIT","devDependencies":{"@types/jest":"^24.0.23","jest":"^24.9.0","ts-jest":"^24.2.0","@reactway/eslint-config":"^1.0.0-alpha.2","eslint":"^6.7.2","typescript":"^3.7.3","@simplrjs/test-generator-cli":"^0.1.3","jest-junit":"^10.0.0"},"dependencies":{"@types/archy":"^0.0.31","@types/debug":"^4.1.5","@types/fs-extra":"^8.0.1","@types/glob":"^7.1.1","@types/lodash.debounce":"^4.0.6","@types/sass":"^1.16.0","archy":"^1.0.0","chalk":"^3.0.0","chokidar":"^3.3.1","commander":"^4.0.1","fs-extra":"^8.1.0","globs":"^0.1.4","lodash.debounce":"^4.0.8","loglevel":"^1.6.6","loglevel-plugin-prefix":"^0.8.4","pretty-bytes":"^5.3.0","sass":"^1.23.7","tslib":"^1.10.0"},"jest":{"verbose":true,"preset":"ts-jest","reporters":["default","jest-junit"],"collectCoverage":true,"testRegex":"/__tests__/.*\\.(test|spec).(ts|tsx)$","moduleNameMapper":{"@src/(.*)":"<rootDir>/src/$1"},"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/__tests__/*","!src/index.ts","!src/cli/**/*"],"coverageReporters":["cobertura"],"globals":{"ts-jest":{"tsConfig":"./tests/tsconfig.json"}}},"_resolved":"","_integrity":"","_from":"file:scss-bundle-0.0.0-canary.5c7510a.tgz","readme":"# scss-bundle\n\nBundles all SCSS imports into a single file recursively.\n\n[![NPM version](https://img.shields.io/npm/v/scss-bundle.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle)\n[![NPM version](https://img.shields.io/npm/v/scss-bundle/canary.svg?logo=npm)](https://www.npmjs.com/package/scss-bundle/v/canary)\n\n[![Total downloads](https://img.shields.io/npm/dt/scss-bundle.svg)](https://www.npmjs.com/package/scss-bundle)\n[![Build Status](https://img.shields.io/azure-devops/build/reactway/reactway/13/master.svg?logo=azuredevops)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n[![Code coverage](https://img.shields.io/azure-devops/coverage/reactway/reactway/13/master.svg)](https://dev.azure.com/reactway/ReactWay/_build/latest?definitionId=13&branchName=master)\n\n[![Dependencies](https://img.shields.io/david/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle)\n[![Dev dependencies](https://img.shields.io/david/dev/reactway/tiny-emitter.svg)](https://david-dm.org/reactway/scss-bundle?type=dev)\n\n### Who uses `scss-bundle`\n\n#### Projects\n\n-   [Angular/material2](https://github.com/angular/material2)\n-   [Grassy](https://github.com/lazarljubenovic/grassy)\n\n#### Community plugins\n\n-   [rollup-plugin-bundle-scss](https://github.com/weizhenye/rollup-plugin-bundle-scss)\n\n## Get started\n\nIf you want to use `scss-bundle` globally\n\n```sh\n$ npm install scss-bundle -g\n```\n\nLatest dev build is published under `canary` tag.\n\n```sh\n$ npm install scss-bundle@canary\n```\n\nTo start using the tool, create a [config](#example-config) file and run command:\n\n```\n$ scss-bundle\n```\n\nIt will bundle all scss files in specified `outFile` location.\n\n## CLI Usage\n\n```sh\n$ scss-bundle -h\n```\n\n## Configuration\n\nConfig file properties can be overridden with CLI flags.\n\n| CLI Flag                                | Bundler options          | Type     | Description                                                       | Values                                     | Default |\n| --------------------------------------- | ------------------------ | -------- | ----------------------------------------------------------------- | ------------------------------------------ | ------- |\n| -c, --config \\<path\\>                   |                          | string   | Configuration file location.                                      |                                            |         |\n| -p, --project \\<path\\>                  | project                  | string   | Project location where `node_modules` is located.                 |                                            |         |\n| -e, --entryFile \\<path\\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string   | Bundle entry file location.                                       |                                            |         |\n| -o, --outFile \\<path\\> <sup>`*`</sup>   | outFile <sup>`*`</sup>   | string   | Bundle output location.                                           |                                            |         |\n| --rootDir \\<path\\>                      | rootDir                  | string   | Specifies the root directory of input files.                      |                                            |         |\n| -w, --watch [boolean]                   | watch                    | boolean  | Watch files for changes. Works with `rootDir`.                    |                                            |         |\n| --ignoreImports \\<list\\>                | ignoreImports            | string[] | Ignore resolving import content by matching a regular expression. |                                            |         |\n| --includePaths \\<list\\>                 | includePaths             | string[] | Include paths for resolving imports.                              |                                            |         |\n| --dedupeGlobs \\<list\\>                  | dedupeGlobs              | string[] | Files that will be emitted in a bundle once.                      |                                            |         |\n| --logLevel \\<level\\>                    | logLevel                 | string   | Console log level.                                                | silent, error, warning, info, debug, trace | info    |\n\n`*` - Required\n\n### Example config\n\nDefault name for configuration is `scss-bundle.config.json`.\n\n```json\n{\n    \"bundlerOptions\": {\n        \"entryFile\": \"./tests/cases/simple/main.scss\",\n        \"rootDir\": \"./tests/cases/simple/\",\n        \"outFile\": \"./bundled.scss\",\n        \"ignoreImports\": [\"~@angular/.*\"],\n        \"logLevel\": \"silent\"\n    }\n}\n```\n\n## Non-CLI usage\n\n### Simple example\n\n```typescript\nimport path from \"path\";\nimport { Bundler } from \"scss-bundle\";\n\n(async () => {\n    // Absolute project directory path.\n    const projectDirectory = path.resolve(__dirname, \"./cases/tilde-import\");\n    const bundler = new Bundler(undefined, projectDirectory);\n    // Relative file path to project directory path.\n    const result = await bundler.bundle(\"./main.scss\");\n})();\n```\n\n# API\n\n## Bundler\n\n```typescript\nimport { Bundler } from \"scss-bundle\";\n```\n\n### Constructor\n\n```ts\nconstructor(fileRegistry: FileRegistry = {}, projectDirectory?: string) {}\n```\n\n##### Arguments\n\n-   `fileRegistry?:` [Registry](#registry) - Dictionary of files contents by full path\n-   `projectDirectory?: string` - Absolute project location, where `node_modules` are located. Used for resolving tilde imports\n\n### Methods\n\n#### bundle\n\n```typescript\npublic async bundle(file: string, fileRegistry: Registry = {}): Promise<BundleResult>\n```\n\n##### Arguments\n\n-   `file: string` - Main file full path\n-   `fileRegistry:` [Registry](#registry) - Dictionary of files contents by full path\n\n##### Returns\n\n`Promise<`[BundleResult](#bundleresult)`>`\n\n### Contracts\n\n#### BundleResult\n\n```typescript\nimport { BundleResult } from \"scss-bundle\";\n```\n\n```typescript\ninterface BundleResult {\n    imports?: BundleResult[];\n    tilde?: boolean;\n    filePath: string;\n    content?: string;\n    found: boolean;\n}\n```\n\n##### Properties\n\n-   `imports:` [BundleResult](#bundleresult)`[]` - File imports array\n-   `tilde?: boolean` - Used tilde import\n-   `filePath: string` - Full file path\n-   `content: string` - File content\n-   `found: boolean` - Is file found\n\n#### Registry\n\n```typescript\nimport { Registry } from \"scss-bundle\";\n```\n\n```typescript\ninterface Registry {\n    [id: string]: string | undefined;\n}\n```\n\n##### Key\n\n`id: string` - File full path as dictionary id\n\n##### Value\n\n`string | undefined` - File content\n\n## License\n\nReleased under the [MIT license](LICENSE).\n","readmeFilename":"README.md","_id":"scss-bundle@0.0.0-canary.5c7510a","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","_npmUser":{"name":"reactway-dev","email":"dev@reactway.com"},"maintainers":[{"email":"dovydas@quatrodev.com","name":"quatrodev"},{"email":"dev@reactway.com","name":"reactway-dev"}],"dist":{"integrity":"sha512-4BgLlBEH03w/a3PrXCyjWHXEU0eQe4CI5/38J/5Hgd4IvFrCQuBgCMjgxXe9hoBQ7A9CrUSjBgIcfd/i1p0hAw==","shasum":"bfd03e6201956f8a5a52b9bb00eeafb27b211517","tarball":"https://registry.npmjs.org/scss-bundle/-/scss-bundle-0.0.0-canary.5c7510a.tgz","fileCount":45,"unpackedSize":57263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEASVCRA9TVsSAnZWagAAx58P/RuI9a9J1O8JJU8aojFr\n5dD8BbMfoHEf18lUNCFX/MBDdCznXPlYtidT/fAzdIswqbxqlji5Hi74Uoxe\nJCcYBa44eSNNkbks7paqEeNv9jxhdzInA76V65dPmsxCXlkX4CuZoNBNZRwH\nm5eSw9dRh91/3qimRKRN+q4U3i7hU8MvNC+0/J78PXK4fQ041rZkt8OlsPDz\ntt0+BC7U8To2A/Pb9/IEIlz+ntyTdc+EKnYjNkYseFm65TNKQKLg3p34wIIc\nKfSQfUf1VfiPMbw1Q1i3huHtjlK+eZbURBa2mON679ZPeWAgOW3CznfWuJpB\nF4TmHW3mp3t0YrIOIwYIiULgR+9tD356xZXs8NP3PaERj+ZJjB7TCWJ5U+kB\nPFSEPZxCOCVwCgbTlrt7QhSbtWjIgmt/wpHXRtxS6ujgPzmhVoZezXSrdWWM\nPzDB38eQbub9+VktYU6HZ7Iq2JmRHx0mck59szQC+RePth7qOsoQ4UeiBYiS\nRco+InCA4fwfKgdGuK4YHsLFB3rdSmxG674SG1wgiuEhMGa3GkbvaYRAkX2/\nr6LuomYC9w+yUOx4FvGqz81dIl7c9WVq3T1J190mFdthtR6DKtz3aSFkhkHa\nYat5SfopVAccte/lNA67AseJhMyY3JmsltBN96UIDoaKJVPvzrXg6+J791N/\n6vAd\r\n=3iLm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFBK+Q8sdJwG4rfg34lZpsavehwciW8PyZy1gXUAEeCSAiEAxZhpkWvJATaMjE5ywMeJxGOyz/X0HQE6bucWE95kkLg="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scss-bundle_0.0.0-canary.5c7510a_1594885268972_0.04431468347178158"},"_hasShrinkwrap":false}},"homepage":"https://github.com/reactway/scss-bundle","keywords":["scss","bundle","sass","node-sass"],"repository":{"type":"git","url":"git+https://github.com/reactway/scss-bundle.git"},"author":{"name":"ReactWay","email":"dev@reactway.com","url":"https://github.com/reactway"},"bugs":{"url":"https://github.com/reactway/scss-bundle/issues"},"license":"MIT","readmeFilename":"","users":{"quatrodev":true}}