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

try-npx-scripts

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

try-npx-scripts - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

dsa/package.json

24

index.js

@@ -1,3 +0,21 @@

console.log('yay')
console.log(process.cwd())
console.log(__dirname)
const fs = require('fs-extra')
const { promptForLibName, createLibDir, copyTemplates, updateLibFiles } = require('./src/tasks')
/**
* Flow
* 1. prompt for lib name(kebab-case)
* 2. create lib folder
* 3. copy templates
* 4. update files
* 5. run `npm install`
* 6. run `git init` and `git commit ...`
*/
promptForLibName()
.then(createLibDir)
.then(copyTemplates)
.then(updateLibFiles)
.catch(err => console.error(err))
// console.log('yay')
// console.log(process.cwd())
// console.log(__dirname)

10

package.json
{
"name": "try-npx-scripts",
"version": "1.0.3",
"version": "1.0.4",
"description": "Create typescript libraries in no time",

@@ -22,3 +22,9 @@ "main": "index.js",

},
"homepage": "https://github.com/igodorogea/try-npx-scripts#readme"
"homepage": "https://github.com/igodorogea/try-npx-scripts#readme",
"devDependencies": {
"inquirer": "^5.1.0"
},
"dependencies": {
"fs-extra": "^5.0.0"
}
}
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