├── .editorconfig ├── .gitignore ├── .jshintrc ├── .npmignore ├── .travis.yml ├── Gruntfile.js ├── LICENSE-MIT ├── README.md ├── lib └── grunt-text-replace.js ├── package.json ├── tasks └── text-replace.js ├── test ├── text-replace-error-tests.js ├── text-replace-functional-tests.js ├── text-replace-unit-tests.js └── text_files │ ├── example.txt │ ├── expected-result.txt │ ├── template-example.txt │ ├── template-expected-result.txt │ └── test.txt └── tmp ├── custom_options └── default_options /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | test/modified 4 | tmp -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/README.md -------------------------------------------------------------------------------- /lib/grunt-text-replace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/lib/grunt-text-replace.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/package.json -------------------------------------------------------------------------------- /tasks/text-replace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/tasks/text-replace.js -------------------------------------------------------------------------------- /test/text-replace-error-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/test/text-replace-error-tests.js -------------------------------------------------------------------------------- /test/text-replace-functional-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/test/text-replace-functional-tests.js -------------------------------------------------------------------------------- /test/text-replace-unit-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/test/text-replace-unit-tests.js -------------------------------------------------------------------------------- /test/text_files/example.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/test/text_files/example.txt -------------------------------------------------------------------------------- /test/text_files/expected-result.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yoniholmes/grunt-text-replace/HEAD/test/text_files/expected-result.txt -------------------------------------------------------------------------------- /test/text_files/template-example.txt: -------------------------------------------------------------------------------- 1 | url('http://www.google.com'); -------------------------------------------------------------------------------- /test/text_files/template-expected-result.txt: -------------------------------------------------------------------------------- 1 | url(<% some unprocessed text %>); -------------------------------------------------------------------------------- /test/text_files/test.txt: -------------------------------------------------------------------------------- 1 | Hello world -------------------------------------------------------------------------------- /tmp/custom_options: -------------------------------------------------------------------------------- 1 | !!! -------------------------------------------------------------------------------- /tmp/default_options: -------------------------------------------------------------------------------- 1 | . --------------------------------------------------------------------------------