New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

prg-projectator

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prg-projectator - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

src/makeLocales/index.js

9

package.json
{
"name": "prg-projectator",
"version": "0.1.0",
"version": "0.2.0",
"description": "project-development boost utility",

@@ -15,5 +15,6 @@ "bin": {

"dependencies": {
"commander": "^2.9.0",
"commander": "^2.11.0",
"fs-extra": "^2.0.0",
"fs-walk": "0.0.1",
"glob": "^7.1.2",
"handlebars": "^4.0.6",

@@ -24,2 +25,3 @@ "mongodb": "^2.2.24",

"devDependencies": {
"botnaut": "^0.22.0",
"eslint": "^3.10.2",

@@ -29,4 +31,5 @@ "eslint-config-airbnb": "^13.0.0",

"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.7.1"
"eslint-plugin-react": "^6.7.1",
"mocha": "^3.5.0"
}
}

@@ -21,3 +21,8 @@ 'use strict';

get namePlural () {
return `${this.name}s`;
if (/y$/.test(this.name)) { // category -> categories
return `${this.name.slice(0, -1)}ies`;
}
return `${this.name}s`; // product -> products
}

@@ -90,3 +95,3 @@

this.name = name;
this.name = name.substr(0, 1).toLowerCase() + name.substr(1);

@@ -93,0 +98,0 @@ this._properties = new Map();

@@ -9,4 +9,2 @@ 'use strict';

const description = 'Generate model, API, frontend and tests for an entity based on apiBlueprint.apib file and the code templates in /generatorTemplates path.';
/**

@@ -18,4 +16,5 @@ * @param {Command} program

program
.command('generate [name]', description, { isDefault: false })
.action((command, name) => {
.command('generate [name]')
.description('Generate model, API, frontend and tests for an entity based on apiBlueprint.apib file and the code templates in /generatorTemplates path.')
.action((name) => {

@@ -22,0 +21,0 @@ const projectDir = process.cwd();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc