anima-basescroller
Advanced tools
Comparing version 1.2.0 to 2.0.0
# History | ||
--- | ||
## 2.0.0 | ||
`new` 迁移到npm | ||
## 1.2.0 | ||
@@ -31,2 +34,2 @@ | ||
`new` It is the first version of basescroller. | ||
`new` It is the first version of basescroller. |
@@ -1,1 +0,4 @@ | ||
module.exports = require('./src/basescroller'); | ||
var BaseScroller = require('./src/'); | ||
require('./src/index.less'); | ||
module.exports = BaseScroller; |
{ | ||
"name": "anima-basescroller", | ||
"version": "1.2.0", | ||
"description": "滚动选择组件。", | ||
"keywords": [], | ||
"version": "2.0.0", | ||
"description": "Best Practice Of Developing Component With Ant-Tool", | ||
"homepage": "http://gitlab.alibaba-inc.com/animajs/basescroller", | ||
@@ -10,3 +9,4 @@ "author": "damao.wj@taobao.com", | ||
"longhao.llh@alipay.com", | ||
"damao.wj@taobao.com" | ||
"damao.wj@taobao.com", | ||
"deming.wdm@alipay.com" | ||
], | ||
@@ -17,23 +17,48 @@ "repository": { | ||
}, | ||
"bugs": { | ||
"url": "http://gitlab.alibaba-inc.com/animajs/basescroller/issues" | ||
"bugs": "http://gitlab.alibaba-inc.com/animajs/basescroller/issues", | ||
"main": "./lib/index", | ||
"entry": { | ||
"index": "./index" | ||
}, | ||
"licenses": "MIT", | ||
"spm": { | ||
"engines": {}, | ||
"tests": "tests/*.js" | ||
"scripts": { | ||
"compile": "rm -rf lib && babel src --out-dir lib && lessc src/index.less lib/index.css", | ||
"build": "atool-build", | ||
"lint": "eslint --ext .js src", | ||
"test": "atool-test", | ||
"doc": "atool-doc", | ||
"doc-build": "atool-doc --build", | ||
"gh-pages": "atool-doc --build && gh-pages -d __site" | ||
}, | ||
"main": "index.js", | ||
"dependencies": {}, | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
"spm-expect.js": "0.3.1", | ||
"spm-webpack": "~1.0.0" | ||
"atool-build": "0.6.x", | ||
"atool-doc": "^0.1.0", | ||
"atool-test": "^0.4.4", | ||
"babel-cli": "~6.6.4", | ||
"babel-core": "~6.7.4", | ||
"babel-plugin-add-module-exports": "~0.1.2", | ||
"babel-preset-es2015": "~6.6.0", | ||
"babel-preset-stage-0": "~6.5.0", | ||
"dora": "0.3.x", | ||
"gh-pages": "^0.11.0", | ||
"less": "~2.5.1", | ||
"pre-commit": "^1.1.2", | ||
"eslint": "^2.5.3", | ||
"eslint-config-airbnb": "^6.2.0" | ||
}, | ||
"scripts": { | ||
"build": "spm-webpack -c" | ||
"babel": { | ||
"presets": [ | ||
"es2015", | ||
"stage-0" | ||
], | ||
"plugins": [ | ||
"add-module-exports" | ||
] | ||
}, | ||
"engines": { | ||
"node": ">=4.0.0" | ||
}, | ||
"publishConfig": {} | ||
"pre-commit": [ | ||
"lint" | ||
], | ||
"license": "MIT" | ||
} |
# basescroller | ||
--- | ||
[![spm version](http://spmjs.io/badge/anima-basescroller)](http://spmjs.io/package/anima-basescroller) | ||
滚动选择组件。 | ||
@@ -14,3 +10,3 @@ | ||
``` | ||
$ spm install anima-basescroller --save | ||
$ npm install anima-basescroller --save | ||
``` | ||
@@ -51,2 +47,2 @@ | ||
* render(data) 重新渲染组件,参数 data 同实例化选项中的 data | ||
* appendTo(container) 将组件插入到一个 DOM 元素中 | ||
* appendTo(container) 将组件插入到一个 DOM 元素中 |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
15
25513
14
298
46
2