New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@speedy/build-tools

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@speedy/build-tools

Node CLI and API to build your application and library...

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
32
increased by220%
Maintainers
1
Weekly downloads
 
Created
Source

@speedy/build-tools

CircleCI npm version Dependency Status devDependency Status

Currently under development.

Getting Started

Installation

npm install @speedy/build-tools --save-dev

NPM Scripts

Instead of depending on external task runners, speedy-build-tools can be configured to being executed from npm scripts.

"scripts": {
    "lint-sass": "speedy-build-tools lint-sass",
    "lint-ts": "speedy-build-tools lint-ts"
},

To run the build script found in the package.json scripts, execute:

npm run lint-sass

CLI

You can also use the CLI tasks direcly without the need to added them as NPM scripts.

speedy-build-tools clean --paths **/.tmp

alternatively use the shorthand version:

sbt clean --paths **/.tmp

Tasks

These are all the available tasks within speedy-build-tools and can be added to npm scripts.

TaskDescription
clean [paths..]Delete files and directories
lint-htmlLint Html files
lint-sassLint Sass files
lint-tsLint Typescript files

Clean

speedy-build-tools clean --paths .tmp/**
speedy-build-tools clean .tmp/** .test/**
OptionDescriptionType
--paths, -pPaths to be deleted - Supports glob patternsArray

Lint Html

speedy-build-tools lint-html
OptionDescriptionDefault ValueType
--config, -cLint rules file path.htmlhintrcstring
--files, -fFiles to be linted - Supports glob patterns`src/**/.(htmlhtm)`
--continueOnErrorDetermines whether to exit with a non-zero status code on lint errorsfalseboolean
Rules

By default, it will try to locate the .htmlhintrc file in the root of your project folder. If the file is not found it will fallback to an internal .htmlhintrc. This file can also be used as a base for your rules.

Lint Sass

speedy-build-tools lint-sass
OptionDescriptionDefault ValueType
--config, -cLint rules file path.stylelintrcstring
--files, -fFiles to be linted - Supports glob patterns`src/**/.(scsssass)`
--formatterFormatter to use to format the linter resultsverbosestring
--fixDetermines whether to auto fix lint issues (which support fixing)falseboolean
--continueOnErrorDetermines whether to exit with a non-zero status code on lint errorsfalseboolean
Rules

By default, it will try to locate the .stylelintrc file in the root of your project folder. If the file is not found it will fallback to an internal .stylelintrc. This file can also be used as a base for your rules.


Lint Typescript

speedy-build-tools lint-ts
OptionDescriptionDefault ValueType
--config, -cLint rules file pathtslint.jsonstring
--files, -fFiles to be linted - Supports glob patternssrc/**/*.tsArray
--formatterFormatter to use to format the linter resultsstylishstring
--fixDetermines whether to auto fix lint issues (which support fixing)falseboolean
--continueOnErrorDetermines whether to exit with a non-zero status code on lint errorsfalseboolean
Rules

By default, it will try to locate the tslint.json file in the root of your project folder. If the file is not found it will fallback to an internal tslint.json. This file can also be used as a base for your rules.


Global Options

OptionDescription
--debugShow debug information
--help, -hShow help
--version, -vShow version number

Display general help

speedy-build-tools --help

Display help specific to a task:

speedy-build-tools lint-sass --help

To display help when running the task from a mapped npm script you should omit the --;

npm run lint-sass help

Stack

Keywords

FAQs

Package last updated on 19 Mar 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