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

create-views-app

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-views-app - npm Package Compare versions

Comparing version 23.4.0 to 23.5.0

92

index.js

@@ -110,3 +110,2 @@ let { existsSync, promises: fs } = require('fs')

// setup scripts
pkg.scripts['start:react'] = pkg.scripts.start
pkg.scripts.start = `concurrently --kill-others npm:start:*`

@@ -122,2 +121,4 @@ pkg.scripts['start:views'] = `views-morph src --watch --as ${

pkg.scripts.test = 'react-app-rewired test'
} else {
pkg.scripts['start:react'] = pkg.scripts.ios
}

@@ -197,2 +198,3 @@

[path.join(cwd, 'jsconfig.json'), JSCONFIG_JSON],
[path.join(cwd, 'app.viewstools'), APP_VIEWSTOOLS_WEB],
].map(([file, content]) => fs.writeFile(file, content))

@@ -206,2 +208,3 @@ )

[path.join(cwd, 'babel.config.js'), BABEL_CONFIG_JS_NATIVE],
[path.join(cwd, 'app.viewstools'), APP_VIEWSTOOLS_NATIVE],
].map(([file, content]) => fs.writeFile(file, content))

@@ -494,1 +497,88 @@ )

}`
let APP_VIEWSTOOLS_WEB = `{
"version": 1,
"url": "http://localhost:3000",
"media": {
"base": "laptop",
"mobile": {
"width": 424,
"height": 667
},
"tablet": {
"width": 1024,
"height": 768
},
"laptop": {
"width": 1280,
"height": 800
},
"desktop": {
"width": 2560,
"height": 1600
}
},
"runtime": [
{
"id": "start:views",
"name": "Views Morpher",
"command": "yarn start:views --tools",
"readyCheck": "Views Morpher is ready",
"dependsOn": []
},
{
"id": "start:react",
"name": "React",
"command": "BROWSER=none yarn start:react",
"readyCheck": "(Compiled|Welcome to React Native|Expo DevTools is running)",
"dependsOn": ["start:views"]
}
{
"id": "preview",
"name": "Preview",
"command": "open http://localhost:3000 && echo 'Done'",
"readyCheck": "Done",
"dependsOn": ["start:react"]
}
]
}`
let APP_VIEWSTOOLS_NATIVE = `{
"version": 1,
"url": "http://localhost:3000",
"media": {
"base": "laptop",
"mobile": {
"width": 424,
"height": 667
},
"tablet": {
"width": 1024,
"height": 768
},
"laptop": {
"width": 1280,
"height": 800
},
"desktop": {
"width": 2560,
"height": 1600
}
},
"runtime": [
{
"id": "start:views",
"name": "Views Morpher",
"command": "yarn start:views --tools",
"readyCheck": "Views Morpher is ready",
"dependsOn": []
},
{
"id": "start:react",
"name": "React",
"command": "yarn start:react",
"readyCheck": "(Compiled|Welcome to React Native|Expo DevTools is running)",
"dependsOn": ["start:views"]
}
]
}`

2

package.json
{
"name": "create-views-app",
"version": "23.4.0",
"version": "23.5.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "bin": {

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