forked from reactchartjs/react-chartjs-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.88 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
124
125
126
127
128
{
"name": "react-chartjs-2",
"version": "4.0.1",
"description": "React components for Chart.js",
"author": "Jeremy Ayerst",
"homepage": "https://github.com/reactchartjs/react-chartjs-2",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/reactchartjs/react-chartjs-2.git"
},
"bugs": {
"url": "https://github.com/reactchartjs/react-chartjs-2/issues"
},
"keywords": [
"chart",
"chart-js",
"chart.js",
"react-chartjs-2",
"react chart.js",
"react-chart.js"
],
"sideEffects": false,
"types": "./dist/index.d.ts",
"main": "./src/index.tsx",
"publishConfig": {
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"directory": "package"
},
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "pnpm test && pnpm build && del ./package && clean-publish",
"postpublish": "del ./package",
"emitDeclarations": "tsc --emitDeclarationOnly",
"build": "rollup -c & pnpm emitDeclarations",
"start:storybook": "start-storybook -p 6006 --ci",
"build:storybook": "del ./storybook-static; NODE_ENV=production build-storybook",
"test:lint": "eslint 'src/**/*.{ts,tsx}' 'stories/**/*.{ts,tsx}' 'sandboxes/**/*.{ts,tsx}' 'test/**/*.{ts,tsx}'",
"test:unit": "jest -c jest.config.json",
"test:size": "size-limit",
"test:typings": "tsd",
"test": "pnpm test:lint && pnpm test:unit",
"format": "prettier --write src",
"commit": "cz",
"bumpVersion": "standard-version",
"createGithubRelease": "simple-github-release",
"release": "pnpm bumpVersion && git push origin master --tags && pnpm createGithubRelease",
"updateGitHooks": "simple-git-hooks"
},
"peerDependencies": {
"chart.js": "^3.5.0",
"react": "^16.8.0 || ^17.0.0"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@commitlint/cli": "^16.0.3",
"@commitlint/config-conventional": "^16.0.0",
"@commitlint/cz-commitlint": "^16.0.3",
"@rollup/plugin-node-resolve": "^13.0.5",
"@size-limit/preset-big-lib": "^7.0.4",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-controls": "^6.3.12",
"@storybook/addon-docs": "^6.3.12",
"@storybook/addons": "^6.3.12",
"@storybook/react": "^6.3.12",
"@swc/core": "^1.2.95",
"@swc/helpers": "^0.3.2",
"@swc/jest": "^0.2.4",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^12.1.2",
"@types/faker": "^5.5.8",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.150",
"@types/node": "^17.0.8",
"@types/react": "^17.0.28",
"@types/react-dom": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"browserslist": "^4.17.3",
"chart.js": "^3.1.0",
"chartjs-adapter-date-fns": "^2.0.0",
"clean-publish": "^4.0.0",
"commitizen": "^4.2.4",
"date-fns": "^2.25.0",
"del-cli": "^4.0.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-config-standard-react": "^11.0.1",
"eslint-plugin-import": "^2.25.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.17.0",
"faker": "^5.5.3",
"inquirer": "^8.2.0",
"jest": "^27.2.5",
"jest-canvas-mock": "^2.2.0",
"nano-staged": "^0.5.0",
"prettier": "^2.0.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.1",
"rollup": "^2.58.0",
"rollup-plugin-swc": "^0.2.0",
"simple-git-hooks": "^2.6.1",
"simple-github-release": "^1.0.0",
"size-limit": "^7.0.4",
"standard-version": "^9.3.1",
"tsd": "^0.19.0",
"typescript": "^4.4.3",
"webpack": "^5.58.2"
},
"tsd": {
"directory": "./test",
"compilerOptions": {
"paths": {
"react-chartjs-2": [
"./src"
]
}
}
},
"readme": ""
}