├── .gitattributes ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .jshintrc ├── AUTHORS ├── CHANGELOG ├── CONTRIBUTING.md ├── Gruntfile.js ├── LICENSE-MIT ├── README.md ├── docs ├── compress-examples.md ├── compress-options.md ├── compress-overview.md └── overview.md ├── package.json ├── tasks ├── compress.js └── lib │ └── compress.js └── test ├── compress.test.js ├── expected ├── compress_test_file.js.gz ├── compress_test_files.tar ├── compress_test_files.tgz ├── compress_test_files.zip └── gzip │ ├── folder_one │ ├── one.css.gz │ └── one.js.gz │ ├── folder_two │ ├── two.css.gz │ └── two.js.gz │ ├── test.css.gz │ └── test.js.gz └── fixtures ├── folder_one ├── one.css └── one.js ├── folder_two ├── two.css └── two.js ├── test.css └── test.js /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | tmp -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/.jshintrc -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/AUTHORS -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/CHANGELOG -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/README.md -------------------------------------------------------------------------------- /docs/compress-examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/docs/compress-examples.md -------------------------------------------------------------------------------- /docs/compress-options.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/docs/compress-options.md -------------------------------------------------------------------------------- /docs/compress-overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/docs/compress-overview.md -------------------------------------------------------------------------------- /docs/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/docs/overview.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/package.json -------------------------------------------------------------------------------- /tasks/compress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/tasks/compress.js -------------------------------------------------------------------------------- /tasks/lib/compress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/tasks/lib/compress.js -------------------------------------------------------------------------------- /test/compress.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/compress.test.js -------------------------------------------------------------------------------- /test/expected/compress_test_file.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/compress_test_file.js.gz -------------------------------------------------------------------------------- /test/expected/compress_test_files.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/compress_test_files.tar -------------------------------------------------------------------------------- /test/expected/compress_test_files.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/compress_test_files.tgz -------------------------------------------------------------------------------- /test/expected/compress_test_files.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/compress_test_files.zip -------------------------------------------------------------------------------- /test/expected/gzip/folder_one/one.css.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/gzip/folder_one/one.css.gz -------------------------------------------------------------------------------- /test/expected/gzip/folder_one/one.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/gzip/folder_one/one.js.gz -------------------------------------------------------------------------------- /test/expected/gzip/folder_two/two.css.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/gzip/folder_two/two.css.gz -------------------------------------------------------------------------------- /test/expected/gzip/folder_two/two.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/gzip/folder_two/two.js.gz -------------------------------------------------------------------------------- /test/expected/gzip/test.css.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/gzip/test.css.gz -------------------------------------------------------------------------------- /test/expected/gzip/test.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gruntjs/grunt-contrib-compress/HEAD/test/expected/gzip/test.js.gz -------------------------------------------------------------------------------- /test/fixtures/folder_one/one.css: -------------------------------------------------------------------------------- 1 | body,td{}a{}a:hover{} -------------------------------------------------------------------------------- /test/fixtures/folder_one/one.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){$.noConflict();}); -------------------------------------------------------------------------------- /test/fixtures/folder_two/two.css: -------------------------------------------------------------------------------- 1 | body,td{color:blue;}a{}a:hover{} -------------------------------------------------------------------------------- /test/fixtures/folder_two/two.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){jQuery}); -------------------------------------------------------------------------------- /test/fixtures/test.css: -------------------------------------------------------------------------------- 1 | body,td{background:green;}a{}a:hover{} -------------------------------------------------------------------------------- /test/fixtures/test.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){}); --------------------------------------------------------------------------------