forked from toomuchdesign/react-minimal-pie-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 loc) · 3.38 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "react-minimal-pie-chart",
"version": "4.2.0",
"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 && npm run test:bundles-es5",
"test:bundles-es5": "es-check es5 './@(lib|dist)/*.js'",
"test: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__",
"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 && npm run test:size",
"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 <[email protected]>",
"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.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": "^2.4.0",
"jest": "^24.0.0",
"lint-staged": "^8.2.0",
"prettier": "^1.18.2",
"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": "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,json,md,ts}": [
"prettier --write",
"git add"
]
}
}