-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
package.json
138 lines (138 loc) · 4.27 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
129
130
131
132
133
134
135
136
137
138
{
"name": "react-chartjs-2",
"type": "module",
"version": "5.2.0",
"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",
"exports": "./src/index.ts",
"publishConfig": {
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"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": "vitest run --coverage",
"test:unit:watch": "vitest watch",
"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": "^4.1.1",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@commitlint/cz-commitlint": "^17.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@size-limit/preset-big-lib": "^8.0.0",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-controls": "^6.3.12",
"@storybook/addon-docs": "^6.3.12",
"@storybook/addons": "^6.3.12",
"@storybook/builder-vite": "^0.2.5",
"@storybook/client-api": "^6.5.13",
"@storybook/client-logger": "^6.5.13",
"@storybook/react": "^6.3.12",
"@swc/core": "^1.3.17",
"@swc/helpers": "^0.4.0",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^13.0.0",
"@types/faker": "^5.5.8",
"@types/node": "^18.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@vitejs/plugin-react": "^3.0.0",
"@vitest/coverage-c8": "^0.27.0",
"browserslist": "^4.17.3",
"chart.js": "^4.1.1",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-plugin-annotation": "^2.0.1",
"chartjs-plugin-zoom": "^2.0.0",
"clean-publish": "^4.0.0",
"commitizen": "^4.2.4",
"date-fns": "^2.25.0",
"del-cli": "^5.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-config-standard-react": "^12.0.0",
"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",
"jsdom": "^21.0.0",
"nano-staged": "^0.8.0",
"prettier": "^2.0.4",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-test-renderer": "^18.0.0",
"rollup": "^3.3.0",
"rollup-plugin-swc3": "^0.8.0",
"simple-git-hooks": "^2.6.1",
"simple-github-release": "^1.0.0",
"size-limit": "^8.0.0",
"standard-version": "^9.3.1",
"tsd": "^0.25.0",
"typescript": "^4.9.4",
"vite": "^4.0.0",
"vitest": "^0.27.0",
"vitest-canvas-mock": "^0.2.1"
},
"tsd": {
"directory": "./test",
"compilerOptions": {
"paths": {
"react-chartjs-2": [
"./src"
]
}
}
}
}