@jiaminghi/c-render
Advanced tools
Comparing version 1.0.0 to 1.0.1-alpha.1
107
package.json
{ | ||
"name": "@jiaminghi/c-render", | ||
"version": "1.0.0", | ||
"description": "[文档官网](http://crender.jiaminghi.com/)", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"version": "1.0.1-alpha.1", | ||
"author": "JiaMing <743192023@qq.com>", | ||
"description": "Canvas-based vector graphics rendering plugin", | ||
"main": "lib/index.js", | ||
"unpkg": "dist/index.js", | ||
"module": "es/index.js", | ||
"types": "types/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://" | ||
"url": "https://github.com/DataV-Team/CRender.git" | ||
}, | ||
"author": "", | ||
"license": "MIT" | ||
"scripts": { | ||
"dev": "ts-node scripts/dev.ts", | ||
"clean": "rimraf lib dist es types", | ||
"type:check": "tsc --noEmit", | ||
"lint": "eslint --ext js,ts src test", | ||
"format:check": "prettier --check .", | ||
"format": "prettier --write .", | ||
"build:rollup": "rollup -c", | ||
"build:es": "babel src --out-dir es --extensions \".ts\"", | ||
"build": "npm run build:rollup && npm run build:es && npm run format", | ||
"prepare": "npm run clean && npm run check && npm run build", | ||
"test": "mocha", | ||
"test:fun": "ts-node scripts/test.ts", | ||
"check": "npm run type:check && npm run lint && npm run format:check && npm run test", | ||
"docs": "vuepress dev docs", | ||
"build:docs": "vuepress build docs", | ||
"deploy": "ts-node scripts/deploy.ts" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run check", | ||
"pre-push": "npm run check" | ||
} | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/DataV-Team/CRender/issues" | ||
}, | ||
"keywords": [ | ||
"canvas", | ||
"render", | ||
"graph", | ||
"vector" | ||
], | ||
"homepage": "https://github.com/DataV-Team/CRender#readme", | ||
"dependencies": { | ||
"@babel/runtime": "^7.5.5", | ||
"@jiaminghi/bezier-curve": "^1.0.1", | ||
"@jiaminghi/color": "^1.1.1", | ||
"@jiaminghi/transition": "2.0.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.8.6", | ||
"@babel/plugin-transform-runtime": "^7.10.5", | ||
"@babel/preset-env": "^7.8.6", | ||
"@babel/preset-typescript": "^7.10.4", | ||
"@babel/register": "^7.9.0", | ||
"@jiaminghi/fs": "^0.1.1", | ||
"@jiaminghi/ftp": "^0.0.2", | ||
"@jiaminghi/print": "^0.2.0", | ||
"@jiaminghi/utils-node": "^0.1.0", | ||
"@rollup/plugin-babel": "^5.0.3", | ||
"@rollup/plugin-commonjs": "^12.0.0", | ||
"@rollup/plugin-node-resolve": "^8.0.1", | ||
"@rollup/plugin-replace": "^2.3.3", | ||
"@types/chai": "^4.2.11", | ||
"@types/ftp": "^0.3.31", | ||
"@types/lodash": "^4.14.157", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^13.11.0", | ||
"@types/react": "^16.9.35", | ||
"@types/react-dom": "^16.9.8", | ||
"@types/rimraf": "^3.0.0", | ||
"@typescript-eslint/eslint-plugin": "^2.27.0", | ||
"@typescript-eslint/parser": "^2.27.0", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"chai": "^4.2.0", | ||
"eslint": "^6.8.0", | ||
"ftp": "^0.3.10", | ||
"husky": "^4.2.5", | ||
"less": "^3.11.3", | ||
"less-loader": "^6.1.0", | ||
"lite-server": "^2.5.4", | ||
"lodash": "^4.17.19", | ||
"mocha": "^6.2.3", | ||
"npm-run-all": "^4.1.5", | ||
"open": "^7.1.0", | ||
"prettier": "^2.0.4", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.15.0", | ||
"rollup-plugin-postcss": "^3.1.2", | ||
"rollup-plugin-terser": "^5.3.0", | ||
"rollup-plugin-typescript2": "^0.27.0", | ||
"ts-node": "^8.8.2", | ||
"typescript": "^3.8.3", | ||
"vuepress": "^1.5.0" | ||
} | ||
} |
@@ -1,15 +0,35 @@ | ||
# CRender | ||
[ENGLISH](./README_EN.md) | ||
# Version 1.0.0 | ||
<h1 align="center">CRender</h1> | ||
## 基于Canvas的矢量图形渲染插件 | ||
<p align="center"> | ||
<a href="https://travis-ci.com/DataV-Team/CRender"><img src="https://img.shields.io/travis/com/DataV-Team/CRender.svg" alt="Travis CI"></a> | ||
<a href="https://github.com/DataV-Team/CRender/blob/master/LICENSE"><img src="https://img.shields.io/github/license/DataV-Team/CRender.svg" alt="LICENSE" /></a> | ||
<a href="https://www.npmjs.com/package/@jiaminghi/c-render"><img src="https://img.shields.io/npm/v/@jiaminghi/c-render.svg" alt="version" /></a> | ||
</p> | ||
## Canvas-based vector graphics rendering plugin | ||
### CRender 是干什么的? | ||
[文档官网](http://crender.jiaminghi.com/) | ||
- 它是一个基于**canvas**的**矢量**图形渲染插件。 | ||
- 它对图形提供动画和鼠标事件支持。 | ||
[Document of official website](http://crender.jiaminghi.com/) | ||
### npm 安装 | ||
[项目地址](https://github.com/jiaming743/CRender) | ||
```shell | ||
$ npm install @jiaminghi/c-render | ||
``` | ||
[Project address](https://github.com/jiaming743/CRender) | ||
### 快速体验 | ||
```html | ||
<!--调试版--> | ||
<script src="https://unpkg.com/@jiaminghi/c-render/dist/index.js"></script> | ||
<!--压缩版--> | ||
<script src="https://unpkg.com/@jiaminghi/c-render/dist/index.min.js"></script> | ||
<script> | ||
const { CRender, GRAPHS } = window.CRender | ||
// do something | ||
</script> | ||
``` | ||
详细文档及示例请移步[HomePage](http://crender.jiaminghi.com). |
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
511556
126
11445
0
1
36
4
47
1
+ Added@babel/runtime@^7.5.5
+ Added@jiaminghi/color@^1.1.1
+ Added@jiaminghi/transition@2.0.1
+ Added@babel/runtime@7.25.6(transitive)
+ Added@jiaminghi/bezier-curve@1.0.1(transitive)
+ Added@jiaminghi/color@1.1.3(transitive)
+ Added@jiaminghi/transition@2.0.1(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)