UNPKG

@manosim/react-minimal-pie-chart

Version:
128 lines (127 loc) 3.61 kB
{ "name": "@manosim/react-minimal-pie-chart", "version": "3.5.2", "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", "test:bundles": "jest --config ./jest/es.config.js && jest --config ./jest/lib.config.js && jest --config ./jest/dist.config.js", "test:size": "size-limit", "test:source": "npm run lint && npm run test:ts && npm t -- --coverage", "test:ts": "typings-tester --config ./src/types/__tests__/tsconfig.json --dir ./src/types/__tests__", "clean": "rm -rf lib es dist", "compile": "npm run clean && rollup -c", "contrib:add": "all-contributors add", "contrib:generate": "all-contributors generate", "lint": "eslint .", "lint:fix": "npm run lint -- --fix", "format": "prettier --write \"**/*.{js,jsx,json,md}\" && npm run lint:fix", "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 && npm run test:size", "precommit": "lint-staged && npm run test:source", "start": "start-storybook -p 9001 -c .storybook", "storybook:deploy": "storybook-to-ghpages", "storybook:build": "build-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": { "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", "@storybook/addon-actions": "^5.0.1", "@storybook/addon-info": "^5.0.1", "@storybook/react": "^5.0.1", "@storybook/storybook-deployer": "^2.8.1", "@types/react": "^16.8.13", "all-contributors-cli": "^4.11.1", "babel-jest": "^24.0.0", "babel-loader": "^8.0.5", "coveralls": "^3.0.2", "enzyme": "^3.0.0", "enzyme-adapter-react-16": "^1.10.0", "eslint": "^3.19.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-react": "^7.10.0", "husky": "^0.14.3", "jest": "^24.0.0", "lint-staged": "^7.2.0", "prettier": "^1.14.0", "react": "^16.0.0", "react-dom": "^16.0.0", "rollup": "^1.0.0", "rollup-plugin-babel": "^4.0.0", "rollup-plugin-commonjs": "^9.0.0", "rollup-plugin-node-resolve": "^4.0.0", "size-limit": "^1.0.1", "svg-partial-circle": "0.2.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" } ], "lint-staged": { "*.{js,jsx}": [ "prettier --write", "eslint --fix", "git add" ], "*.{json,md,ts}": [ "prettier --write", "git add" ] } }