├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── main.yml ├── .gitignore ├── .husky ├── .gitignore ├── commit-msg └── prepare-commit-msg ├── .npmrc ├── README.md ├── commitlint.config.js ├── gruntfile.js ├── license ├── package.json ├── tasks └── replace.js └── test ├── fixtures ├── built-in_source_file.txt ├── built-in_source_filename.txt ├── built-in_source_path.txt ├── built-in_target_file.txt ├── built-in_target_filename.txt ├── built-in_target_path.txt ├── fail.txt ├── simple.txt ├── verbose.txt └── warning.txt └── test.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outaTiME/grunt-replace/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outaTiME/grunt-replace/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | yarn.lock 3 | -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outaTiME/grunt-replace/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/prepare-commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | exec < /dev/tty && git cz --hook || true 5 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outaTiME/grunt-replace/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'] 3 | }; 4 | -------------------------------------------------------------------------------- /gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outaTiME/grunt-replace/HEAD/gruntfile.js -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outaTiME/grunt-replace/HEAD/license -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outaTiME/grunt-replace/HEAD/package.json -------------------------------------------------------------------------------- /tasks/replace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outaTiME/grunt-replace/HEAD/tasks/replace.js -------------------------------------------------------------------------------- /test/fixtures/built-in_source_file.txt: -------------------------------------------------------------------------------- 1 | @@__SOURCE_FILE__ 2 | -------------------------------------------------------------------------------- /test/fixtures/built-in_source_filename.txt: -------------------------------------------------------------------------------- 1 | @@__SOURCE_FILENAME__ 2 | -------------------------------------------------------------------------------- /test/fixtures/built-in_source_path.txt: -------------------------------------------------------------------------------- 1 | @@__SOURCE_PATH__ 2 | -------------------------------------------------------------------------------- /test/fixtures/built-in_target_file.txt: -------------------------------------------------------------------------------- 1 | @@__TARGET_FILE__ 2 | -------------------------------------------------------------------------------- /test/fixtures/built-in_target_filename.txt: -------------------------------------------------------------------------------- 1 | @@__TARGET_FILENAME__ 2 | -------------------------------------------------------------------------------- /test/fixtures/built-in_target_path.txt: -------------------------------------------------------------------------------- 1 | @@__TARGET_PATH__ 2 | -------------------------------------------------------------------------------- /test/fixtures/fail.txt: -------------------------------------------------------------------------------- 1 | @@key 2 | -------------------------------------------------------------------------------- /test/fixtures/simple.txt: -------------------------------------------------------------------------------- 1 | @@key 2 | -------------------------------------------------------------------------------- /test/fixtures/verbose.txt: -------------------------------------------------------------------------------- 1 | @@key 2 | -------------------------------------------------------------------------------- /test/fixtures/warning.txt: -------------------------------------------------------------------------------- 1 | @@key 2 | -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/outaTiME/grunt-replace/HEAD/test/test.js --------------------------------------------------------------------------------