Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@dadajam4/plugboy
Advanced tools
CLI for JavaScript plugin development using TypeScript, Babel, CSS preprocessor, etc.
CLI for JavaScript plugin development using TypeScript, Babel, CSS preprocessor, etc.
npm install @dadajam4/plugboy -D
npx plugboy scaffold
(package.json will be updated automatically.)npx plugboy
(Bundle your plugin.)It is not required. However, it is usually necessary to develop plugins.
touch path/to/yourproject/plugin.config.js
Although the installation location and name of the file are optional, you can omit the setting of the path when executing the CLI command by creating it under the name of "plugin.config.js" directly under the project.
--
'universal' | 'node' | 'browser'
'universal'
--
string
'index.js'
Specify the file path to be the end point of the application. Both relative path and absolute path can be set.
--
string
'dist'
Specify the output destination of the bundle.
--
string
(from package.json)
Set the name of the bundle.
--
string
(Camel case with capitalized top of "config.name")
It is handed over to rollup as it is.
--
string[]
['last 2 versions', 'not IE < 11']
This is the list of browsers supported by the plugin.
--
boolean | object
Please enable it when developing vue plugin. Some settings such as babel's presets are done automatically.
--
boolean | object
Please set it to valid when using sass (or scss).
--
object
This option is set to cssnano.
--
boolean | object
Please set it to valid when using autoprefixer.
--
boolean | object
Please set it to valid when using autoprefixer. If vue is enabled, this setting is automatically enabled.
--
boolean | object
Please set it to valid when using TypeScript.
--
string[]
It is handed over to rollup as it is.
--
{ [key: string]: string }
It is handed over to rollup as it is.
In order to prevent unnecessary modules from being installed for plugin development, only minimal modules are installed in dependencies.
Install the following modules as necessary. (You can check with the message Cannot find module 'xxxxx'
at the time of CLI execution)
@babel/core
, rollup-plugin-babel
@vue/babel-preset-app
, vue-template-compiler
, rollup-plugin-vue
rollup-plugin-css-only
, cssnano
rollup-plugin-postcss
autoprefixer
node-sass
, rollup-plugin-sass
typescript
, rollup-plugin-typescript2
FAQs
CLI for JavaScript plugin development using TypeScript, Babel, CSS preprocessor, etc.
We found that @dadajam4/plugboy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.