babel-cli-plugin
Advanced tools
Comparing version 1.0.8 to 1.0.10
@@ -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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5935
24