Socket
Book a DemoInstallSign in
Socket

create-sywac

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-sywac

npm init sywac

latest
Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
6
500%
Maintainers
1
Weekly downloads
 
Created
Source

create-sywac

npm init sywac

Build Status JavaScript Style Guide Dependabot Badge

This package is used to scaffold your sywac-powered CLI project when you run npm init sywac.

For information about sywac, visit https://sywac.io

To create a project from scratch:

$ mkdir <project>
$ cd <project>
$ git init
$ git remote add origin <blah>
$ npm init
$ npm init sywac --all

To just add sywac to an existing project:

$ cd <project>
$ npm init sywac

To see all options:

$ npm init sywac -- --help

Details

This tool sets up the following:

  • Makes sure the project directory exists, if specified via npm init sywac <dir>
  • Creates an executable cli.js file, if missing
  • Creates or modifies a package.json file:
    • Adds sywac and sywac-style-basic as production dependencies, if missing
    • Defines "bin" to be "cli.js", if not defined
    • Optionally defines "main" to be "index.js", if not defined
    • Optionally adds "cli.js" and "index.js" to "files", if missing
    • Optionally adds dev dependencies, if missing:
      • coveralls
      • standard
      • standard-version
      • tap
    • Optionally adds scripts, if missing:
      • "pretest": "standard"
      • "test": "tap --cov test.js"
      • "coverage": "nyc report --reporter=text-lcov | coveralls"
      • "release": "standard-version"
  • Optionally creates a default .gitignore file, if missing
  • Optionally creates a default .npmrc file, if missing
  • Optionally creates a default .travis.yml file, if missing
  • Optionally creates a default ISC LICENSE file, if missing
  • Optionally creates a default README.md file, if missing
  • Optionally creates an empty index.js file, if missing
  • Optionally creates an empty test.js file, if missing

License

MIT © Andrew Goode

Keywords

init

FAQs

Package last updated on 16 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts