Comparing version 0.2.1 to 0.2.2
@@ -8,3 +8,3 @@ /** | ||
let pinyin = new (require('./pinyin'))({charCase:0}); | ||
let pinyin = new (require('./dist/pinyin'))({charCase:0}); | ||
/*console.log(pinyin.getFullChars('管理员')) | ||
@@ -11,0 +11,0 @@ console.log(pinyin.getCamelChars('管理员')) |
{ | ||
"name": "js-pinyin", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "汉字转换拼音,需要es6语法(let、class等)支持,不依赖其他组件", | ||
@@ -8,3 +8,4 @@ "private": false, | ||
"start": "node ./index", | ||
"test": "node ./index" | ||
"test": "node ./index", | ||
"build": "babel pinyin.js -d dist" | ||
}, | ||
@@ -20,3 +21,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-preset-es2015": "^6.24.1" | ||
}, | ||
@@ -28,2 +30,2 @@ "repository": { | ||
"license": "MIT License" | ||
} | ||
} |
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
179990
7
2068
2