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.3.1 to 23.4.0

81

index.js

@@ -53,30 +53,31 @@ let { existsSync, promises: fs } = require('fs')

// dependencies
await Promise.all([
addDependency('@viewstools/morph'),
addDependency('concurrently'),
addDependency('husky'),
addDependency('lint-staged'),
addDependency('prettier'),
addDependency('immer'),
addDependency('graphql'),
addDependency('graphql-tag'),
addDependency('urql'),
addDependency('react-spring'),
])
// await Promise.all([
// addDependency('@viewstools/morph'),
// addDependency('concurrently'),
// addDependency('husky'),
// addDependency('lint-staged'),
// addDependency('prettier'),
// addDependency('immer'),
// addDependency('graphql'),
// addDependency('graphql-tag'),
// addDependency('urql'),
// addDependency('react-spring'),
// ])
if (isReactDom) {
await Promise.all([
addDependency('emotion'),
addDependency('react-app-rewired'),
addDependency('customize-cra'),
addDependency('customize-cra-react-refresh'),
addDependency('internal-ip'),
addDependency('use-media'),
addDependency('@viewstools/use-masked-input'),
addDependency('react-app-polyfill'),
addDependency('@reach/dialog'),
addDependency('mousetrap'),
addDependency('react-virtualized-auto-sizer'),
addDependency('react-window'),
])
await addDependency('@viewstools/create-react-app')
// await Promise.all([
// addDependency('emotion'),
// addDependency('react-app-rewired'),
// addDependency('customize-cra'),
// addDependency('customize-cra-react-refresh'),
// addDependency('internal-ip'),
// addDependency('use-media'),
// addDependency('@viewstools/use-masked-input'),
// addDependency('react-app-polyfill'),
// addDependency('@reach/dialog'),
// addDependency('mousetrap'),
// addDependency('react-virtualized-auto-sizer'),
// addDependency('react-window'),
// ])

@@ -91,14 +92,15 @@ pkg.browserslist = {

}
} else if (isReactNative) {
await addDependency('@viewstools/create-expo-app')
// addDependency('d3-ease')
}
pkg.husky = {
hooks: {
'pre-commit': 'lint-staged',
},
}
pkg.husky = {
hooks: {
'pre-commit': 'lint-staged',
},
}
pkg['lint-staged'] = {
'*.{js,json,css,md}': ['prettier --write', 'git add'],
}
} else if (isReactNative) {
addDependency('d3-ease')
pkg['lint-staged'] = {
'*.{js,json,css,md}': ['prettier --write', 'git add'],
}

@@ -112,3 +114,3 @@

pkg.scripts.start = `concurrently --kill-others npm:start:*`
pkg.scripts['start:views'] = `REACT_APP_VIEWS_TOOLS=true views-morph src --watch --as ${
pkg.scripts['start:views'] = `views-morph src --watch --as ${
isReactDom ? 'react-dom' : 'react-native'

@@ -189,6 +191,3 @@ }`

// write App.view.logic.js
[
path.join(cwd, 'src', 'App', 'logic.js'),
APP_VIEW_LOGIC_DOM,
],
[path.join(cwd, 'src', 'App', 'logic.js'), APP_VIEW_LOGIC_DOM],
// setup react-refresh

@@ -195,0 +194,0 @@ [path.join(cwd, 'config-overrides.js'), CONFIG_OVERRIDES],

{
"name": "create-views-app",
"version": "23.3.1",
"version": "23.4.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