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

babel-cli-plugin

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-cli-plugin - npm Package Compare versions

Comparing version 1.0.8 to 1.0.10

4

lib/plugin.js

@@ -6,3 +6,3 @@ 'use strict';

});
var plugin = {
var Plugin = {
init: function init() {

@@ -12,2 +12,2 @@ document.querySelector('body').innerText = '这是插件写下的话';

};
exports.default = plugin;
exports.default = Plugin;
{
"name": "babel-cli-plugin",
"version": "1.0.8",
"version": "1.0.10",
"description": "a simple plugin develop cli with babel",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,27 +0,23 @@

# 这是一个简单的自用babel制作npm包的脚手架
## Introduce
### 安装步骤
this is a simple selfuse cli for making npm package with babel
1.请确保全局安装了 babel npm
### Quick to start
2.下载克隆此工程
1.make sure you have install babel npm with global
2.download this project
3.npm install
4.npm run build
5.npm publish
3.npm install
### Directory
4.npm run build (编译脚本)
### 目录结构
> `lib 发布npm包的环境`
> `src 源文件脚本存放目录`
> .gitignore git 忽略文件
> index.js npm官方入口,可以在package.json中配置
> .babelrc babel配置文件
> package.json 包信息
> README.md 说明文档(本文件)
```
|-- lib #npm publish folder
|-- src #workspace,develop folder
|-- .babelrc #babel conf
|-- .gitignore #git conf
|-- index.js #main entry
|-- package.json #package conf
|-- README.md #this file
```

@@ -1,2 +0,2 @@

const plugin = {
const Plugin = {
init:function () {

@@ -6,2 +6,2 @@ document.querySelector('body').innerText = '这是插件写下的话'

}
export default plugin;
export default Plugin;
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