-
Notifications
You must be signed in to change notification settings - Fork 329
/
package.json
104 lines (104 loc) · 3.71 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
{
"name": "chartjs-plugin-zoom",
"homepage": "https://www.chartjs.org/chartjs-plugin-zoom/",
"description": "Plugin that enables zoom and pan functionality in Chart.js charts.",
"version": "2.2.0",
"license": "MIT",
"type": "module",
"jsdelivr": "dist/chartjs-plugin-zoom.min.js",
"unpkg": "dist/chartjs-plugin-zoom.min.js",
"main": "dist/chartjs-plugin-zoom.js",
"module": "dist/chartjs-plugin-zoom.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/chartjs-plugin-zoom-esm.js",
"require": "./dist/chartjs-plugin-zoom.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/chartjs/chartjs-plugin-zoom.git"
},
"scripts": {
"autobuild": "rollup -c -w",
"emitDeclarations": "tsc --emitDeclarationOnly",
"build": "rollup -c && npm run emitDeclarations",
"dev": "karma start ./karma.conf.cjs --auto-watch --no-single-run --browsers chrome",
"dev:ff": "karma start ./karma.conf.cjs --auto-watch --no-single-run --browsers firefox",
"docs": "npm run build && vuepress build docs --no-cache",
"docs:dev": "concurrently \"npm run autobuild\" \"vuepress dev docs --no-cache\"",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.js\" \"docs/**/*.js\" \"**/*.md\" \"samples/**/*.html\"",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "npm run test-types && npm run test-unit && npm run test-karma",
"pretest-unit": "swc --config-file .swcrc-spec src -d build",
"test-unit": "cross-env JASMINE_CONFIG_PATH=jasmine.json c8 --src=src --reporter=text --reporter=lcov -o=coverage/unit jasmine",
"test-karma": "cross-env NODE_ENV=test karma start ./karma.conf.cjs --auto-watch --single-run --coverage",
"test-types": "tsc -p test/types/ --noEmit"
},
"files": [
"dist/*.js",
"dist/*.d.ts",
"dist/*.map"
],
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-swc": "^0.4.0",
"@rollup/plugin-terser": "^0.4.4",
"@simonbrunel/vuepress-plugin-versions": "^0.2.0",
"@swc/cli": "^0.5.1",
"@swc/core": "^1.9.3",
"@types/jasmine": "^5.1.5",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.62.0",
"babel-loader": "^8.3.0",
"c8": "^10.1.2",
"chart.js": "^4.3.2",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-test-utils": "^0.5.0",
"concurrently": "^9.1.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.3",
"date-fns": "^2.21.1",
"eslint": "^8.2.0",
"eslint-config-chartjs": "^0.3.0",
"eslint-plugin-html": "^8.1.2",
"eslint-plugin-markdown": "^2.0.1",
"eslint-plugin-prettier": "^5.2.1",
"hammer-simulator": "^0.0.1",
"jasmine": "^5.4.0",
"karma": "^6.4.4",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-firefox-launcher": "^2.1.3",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-rollup-preprocessor": "7.0.7",
"karma-spec-reporter": "0.0.36",
"ng-hammerjs": "^2.0.8",
"pixelmatch": "^6.0.0",
"rollup": "^4.27.4",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-istanbul": "^5.0.0",
"typedoc": "^0.23.28",
"typedoc-plugin-markdown": "3.13",
"typescript": "5.0",
"vuepress": "^1.8.2",
"vuepress-plugin-flexsearch": "^0.3.0",
"vuepress-plugin-redirect": "^1.2.5",
"vuepress-plugin-typedoc": "^0.10.3",
"vuepress-theme-chartjs": "^0.2.0"
},
"peerDependencies": {
"chart.js": ">=3.2.0"
},
"dependencies": {
"@types/hammerjs": "^2.0.45",
"hammerjs": "^2.0.8"
}
}