├── .github └── workflows │ └── npm-publish.yml ├── .gitignore ├── LICENSE ├── README.md ├── _templates_ └── component │ ├── %name%.jsx.ejs │ ├── %name%.scss.ejs │ └── %name%.test.js.ejs ├── generator.js ├── index.js ├── package.json ├── patterns ├── cc │ └── index.js ├── cz │ └── index.js ├── index.js ├── kc │ └── index.js ├── lc │ └── index.js ├── ls │ └── index.js ├── now │ └── index.js ├── path │ └── index.js ├── replace │ └── index.js ├── sc │ └── index.js ├── uc │ └── index.js └── username │ └── index.js ├── postinstall.js ├── tests ├── _templates_ │ ├── custom-delimiters │ │ ├── $name$.json │ │ └── file.json.ejs │ ├── custom-variables │ │ └── file.json.ejs │ ├── filename-patterns │ │ ├── %cz(%name%)%_Capitalized.json │ │ ├── %name%.json │ │ ├── %sc(%name%)%_SnakeCase.json.ejs │ │ └── %uc(%sc(%name%)%)%_FOLDER │ │ │ └── file.json │ ├── now-pattern │ │ └── file.json.ejs │ ├── path-patterns │ │ └── folder │ │ │ ├── file.json.ejs │ │ │ └── subfolder │ │ │ └── file.json.ejs │ ├── simple-patterns │ │ └── file.json.ejs │ └── static-files │ │ └── file.json ├── package.json └── unit │ ├── index.spec.js │ └── test.utils.js └── utils.js /.github/workflows/npm-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/.github/workflows/npm-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/README.md -------------------------------------------------------------------------------- /_templates_/component/%name%.jsx.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/_templates_/component/%name%.jsx.ejs -------------------------------------------------------------------------------- /_templates_/component/%name%.scss.ejs: -------------------------------------------------------------------------------- 1 | .<%=name%>{ 2 | position: relative; 3 | } -------------------------------------------------------------------------------- /_templates_/component/%name%.test.js.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/_templates_/component/%name%.test.js.ejs -------------------------------------------------------------------------------- /generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/generator.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/package.json -------------------------------------------------------------------------------- /patterns/cc/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/cc/index.js -------------------------------------------------------------------------------- /patterns/cz/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/cz/index.js -------------------------------------------------------------------------------- /patterns/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/index.js -------------------------------------------------------------------------------- /patterns/kc/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/kc/index.js -------------------------------------------------------------------------------- /patterns/lc/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/lc/index.js -------------------------------------------------------------------------------- /patterns/ls/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/ls/index.js -------------------------------------------------------------------------------- /patterns/now/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/now/index.js -------------------------------------------------------------------------------- /patterns/path/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/path/index.js -------------------------------------------------------------------------------- /patterns/replace/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/replace/index.js -------------------------------------------------------------------------------- /patterns/sc/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/sc/index.js -------------------------------------------------------------------------------- /patterns/uc/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/uc/index.js -------------------------------------------------------------------------------- /patterns/username/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/patterns/username/index.js -------------------------------------------------------------------------------- /postinstall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/postinstall.js -------------------------------------------------------------------------------- /tests/_templates_/custom-delimiters/$name$.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /tests/_templates_/custom-delimiters/file.json.ejs: -------------------------------------------------------------------------------- 1 | { 2 | "message": "<$=name$>" 3 | } -------------------------------------------------------------------------------- /tests/_templates_/custom-variables/file.json.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/tests/_templates_/custom-variables/file.json.ejs -------------------------------------------------------------------------------- /tests/_templates_/filename-patterns/%cz(%name%)%_Capitalized.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /tests/_templates_/filename-patterns/%name%.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /tests/_templates_/filename-patterns/%sc(%name%)%_SnakeCase.json.ejs: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Hello people" 3 | } -------------------------------------------------------------------------------- /tests/_templates_/filename-patterns/%uc(%sc(%name%)%)%_FOLDER/file.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /tests/_templates_/now-pattern/file.json.ejs: -------------------------------------------------------------------------------- 1 | { 2 | "date": "<%=now('DD/MM/YYYY')%>" 3 | } -------------------------------------------------------------------------------- /tests/_templates_/path-patterns/folder/file.json.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/tests/_templates_/path-patterns/folder/file.json.ejs -------------------------------------------------------------------------------- /tests/_templates_/path-patterns/folder/subfolder/file.json.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/tests/_templates_/path-patterns/folder/subfolder/file.json.ejs -------------------------------------------------------------------------------- /tests/_templates_/simple-patterns/file.json.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/tests/_templates_/simple-patterns/file.json.ejs -------------------------------------------------------------------------------- /tests/_templates_/static-files/file.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "It works fine!" 3 | } -------------------------------------------------------------------------------- /tests/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/tests/package.json -------------------------------------------------------------------------------- /tests/unit/index.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/tests/unit/index.spec.js -------------------------------------------------------------------------------- /tests/unit/test.utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/tests/unit/test.utils.js -------------------------------------------------------------------------------- /utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaumesegarra/xtuff/HEAD/utils.js --------------------------------------------------------------------------------