New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

u-scripts

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

u-scripts

Utility for building web apps

latest
Source
npmnpm
Version
0.9.4
Version published
Maintainers
1
Created
Source

npm (tag) npm (tag) CI GitHub license Dependabot Status Language grade: JavaScript Total alerts

u

U is a JavaScript bundler, transpiler, linter, formatter, dev server, and test framework. It combines several open-source tools into a single dependency that's both opinionated and configurable.

I made this so I can set up projects easier without having to maintain multiple dependencies and configurations for each project.

🔧 Install

npm install u-scripts --save-dev

📝 Usage

Commands

U comes with a set of default commands. You can make your own commands by defining a u.config.js file.

CommandDescription
u buildRuns webpack with NODE_ENV set to production.
u devRuns webpack-dev-server with NODE_ENV set to development.
u lintRuns eslint --fix, stylelint --fix, and prettier --write.
u testRuns eslint --fix, stylelint --fix, prettier --write, and jest.
u test-ciRuns eslint, stylelint, prettier --check, and jest --ci.

Scripts

You can also run scripts directly. Each script is run with preconfigured defaults, but they can be overridden by passing CLI options or defining a config for that script.

ScriptDescription
u babelRuns babel. Customize with .babelrc.js.
u eslintRuns eslint. Customize with .eslintrc.js.
u jestRuns jest. Customize with jest.config.js.
u nodemonRuns nodemon. Customize with nodemon.json.
u prettierRuns prettier. Customize with prettier.config.js.
u stylelintRuns stylelint. Customize with stylelint.config.js.
u webpackRuns webpack. Customize with webpack.config.js.
u webpack-dev-serverRuns webpack-dev-server. Customize with webpack.config.js.

🌱 Inspiration

Keywords

babel

FAQs

Package last updated on 11 Nov 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