package.package.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chartjs-web-components Show documentation
Show all versions of chartjs-web-components Show documentation
The web components for chart.js which is built on lit-element
## Live Demo
https://fsx950223.github.io/chartjs-web-components/live-demo/
## Install
``` bash
npm i chartjs-web-components
```
## Lit-Element Usage
``` html
<base-chart id="chart" typ
The newest version!
{
"name": "chartjs-web-components",
"version": "2.8.0",
"flat": true,
"contributors": [
"fsx950223"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS && npm run lint"
}
},
"main": "dist/base.js",
"unpkg": "dist/base.js",
"license": "MIT",
"repository": "fsx950223/chartjs-web-components",
"scripts": {
"start": "TS_NODE_PROJECT=\"tsconfig-for-webpack-config.json\" webpack-dev-server --config config/development.config.ts --open",
"build": "TS_NODE_PROJECT=\"tsconfig-for-webpack-config.json\" webpack --config config/production.config.ts",
"prepublish": "npm run lint && npm run build",
"lint": "tslint -c tslint.json --fix 'src/**/*.{ts,tsx}'"
},
"keywords": [
"web-components",
"html",
"chart.js",
"lit-element",
"typescript",
"react",
"vue"
],
"devDependencies": {
"@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^7.6.0",
"@types/chart.js": "^2.9.32",
"@types/node": "^11.15.54",
"@types/react": "^16.14.10",
"@types/react-dom": "^16.9.13",
"@types/webpack": "^4.41.29",
"chart.js": "^2.9.4",
"clean-webpack-plugin": "^2.0.2",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"lit-element": "2.5.0",
"minify-lit-html-loader": "0.0.3",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"ts-loader": "^5.4.5",
"ts-node": "^8.10.2",
"tsconfig-paths": "^3.9.0",
"tslint": "^5.20.1",
"tslint-microsoft-contrib": "^6.2.0",
"typescript": "^3.9.10",
"typescript-lit-html-plugin": "^0.9.0",
"vue": "^2.6.14",
"vue-loader": "^15.9.7",
"vue-property-decorator": "^8.5.1",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^3.9.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.2",
"webpack-node-externals": "^1.7.2"
},
"peerDependencies": {
"react": "^16.8.4",
"vue-property-decorator": "^8.1.0",
"react-dom": "^16.8.4",
"vue": "^2.6.10",
"chart.js": "^2.8.0",
"lit-element": "2.5.0"
}
}