Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-react-native-module

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-react-native-module - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

2

lib.js

@@ -32,3 +32,3 @@ const path = require('path');

);
}
};

@@ -35,0 +35,0 @@ // alias, at least for now:

{
"name": "create-react-native-module",
"version": "0.1.0",
"version": "0.2.0",
"description": "Tool to create a React Native library module or view module with a single command",

@@ -9,3 +9,3 @@ "bin": "cli.js",

"lint": "eslint .",
"test": "npm run lint"
"test": "echo 'not supported' && exit 1"
},

@@ -44,16 +44,19 @@ "repository": {

"dependencies": {
"commander": "^2.9.0",
"jsonfile": "^4.0.0",
"commander": "^2.19.0",
"jsonfile": "^5.0.0",
"mkdirp": "^0.5.1",
"node-emoji": "^1.5.1",
"param-case": "^2.1.0",
"pascal-case": "^2.0.0",
"update-notifier": "^2.1.0",
"uuid": "^3.0.1"
"node-emoji": "^1.10.0",
"param-case": "^2.1.1",
"pascal-case": "^2.0.1",
"update-notifier": "^2.5.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"eslint": "^3.16.0",
"eslint-config-airbnb-base": "^11.1.0",
"eslint-plugin-import": "^2.2.0",
"shelljs": "^0.7.6"
"eslint": "^5.15.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"shelljs": "^0.8.3"
},

@@ -60,0 +63,0 @@ "rnpm": {

@@ -110,6 +110,4 @@ # create-react-native-module

- CLI does not show the correct path of the generated library module
- outdated dependencies
- not all documented options work as documented
- not all options are documented
- this project has some lint errors

@@ -116,0 +114,0 @@ ## Behavior not tested or supported

@@ -76,10 +76,10 @@ /* eslint max-len: 0 */

content: ({ moduleName, platforms, githubAccount, authorName, authorEmail, license }) => {
const dependenciesCommon = `{
"react": "16.2.0",
"react-native": "^0.52.0"`;
const dependencies1 = (platforms.indexOf('windows') >= 0)
? dependenciesCommon + `,
"react-native-windows": "0.52.0"`
: dependenciesCommon;
const dependencies = dependencies1 + `
const dependenciesFirstPart = `{
"react": "^16.6.3",
"react-native": "^0.58.6"`;
const dependenciesPartial = (platforms.indexOf('windows') >= 0)
? dependenciesFirstPart + `,
"react-native-windows": "^0.57.0"`
: dependenciesFirstPart;
const externalDependencies = dependenciesPartial + `
}`;

@@ -110,4 +110,4 @@ return `{

"readmeFilename": "README.md",
"peerDependencies": ${dependencies},
"devDependencies": ${dependencies}
"peerDependencies": ${externalDependencies},
"devDependencies": ${externalDependencies}
}

@@ -114,0 +114,0 @@ `;

@@ -1,2 +0,2 @@

const jsonfile = require('jsonfile')
const jsonfile = require('jsonfile');

@@ -3,0 +3,0 @@ // Add a script entry to a package.json file at the packageJsonPath.

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