{"_id":"@ngxs/cli","_rev":"13-b4585bb031fdd94004cd6bbe617b45e6","name":"@ngxs/cli","dist-tags":{"latest":"3.0.0"},"versions":{"0.0.1":{"name":"@ngxs/cli","version":"0.0.1","license":"MIT","main":"./lib/index.js","typings":"./lib/index.d","author":{"name":"Maxim Ivanov"},"keywords":["ngxs","cli"],"scripts":{"prepublishOnly":"tsc -p tsconfig.json && cp -R src/plop-helpers lib/src/plop-helpers","// - Binaries":"Run against node_modules/.bin","tsc":"tsc","plop":"plop","ts-node":"ts-node","node-plop":"node-plop","// - APPS":"Run Apps in dev and with packaged modules","start":"ts-node index","// - TESTING":"Test all modules","test":"ts-mocha --paths -p ./tsconfig.json tests/*.spec.ts","// - UTILS":"Utility Scripts","lint":"tslint --exclude 'node_modules/**/*.ts' -c tslint.json '**/*.ts'"},"bin":{"ngxs":"./bin/ngxs.js"},"sideEffects":true,"dependencies":{"colors":"^1.3.1","command-line-args":"^5.0.2","command-line-usage":"^5.0.5","inquirer-directory":"^2.1.0","node-plop":"0.15.0","plop":"^2.0.0"},"devDependencies":{"@types/expect":"1.20.3","@types/mocha":"5.0.0","@types/node":"^10.5.6","chai":"^4.1.2","expect":"22.4.3","mocha":"^5.2.0","rimraf":"^2.6.2","ts-mocha":"^1.3.0","tsconfig-paths":"^3.5.0","tslint":"^5.11.0","tslib":"^1.9.3","ts-node":"^7.0.0","typescript":"2.7.1"},"gitHead":"497e05c351494eedb24e823dbab14963d5f59385","description":"![npm version](https://badge.fury.io/js/%40ngxs%2Fcli.svg)","_id":"@ngxs/cli@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"markwhitfeld","email":"mark.whitfeld@gmail.com"},"dist":{"integrity":"sha512-CGIcX5Lx7wgJ42w8V2ZgpP6fTPmY91obOtWdvC+6GunMMtup+TqFDDFpWNoMaZXJIBOvHiEEmnKWzZ14uQXMkQ==","shasum":"40bf2b4deee56c095b4d7b7b92609f387b81681e","tarball":"https://registry.npmjs.org/@ngxs/cli/-/cli-0.0.1.tgz","fileCount":24,"unpackedSize":1507496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrnBOCRA9TVsSAnZWagAA+osQAI4ZW1T7txDVE79ZhL13\nah1NqS5f2OYX9Ubz1+GSdEEQP2u+JsuUhvpuSmLcVlQkG+TY6bIIE0cFALUp\nsjYf+fF87hUcmiU5c9DsujVDHzdsSRrYrEIBWo1SAPlF9h+vjO7/GI+bJCcI\nJdXyrIkx7R2bDHAVIxCzQ/pcYDWrGaDxK7ZpRt249Hkmkm5v/ZwQfICEtcgN\nGwfcohvYH3KcTkv0AXg6IsZnDRQEn/NOhNr3Vbd+ECmUIJBVLeg8cAy6jH6U\naW7I2hjSgocBJP3qTIfCjOq+JV/W+v72azpkVc/CfrJXIAUK79OpGtC4bFxz\nJOw4i/+CtXqXp2VQKOpOOE17w7ciCAWIHEjYUkjh7XML48hsJWMlvXS/ND2N\nLGNxIc1biux4k6PDShPGXEspuVlMb3WeZjqVXTJOl7E2FyF1wN4P1ZfylKVU\nhRkUDccbXFV8fVdrZTzu//koDQRotJbf74z3J3I5hpbW0apLgUij5YcwlIbK\n3oRW+fNVeUTFKOkBhwhJL7X82atWkq98pq4UrPqrxffOjmkaGKZLxgNTi9fC\nIICLkfTO0RZEkGA8p/E8jsHC1iQ5nKLg9A4aJdxj1wb690TkuvLJjDW2dc+W\n0914C2vmb2vEGWtMV1s7VSFmEc8mVXGOOv5f4u8XXrH5QSiHqxhhK9LgEbgn\nffh+\r\n=piPe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGYk6I+44gv2qTuzJxE2Z5PjWcgjiuMJZ02LPd33GotAIhAJSpisg9vtY1//SdA9F7MitJ7DeKT7oYbUstU13XDTUk"}]},"maintainers":[{"name":"amcdnl","email":"amcdaniel2@gmail.com"},{"name":"leon","email":"leon@radley.se"},{"name":"markwhitfeld","email":"mark.whitfeld@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_0.0.1_1538158669284_0.6474982181609816"},"_hasShrinkwrap":false},"1.0.0":{"name":"@ngxs/cli","version":"1.0.0","license":"MIT","main":"./lib/index.js","typings":"./lib/index.d","author":{"name":"Maxim Ivanov"},"repository":{"type":"git","url":"git+https://github.com/ngxs/cli.git"},"keywords":["ngxs","cli","angular","angular2","state-management"],"scripts":{"prepublishOnly":"tsc -p tsconfig.json && cp -R src/plop-helpers lib/src/plop-helpers","// - Binaries":"Run against node_modules/.bin","tsc":"tsc","plop":"plop","ts-node":"ts-node","node-plop":"node-plop","// - APPS":"Run Apps in dev and with packaged modules","start":"ts-node index","// - TESTING":"Test all modules","test":"ts-mocha --paths -p ./tsconfig.json tests/*.spec.ts","// - UTILS":"Utility Scripts","lint":"tslint --exclude 'node_modules/**/*.ts' -c tslint.json '**/*.ts'"},"bin":{"ngxs":"./bin/ngxs.js"},"sideEffects":true,"dependencies":{"colors":"^1.3.1","command-line-args":"^5.0.2","command-line-usage":"^5.0.5","inquirer-directory":"^2.1.0","node-plop":"0.15.0","plop":"^2.0.0"},"devDependencies":{"@types/expect":"1.20.3","@types/mocha":"5.0.0","@types/node":"^10.5.6","chai":"^4.1.2","expect":"22.4.3","mocha":"^5.2.0","rimraf":"^2.6.2","ts-mocha":"^1.3.0","tsconfig-paths":"^3.5.0","tslint":"^5.11.0","tslib":"^1.9.3","ts-node":"^7.0.0","typescript":"2.7.1"},"gitHead":"497e05c351494eedb24e823dbab14963d5f59385","description":"![npm version](https://badge.fury.io/js/%40ngxs%2Fcli.svg)","bugs":{"url":"https://github.com/ngxs/cli/issues"},"homepage":"https://github.com/ngxs/cli#readme","_id":"@ngxs/cli@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"markwhitfeld","email":"mark.whitfeld@gmail.com"},"dist":{"integrity":"sha512-wL8Eq7HXd7uEQ5+VOTH8Oaqh0a/MrV9MCevNmo3El1t4BsPVwcU7gSszN92Yp9nNWL/Pv8jXlBLV7PnEIFdSmg==","shasum":"13455a7444840d4071d7ccb153afc525aa8202a7","tarball":"https://registry.npmjs.org/@ngxs/cli/-/cli-1.0.0.tgz","fileCount":24,"unpackedSize":1507642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrnJzCRA9TVsSAnZWagAAZM0P/3XhLy3wHzX95Mev6DM0\nNXBvJaIf/9k33qvl1QfGyeNXpB/Q6GOLvc8phaRK7fKXxnjBogaML5W+31d7\nmdAJbtC1mOHkG+7QF2EjhctEFAe/w6ppdZ/KkXnOpV3Ukv+q8nWI80F/0UvK\njJJhV+6qk0QI7aghnFDPe1Pdfvqvd671ezdTqa3iM+9AkyLgn0KKTklvoYqE\n3WI0cEHyKXIkLYvURL2Rgrgp74eKyxhrs7oMbQDzuX43rLJ/4sFffRwienGp\nZMe/EPMk0Tx42IsE31jRjPhZHFnjxu/oyNnd1MphMxhQCYLSEHQzf7IVYcUA\nrNhrYaUzqtRDeXIYAOtXafIARXA84aZQvC12Ln6ke6lVTyyuPPUiIKGD2gqu\nk4mIQXhNVu2rWWhl5JD/C3CqMQP+JOzQw2vnA3K1cSmsBw4NSIMjB104jeKW\nP6163sSDeG2ZWmvtNqdANQJqw8xdnOrtFIPaQULMz7DnUC0mh6sIA0D2EGJz\nNddwXwpW/F8KgDnvOCAfr9twPBrfeRnfK50yHWlCYunFcL8TlvrsdyB95nuo\ndOFeNk/HHMC4nGYcJlmQmFX5kLTE2FGKFh+U/GLl273oumdVk+9gPO+hk3TA\niG+mIVPqLD3PgCX7Djhw0erD3aMDWVYG20QBoCZLCVPmiXEYSLLbrIEFzvgt\neFXL\r\n=b3Z0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/mxxXBAuIgeLqF9qZllMrdcXhaRKbMmHAo4BP668FJAiBzMS/tQ9LLg+rgOYLEE2MsmP5k5ZYLk+ovMfvdL/LAeQ=="}]},"maintainers":[{"name":"amcdnl","email":"amcdaniel2@gmail.com"},{"name":"leon","email":"leon@radley.se"},{"name":"markwhitfeld","email":"mark.whitfeld@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_1.0.0_1538159218593_0.960488400075191"},"_hasShrinkwrap":false},"2.0.0":{"name":"@ngxs/cli","version":"2.0.0","license":"MIT","main":"./lib/index.js","typings":"./lib/index.d","author":{"name":"Maxim Ivanov"},"repository":{"type":"git","url":"git+https://github.com/ngxs/cli.git"},"keywords":["ngxs","cli","angular","state-management"],"scripts":{"prepublishOnly":"tsc -p tsconfig.json && cp -R src/plop-helpers lib/src/plop-helpers","plop":"plop","ts-node":"ts-node","node-plop":"node-plop","// - APPS":"Run Apps in dev and with packaged modules","start":"ts-node index","// - TESTING":"Test all modules","test":"ts-mocha --paths -p ./tsconfig.json tests/*.spec.ts","// - UTILS":"Utility Scripts","lint":"tslint --exclude 'node_modules/**/*.ts' -c tslint.json '**/*.ts'","format":"prettier --write '**/*.{ts,js}'"},"bin":{"ngxs":"bin/ngxs.js"},"sideEffects":true,"dependencies":{"colors":"^1.3.1","command-line-args":"^5.0.2","command-line-usage":"^5.0.5","inquirer-directory":"^2.1.0","node-plop":"0.15.0","plop":"^2.0.0"},"devDependencies":{"@commitlint/cli":"^7.2.1","@commitlint/config-conventional":"^7.1.2","@types/expect":"1.20.3","@types/mocha":"5.0.0","@types/node":"^10.5.6","chai":"^4.1.2","expect":"22.4.3","husky":"^1.1.3","lint-staged":"^8.0.4","mocha":"^5.2.0","rimraf":"^2.6.2","ts-mocha":"^1.3.0","ts-node":"^7.0.0","tsconfig-paths":"^3.5.0","tslib":"^1.9.3","tslint":"^5.11.0","typescript":"3.8.3"},"gitHead":"24d711d1a03f2cd4fd0038705da407da1c3ba0ae","description":"<a href=\"https://travis-ci.org/ngxs/cli\">\r   <img src=\"https://travis-ci.org/ngxs/cli.svg?branch=master\">\r </a>","bugs":{"url":"https://github.com/ngxs/cli/issues"},"homepage":"https://github.com/ngxs/cli#readme","_id":"@ngxs/cli@2.0.0","_nodeVersion":"13.6.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-XhbUUnb3ueGnBgJd0mYHPhirOz8/nTrq48yiz6ccXp5SEqWpl4vukDSa5s+F+3uyltvjijdLbwJ1a2V/U24okA==","shasum":"1bf156bc0338278f011aa5179cdd585ed8f74de1","tarball":"https://registry.npmjs.org/@ngxs/cli/-/cli-2.0.0.tgz","fileCount":30,"unpackedSize":1508489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJescmVCRA9TVsSAnZWagAAEk0P/2M9IQcK57b+ttt/ziw7\nwwDc4SU3RBfJ7CqYu2bURL/c1SvCUiViM2IB6JeX22dwuQxaOaLr93XOAhcX\nBc2nTcTSk6PhoGOQsQiRfFQaZj1pbFfDjk+PcycBXF8oa34Lru5auB5oRA5J\nvNZklrz5gK6YGSWVOX8eMKpNzfxJMJ+HgH20ThN711e9cTMCMI0LICIdlKE5\nmhffQxaVr01lMn3UPPrnCPnggnklhSrQL2OVjmWRYupRpewv9kcMEX8MYvZf\nbFG540dQnRtAbd09gqa5hIAbJAS8TJp0qGiNmRma6lDXPGeRyDscX6+7UDe9\nAyVwJfmIwoRym2BKFna/w/B/6qquDFzpRCIRR0keZNwomXwfJ7k2jLxZ6rd2\nKxzMSYnk7dn9VvTjphARLsQEqlkEeLQ0KV+51W3MXuBwLJCQfR2yj0/8bfrO\nxYAGgGfgn0uxjz4YpELq/Bh/HCZYUpOqIuswDKWBMWT7o7MPmA9omrNFpjmZ\nCSRlopU42BMp/Ml9eagS0NxJMxnM65w2DrI5ahIoW1Czyi3kLC7G1jw3M5Bz\nx8ELFWdEbv1+sQHdEwGluXD1/RlQ5CboLFWHzjY3weg0Plx0Bp0IpxcD/bl6\nvAYYo02aVnmBYBKmzdvWhWJceRtgnR57AbYuH9f/zoPwh69HNevCAEAtljda\nkvLi\r\n=SGOL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqz7oLpC0i+GmDaNnDx4WuyhJzVxFIcIfxSQTVfoN2nQIgfMtWOgv7EVDpGZxOiQroJ+lg63l/8gYFb3Xxr8YNpc8="}]},"maintainers":[{"email":"amcdaniel2@gmail.com","name":"amcdnl"},{"email":"mark.whitfeld@gmail.com","name":"markwhitfeld"},{"email":"arthurandrosovich@gmail.com","name":"overthesanity"},{"email":"omaxphp@yandex.ru","name":"splincode"}],"_npmUser":{"name":"splincode","email":"omaxphp@yandex.ru"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_2.0.0_1588709780864_0.8325815315549714"},"_hasShrinkwrap":false},"3.0.0":{"name":"@ngxs/cli","version":"3.0.0","license":"MIT","main":"./lib/index.js","typings":"./lib/index.d","author":{"name":"Maxim Ivanov"},"repository":{"type":"git","url":"git+https://github.com/ngxs/cli.git"},"keywords":["ngxs","cli","angular","state-management"],"scripts":{"tsc":"tsc","prepublishOnly":"tsc -p tsconfig.json && cp -R src/plop-helpers lib/src/plop-helpers","plop":"plop","ts-node":"ts-node","node-plop":"node-plop","// - APPS":"Run Apps in dev and with packaged modules","start":"ts-node index","// - TESTING":"Test all modules","test":"ts-mocha --paths -p ./tsconfig.json tests/*.spec.ts","// - UTILS":"Utility Scripts","lint":"tslint --exclude 'node_modules/**/*.ts' -c tslint.json '**/*.ts'","format":"prettier --write '**/*.{ts,js}'"},"bin":{"ngxs":"bin/ngxs.js"},"sideEffects":true,"dependencies":{"colors":"1.4.0","command-line-args":"^5.2.1","command-line-usage":"^7.0.1","inquirer-directory":"^2.1.0","node-plop":"0.23.0","plop":"4.0.0"},"devDependencies":{"@commitlint/cli":"18.4.2","@commitlint/config-conventional":"18.4.2","@types/expect":"24.3.0","@types/mocha":"10.0.4","@types/node":"20.9.2","chai":"4.3.10","expect":"29.7.0","husky":"8.0.3","lint-staged":"15.1.0","mocha":"10.1.0","rimraf":"5.0.5","ts-mocha":"10.0.0","ts-node":"10.9.1","tsconfig-paths":"4.2.0","tslib":"2.6.2","tslint":"6.1.3","typescript":"4.9.5"},"gitHead":"2c573bb43238b2248e35f2e54c0c241e820a48b3","description":"<a href=\"https://travis-ci.org/ngxs/cli\">   <img src=\"https://travis-ci.org/ngxs/cli.svg?branch=master\"> </a>","bugs":{"url":"https://github.com/ngxs/cli/issues"},"homepage":"https://github.com/ngxs/cli#readme","_id":"@ngxs/cli@3.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-NHyuZZErk1YFJ6XPoIyA3gZLBrHlHG5bTxNTTQQ5RyDLk7epFq5nyX8Qonls59buoGTmWPJ4GVu41S0SEK7ZXg==","shasum":"cce2a7395bb16c76c432679176ac938c581ea708","tarball":"https://registry.npmjs.org/@ngxs/cli/-/cli-3.0.0.tgz","fileCount":29,"unpackedSize":1511015,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBYwvCpRWfN6+jrl1XIodF1GSBx9XR7xqCVlV4vlcXfWAiAsQjd8IakFhz4EOUQZPsgo+wiXZXkkHpjfwhHaA3y5mQ=="}]},"_npmUser":{"name":"splincode","email":"omaxphp@yandex.ru"},"directories":{},"maintainers":[{"name":"amcdnl","email":"amcdaniel2@gmail.com"},{"name":"splincode","email":"omaxphp@yandex.ru"},{"name":"overthesanity","email":"arthurandrosovich@gmail.com"},{"name":"markwhitfeld","email":"mark.whitfeld@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli_3.0.0_1700555018510_0.8774870064792284"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-28T18:17:49.126Z","0.0.1":"2018-09-28T18:17:49.610Z","modified":"2023-11-21T08:23:39.018Z","1.0.0":"2018-09-28T18:26:58.758Z","2.0.0":"2020-05-05T20:16:21.080Z","3.0.0":"2023-11-21T08:23:38.815Z"},"maintainers":[{"name":"amcdnl","email":"amcdaniel2@gmail.com"},{"name":"splincode","email":"omaxphp@yandex.ru"},{"name":"overthesanity","email":"arthurandrosovich@gmail.com"},{"name":"markwhitfeld","email":"mark.whitfeld@gmail.com"}],"description":"<a href=\"https://travis-ci.org/ngxs/cli\">   <img src=\"https://travis-ci.org/ngxs/cli.svg?branch=master\"> </a>","keywords":["ngxs","cli","angular","state-management"],"author":{"name":"Maxim Ivanov"},"license":"MIT","readme":"# @ngxs/cli\n\n<a href=\"https://travis-ci.org/ngxs/cli\">\n  <img src=\"https://travis-ci.org/ngxs/cli.svg?branch=master\">\n</a>\n\n<a href=\"https://badge.fury.io/js/%40ngxs%2Fcli\">\n  <img src=\"https://badge.fury.io/js/%40ngxs%2Fcli.svg\" alt=\"@ngxs/cli\">\n</a>\n\n![CLI Screenshot](https://raw.githubusercontent.com/ngxs/store/master/docs/assets/cli.gif)\n\n## Install\nThe CLI can be installed using NPM:\n\n```bash\nnpm i @ngxs/cli -g\n```\n\n## Usage\n\n```bash\nngxs\n```\n\n## Options\n\n```bash\nNGXS CLI\n\n  $ ngxs --name name --spec boolean --directory path --folder-name name\n  $ ngxs --help\n  \nOptions\n\n  --name name         Store name  \n  --directory path    By default, the prompt is set to the current directory\n  --folder-name name   Use your own folder name, default: state  \n  --spec boolean      Creates a spec file for store, default: true\n\nCustom template generator\n\n  --plopfile path   Path to the plopfile\n```\n\n\n#### What is Plop?\n\n[Plop](https://www.npmjs.com/package/plop) is what I like to call a \"micro-generator framework.\" Now, I call it that because it is a small tool that gives you a simple way to generate code or any other type of flat text files in a consistent way. You see, we all create structures and patterns in our code (routes, controllers, components, helpers, etc). These patterns change and improve over time so when you need to create a NEW insert-name-of-pattern-here, it's not always easy to locate the files in your codebase that represent the current \"best practice.\" That's where plop saves you. With plop, you have your \"best practice\" method of creating any given pattern in CODE. Code that can easily be run from the terminal by typing plop. Not only does this save you from hunting around in your codebase for the right files to copy, but it also turns \"the right way\" into \"the easiest way\" to make new files.\n\n## Development\n\nRun tests\n\n```bash\nnpm test\n```\n\nLocal execute CLI\n\n```\nnpm start\n```\n","readmeFilename":"README.md","homepage":"https://github.com/ngxs/cli#readme","repository":{"type":"git","url":"git+https://github.com/ngxs/cli.git"},"bugs":{"url":"https://github.com/ngxs/cli/issues"}}