Socket
Book a DemoInstallSign in
Socket

@thingjs-x/xplugin-plugin

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@thingjs-x/xplugin-plugin

xplugin相关插件包,完成插件执行的相关辅助功能

unpublished
latest
npmnpm
Version
0.3.1
Version published
Maintainers
2
Created
Source

@thingjs-x/xplugin-plugin

xplugin-plugin

xplugin-plugin is the Core Component for ThingJS-X Plug-in Development

Install

Using npm:

$ npm i -g npm
$ npm install --save @thingjs-x/xplugin-plugin

Usage

该插件包内提供的插件为 ThingJS-X 插件开发的辅助功能插件, 目前已提供了 BundlePlugin ,该插件用于插件描述文件的生成


    //BundlePlugin 插件使用
    //webpack.config.js 中直接引用

    /**
    * 在打包完成后该插件会进行解析生成插件资源描述文件 bundle.json
    * 该描述文件是对插件的信息描述
    * */


    //...
    //在webpack.config.js 引入插件
    const BundlePlugin = require("uino-xplugin-plugin");
    //在插件内初始化该插件即可
    plugins: [
        new BundlePlugin(),
    ]

Require

    {
        "requiredNodeVersion": "^16.17.0 || >= 16.15.1",
        "requiredNpmVersion": "^8.15.0 || >= 8.11.0"
    } 

    //npm rm -rf node_modules

Keywords

xplugin

FAQs

Package last updated on 24 Dec 2022

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