-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathpackage.json
146 lines (146 loc) · 5.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
139
140
141
142
143
144
145
146
{
"name": "chartjs-plugin-dragdata",
"version": "2.3.1",
"description": "Draggable data points for Chart.js",
"exports": {
"import": "./dist/chartjs-plugin-dragdata.esm.js",
"require": "./dist/chartjs-plugin-dragdata.js",
"types": "./dist/typeAugmentations.d.ts"
},
"main": "dist/chartjs-plugin-dragdata.js",
"module": "dist/chartjs-plugin-dragdata.esm.js",
"browser": "dist/chartjs-plugin-dragdata.min.js",
"types": "dist/typeAugmentations.d.ts",
"scripts": {
"build": "npm run rollup:base",
"build:no-coverage": "npx cross-env DISABLE_ISTANBUL_COVERAGE_AT_BUILD=true npm run rollup:base",
"build:watch": "npm run rollup:base -- --watch",
"build:watch:no-coverage": "npx cross-env DISABLE_ISTANBUL_COVERAGE_AT_BUILD=true npm run rollup:base -- --watch",
"build:pages": "npx tsx pages/src/bundle.ts",
"build:pages:watch": "npx tsx pages/src/watch.ts",
"cleanCoverage": "npx tsx scripts/cleanCoverage.ts",
"collectCoverage": "npx tsx scripts/collectCoverage.ts && npx nyc merge coverage/merged/src coverage/merged/report/merged-coverage.json && npx nyc report --report-dir=coverage/merged/report/html --reporter=html -t coverage/merged/report && npx nyc report -t coverage/merged/report --reporter=text-summary",
"lint": "npx eslint .",
"lint:fix": "npx eslint . --fix",
"pretest": "npm run build && npm run build:pages && npm run cleanCoverage",
"prepack": "npm run build:no-coverage",
"prepare": "npx playwright install && npx lefthook install",
"posttest": "npm run collectCoverage && npx tsx scripts/openMergedCoverageReport.ts",
"rollup:base": "rollup --config rollup.config.js",
"test": "npm run test:unit && npm run test:integration && npm run test:e2e",
"test:unit": "npx jest --coverage --coverageDirectory=coverage/unit --config jest.config.ts --selectProjects unit",
"test:integration": "npx jest --coverage --coverageDirectory=coverage/integration --config jest.config.ts --selectProjects integration",
"test:e2e": "npm run test:e2e:base && npm run test:e2e:posttest",
"test:e2e:base": "playwright test",
"test:e2e:ui": "npm run test:e2e:base -- --ui && npm run test:e2e:posttest",
"test:e2e:headed": "npm run test:e2e:base --headed && npm run test:e2e:posttest",
"test:e2e:updateSnapshots": "npm run test:e2e -- -- --update-snapshots && npm run test:e2e:posttest",
"test:e2e:posttest": "npx nyc report --reporter=json --report-dir=coverage/e2e && npx nyc report --reporter=html --report-dir=coverage/e2e/report/html",
"release": "release-it",
"knip": "knip"
},
"repository": {
"type": "git",
"url": "https://github.com/artus9033/chartjs-plugin-dragdata.git"
},
"keywords": [
"chartjs",
"plugin",
"drag",
"draggable",
"data"
],
"author": "Christoph Pahmeyer <[email protected]>",
"license": "MIT",
"peerDependencies": {
"chart.js": "^3.9.1 || ^4.0.1"
},
"dependencies": {
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
"playwright-test-coverage": "^1.2.12"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@callstack/eslint-config": "^15.0.0",
"@commitlint/config-conventional": "^19.6.0",
"@cspell/eslint-plugin": "^8.17.1",
"@playwright/test": "^1.49.1",
"@release-it/conventional-changelog": "^9.0.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/vue": "^8.1.0",
"@trivago/prettier-plugin-sort-imports": "^5.2.1",
"@types/config": "^3.3.5",
"@types/d3-drag": "^3.0.7",
"@types/d3-selection": "^3.0.11",
"@types/ejs": "^3.1.5",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.14",
"@types/node": "^22.10.5",
"@types/react": "^19.0.2",
"@types/signale": "^1.4.7",
"@typescript-eslint/parser": "^8.19.0",
"@vue/vue3-jest": "^29.2.6",
"babel-jest": "^29.7.0",
"canvas": "^2.5.0",
"chart.js": "^4.4.7",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-plugin-datalabels": "^2.2.0",
"chokidar": "^4.0.3",
"commitlint": "^19.6.1",
"config": "^3.3.12",
"cross-env": "^7.0.3",
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
"date-fns": "^4.1.0",
"ejs": "^3.1.10",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-extended": "^4.0.2",
"knip": "^5.41.1",
"lefthook": "^1.10.1",
"lint-staged": "^15.3.0",
"lodash": "^4.17.21",
"node-sass": "^9.0.0",
"nyc": "^17.1.0",
"open": "^10.1.0",
"playwright": "^1.49.1",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-chartjs-2": "^5.3.0",
"react-dom": "^19.0.0",
"release-it": "^17.11.0",
"resize-observer-polyfill": "^1.5.1",
"rollup": "^4.29.1",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-istanbul": "^5.0.0",
"signale": "^1.4.0",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vue": "^3.5.13",
"vue-chartjs": "^5.3.2"
},
"files": [
"dist/**/*",
"!dist/test/**/*",
"package.json",
"LICENSE",
"README.md",
"CHANGELOG.md"
]
}