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

d-scripts

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d-scripts

Handle node projects development tasks with no configuration

  • 0.0.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

d-scripts

Handle node projects development tasks with no configuration.

Install

$ yarn add --dev d-scripts

Usage

d-scripts exposes a series of scripts to handle development tasks. All the scripts configuration can be overridden by adding your own confing for the tools.

The default configuration can be found here.

NOTE: it includes all the dependencies so you don't have to install them.

Available scripts

Init
$ d-scripts init

Adds the available scripts to the project's package.json.

WARNING: it will override anything you have in the properties test, lint and format of the scripts field.

Format
$ d-scripts format

Runs prettier on write mode.

Lint
$ d-scripts lint

Runs ESlint with --cache flag, you can override that with --no-cache.

Test
$ d-scripts test

Runs Jest. By default it runs in watch mode unless you are checking coverage (--coverage), used the --no-watch flag or is running CI (checked by is-ci).

TODO

  • Format code on precommit.
  • Ask before writing package.json on d-scripts init.
  • Run (lint, format) with the lprovided ist of files instead of the default ones.

Inspiration

LICENSE

MIT

FAQs

Package last updated on 31 Dec 2017

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

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