kien-react-minimal-pie-chart
Version:
Lightweight but versatile SVG pie/donut charts for React
143 lines (142 loc) • 4.29 kB
JSON
{
"name": "kien-react-minimal-pie-chart",
"version": "5.0.5",
"description": "Lightweight but versatile SVG pie/donut charts for React",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"browser": "dist/index.js",
"types": "src/types/index.d.ts",
"files": [
"dist",
"es",
"lib",
"src",
"!__tests__"
],
"sideEffects": false,
"scripts": {
"test": "jest ./src",
"test:bundles": "npm run test:bundles:snapshot && npm run test:bundles:unit && npm run test:bundles:es5 && npm run test:bundles:size",
"test:bundles:unit": "jest ./src --config ./jest/es.config.js && jest ./src --config ./jest/lib.config.js && jest ./src --config ./jest/dist.config.js",
"test:bundles:snapshot": "jest ./jest/bundles-snapshot.test.js",
"test:bundles:snapshot:update": "npm run compile && npm run test:bundles:snapshot -- -u",
"test:bundles:es5": "es-check es5 './@(lib|dist)/*.js'",
"test:bundles:size": "size-limit",
"test:source": "npm run test:ts && npm t -- --coverage",
"test:ts": "typings-tester --config ./src/types/__tests__/tsconfig.json --dir ./src/types/__tests__",
"test:update": "npm run compile && npm run test:bundles:snapshot -- -u",
"clean": "rm -rf lib es dist",
"compile": "npm run clean && rollup -c",
"contrib:add": "all-contributors add",
"contrib:generate": "all-contributors generate",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"preversion": "npm run prepublish",
"version": "git add package.json",
"postversion": "git push && git push --tags",
"prepublish": "npm run test:source && npm run compile && npm run test:bundles",
"start": "start-storybook -p 9001 -c .storybook",
"storybook:deploy": "storybook-to-ghpages",
"storybook:build": "build-storybook",
"storybook": "start-storybook"
},
"keywords": [
"react",
"pie",
"donough",
"arc",
"chart",
"typescript"
],
"repository": {
"type": "git",
"url": "git+https://github.com/toomuchdesign/react-minimal-pie-chart.git"
},
"author": "Andrea Carraro <me@andreacarraro.it>",
"license": "MIT",
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"dependencies": {
"@material-ui/core": "^4.5.0",
"@material-ui/icons": "^4.4.3",
"prop-types": "^15.5.7"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.3.4",
"@size-limit/preset-small-lib": "^2.0.2",
"@storybook/addon-actions": "^5.1.3",
"@storybook/addon-info": "^5.1.3",
"@storybook/react": "^5.1.3",
"@storybook/storybook-deployer": "^2.8.1",
"@types/react": "^16.8.13",
"all-contributors-cli": "^6.2.0",
"babel-jest": "^24.0.0",
"babel-loader": "^8.0.5",
"coveralls": "^3.0.4",
"enzyme": "^3.0.0",
"enzyme-adapter-react-16": "^1.10.0",
"es-check": "^5.0.0",
"husky": "^3.0.0",
"jest": "^24.0.0",
"lint-staged": "^9.0.0",
"prettier": "^1.18.2",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"rollup": "^1.16.4",
"rollup-plugin-babel": "^4.0.0",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.0.0",
"svg-partial-circle": "1.0.0",
"typescript": "^3.4.2",
"typings-tester": "^0.3.2"
},
"jest": {
"testURL": "http://localhost/",
"moduleFileExtensions": [
"js"
],
"coverageReporters": [
"text",
"lcov"
],
"collectCoverageFrom": [
"<rootDir>/src/**"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
]
},
"size-limit": [
{
"limit": "3 KB",
"path": "./es/index.js"
}
],
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test:source"
}
},
"lint-staged": {
"*.{js,jsx}": [
"npm run test:bundles:snapshot:update",
"prettier --write",
"git add"
],
"*.{json,md,ts}": [
"prettier --write",
"git add"
]
},
"bugs": {
"url": "https://github.com/toomuchdesign/react-minimal-pie-chart/issues"
},
"homepage": "https://github.com/toomuchdesign/react-minimal-pie-chart#readme",
"directories": {
"lib": "lib"
}
}