├── .babelrc ├── .eslintrc ├── .gitignore ├── .jshintrc ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── RELEASE_NOTE.md ├── bin └── mantra ├── issue_template.md ├── lib ├── cli.js ├── commands │ ├── create.js │ ├── destroy.js │ ├── generate.js │ └── index.js ├── config_utils.js ├── generators │ ├── action.js │ ├── collection.js │ ├── component.js │ ├── container.js │ ├── method.js │ ├── module.js │ ├── publication.js │ ├── storybook.js │ └── utils.js ├── logger.js ├── update_notifier.js └── utils.js ├── package.json ├── release.sh ├── templates ├── .scripts │ └── mocha_boot.tt ├── .storybook │ ├── config.js │ └── webpack.config.js ├── babelrc.tt ├── client │ ├── configs │ │ └── context.js │ ├── main.js │ └── modules │ │ └── core │ │ ├── actions │ │ ├── generic.tt │ │ ├── index.js │ │ └── tests │ │ │ └── test.tt │ │ ├── components │ │ ├── .stories │ │ │ ├── index.js │ │ │ └── storybook.tt │ │ ├── generic_class.tt │ │ ├── generic_stateless.tt │ │ ├── home.jsx │ │ ├── main_layout.jsx │ │ └── tests │ │ │ └── test.tt │ │ ├── containers │ │ ├── generic.tt │ │ └── tests │ │ │ └── test.tt │ │ ├── index.js │ │ ├── routes.jsx │ │ └── routes.tt ├── eslintrc.tt ├── gitignore.tt ├── lib │ └── collections │ │ ├── generic.tt │ │ ├── generic_astronomy.tt │ │ ├── generic_collection2.tt │ │ └── index.js ├── package.tt └── server │ ├── main.js │ ├── methods │ ├── generic.tt │ └── index.js │ └── publications │ ├── generic.tt │ └── index.js └── test ├── commands ├── create_test.js ├── destroy_test.js └── generate_test.js ├── generators └── utils_test.js └── test_helpers.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | tmp 4 | npm-debug.log 5 | .idea -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "esnext": true 3 | } 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /lib 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE_NOTE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/RELEASE_NOTE.md -------------------------------------------------------------------------------- /bin/mantra: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/bin/mantra -------------------------------------------------------------------------------- /issue_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/issue_template.md -------------------------------------------------------------------------------- /lib/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/cli.js -------------------------------------------------------------------------------- /lib/commands/create.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/commands/create.js -------------------------------------------------------------------------------- /lib/commands/destroy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/commands/destroy.js -------------------------------------------------------------------------------- /lib/commands/generate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/commands/generate.js -------------------------------------------------------------------------------- /lib/commands/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/commands/index.js -------------------------------------------------------------------------------- /lib/config_utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/config_utils.js -------------------------------------------------------------------------------- /lib/generators/action.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/generators/action.js -------------------------------------------------------------------------------- /lib/generators/collection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/generators/collection.js -------------------------------------------------------------------------------- /lib/generators/component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/generators/component.js -------------------------------------------------------------------------------- /lib/generators/container.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/generators/container.js -------------------------------------------------------------------------------- /lib/generators/method.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/generators/method.js -------------------------------------------------------------------------------- /lib/generators/module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/generators/module.js -------------------------------------------------------------------------------- /lib/generators/publication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/generators/publication.js -------------------------------------------------------------------------------- /lib/generators/storybook.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/generators/storybook.js -------------------------------------------------------------------------------- /lib/generators/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/generators/utils.js -------------------------------------------------------------------------------- /lib/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/logger.js -------------------------------------------------------------------------------- /lib/update_notifier.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/update_notifier.js -------------------------------------------------------------------------------- /lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/lib/utils.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/package.json -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/release.sh -------------------------------------------------------------------------------- /templates/.scripts/mocha_boot.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/.scripts/mocha_boot.tt -------------------------------------------------------------------------------- /templates/.storybook/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/.storybook/config.js -------------------------------------------------------------------------------- /templates/.storybook/webpack.config.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templates/babelrc.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/babelrc.tt -------------------------------------------------------------------------------- /templates/client/configs/context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/configs/context.js -------------------------------------------------------------------------------- /templates/client/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/main.js -------------------------------------------------------------------------------- /templates/client/modules/core/actions/generic.tt: -------------------------------------------------------------------------------- 1 | export default { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /templates/client/modules/core/actions/index.js: -------------------------------------------------------------------------------- 1 | export default { 2 | }; 3 | -------------------------------------------------------------------------------- /templates/client/modules/core/actions/tests/test.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/actions/tests/test.tt -------------------------------------------------------------------------------- /templates/client/modules/core/components/.stories/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templates/client/modules/core/components/.stories/storybook.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/components/.stories/storybook.tt -------------------------------------------------------------------------------- /templates/client/modules/core/components/generic_class.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/components/generic_class.tt -------------------------------------------------------------------------------- /templates/client/modules/core/components/generic_stateless.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/components/generic_stateless.tt -------------------------------------------------------------------------------- /templates/client/modules/core/components/home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/components/home.jsx -------------------------------------------------------------------------------- /templates/client/modules/core/components/main_layout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/components/main_layout.jsx -------------------------------------------------------------------------------- /templates/client/modules/core/components/tests/test.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/components/tests/test.tt -------------------------------------------------------------------------------- /templates/client/modules/core/containers/generic.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/containers/generic.tt -------------------------------------------------------------------------------- /templates/client/modules/core/containers/tests/test.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/containers/tests/test.tt -------------------------------------------------------------------------------- /templates/client/modules/core/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/index.js -------------------------------------------------------------------------------- /templates/client/modules/core/routes.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/routes.jsx -------------------------------------------------------------------------------- /templates/client/modules/core/routes.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/client/modules/core/routes.tt -------------------------------------------------------------------------------- /templates/eslintrc.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/eslintrc.tt -------------------------------------------------------------------------------- /templates/gitignore.tt: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /templates/lib/collections/generic.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/lib/collections/generic.tt -------------------------------------------------------------------------------- /templates/lib/collections/generic_astronomy.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/lib/collections/generic_astronomy.tt -------------------------------------------------------------------------------- /templates/lib/collections/generic_collection2.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/lib/collections/generic_collection2.tt -------------------------------------------------------------------------------- /templates/lib/collections/index.js: -------------------------------------------------------------------------------- 1 | export { 2 | undefined 3 | }; 4 | -------------------------------------------------------------------------------- /templates/package.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/package.tt -------------------------------------------------------------------------------- /templates/server/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/server/main.js -------------------------------------------------------------------------------- /templates/server/methods/generic.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/server/methods/generic.tt -------------------------------------------------------------------------------- /templates/server/methods/index.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | } 3 | -------------------------------------------------------------------------------- /templates/server/publications/generic.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/templates/server/publications/generic.tt -------------------------------------------------------------------------------- /templates/server/publications/index.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | } 3 | -------------------------------------------------------------------------------- /test/commands/create_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/test/commands/create_test.js -------------------------------------------------------------------------------- /test/commands/destroy_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/test/commands/destroy_test.js -------------------------------------------------------------------------------- /test/commands/generate_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/test/commands/generate_test.js -------------------------------------------------------------------------------- /test/generators/utils_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/test/generators/utils_test.js -------------------------------------------------------------------------------- /test/test_helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantrajs/mantra-cli/HEAD/test/test_helpers.js --------------------------------------------------------------------------------