2026-07-20 10:21:30 +08:00
|
|
|
{
|
|
|
|
|
"name": "waveform-analysis",
|
2026-07-29 11:16:27 +08:00
|
|
|
"version": "0.1.22",
|
2026-07-20 10:21:30 +08:00
|
|
|
"main": "./dist/index.cjs",
|
|
|
|
|
"module": "./dist/index.js",
|
|
|
|
|
"types": "./dist/types/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./dist/types/index.d.ts",
|
|
|
|
|
"import": "./dist/index.js",
|
|
|
|
|
"require": "./dist/index.cjs"
|
|
|
|
|
},
|
|
|
|
|
"./style.css": "./dist/style.css"
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist",
|
|
|
|
|
"README.md"
|
|
|
|
|
],
|
|
|
|
|
"sideEffects": [
|
|
|
|
|
"**/*.css"
|
|
|
|
|
],
|
|
|
|
|
"type": "module",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "vite",
|
|
|
|
|
"build": "pnpm typecheck && pnpm build:lib && pnpm build:types && pnpm build:demo",
|
|
|
|
|
"build:lib": "vite build --config vite.lib.config.ts",
|
2026-07-27 15:05:13 +08:00
|
|
|
"build:types": "node scripts/clean-types.mjs && vue-tsc -p tsconfig.lib.json",
|
2026-07-20 10:21:30 +08:00
|
|
|
"build:demo": "vite build",
|
|
|
|
|
"preview": "vite preview --outDir dist-demo",
|
|
|
|
|
"typecheck": "vue-tsc -b",
|
2026-07-27 15:05:13 +08:00
|
|
|
"check:file-length": "node scripts/check-file-length.mjs",
|
2026-07-20 10:21:30 +08:00
|
|
|
"lint": "eslint . --max-warnings=0",
|
|
|
|
|
"format": "prettier --write .",
|
|
|
|
|
"test": "vitest run",
|
|
|
|
|
"test:coverage": "vitest run --coverage"
|
|
|
|
|
},
|
2026-07-23 13:21:04 +08:00
|
|
|
"dependencies": {
|
2026-07-27 15:05:13 +08:00
|
|
|
"ant-design-vue": "3.2.20",
|
2026-07-23 13:21:04 +08:00
|
|
|
"d3": "^7.9.0",
|
2026-07-27 15:05:13 +08:00
|
|
|
"vue3-colorpicker": "^2.3.0"
|
2026-07-23 13:21:04 +08:00
|
|
|
},
|
2026-07-20 10:21:30 +08:00
|
|
|
"peerDependencies": {
|
2026-07-21 16:37:35 +08:00
|
|
|
"ant-design-vue": ">=3.2.20 <4",
|
2026-07-23 13:21:04 +08:00
|
|
|
"vue": ">=3.2.33 <4"
|
2026-07-20 10:21:30 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@eslint/js": "10.0.1",
|
|
|
|
|
"@types/d3": "7.4.3",
|
|
|
|
|
"@types/node": "26.1.1",
|
|
|
|
|
"@vitejs/plugin-vue": "6.0.8",
|
|
|
|
|
"@vitest/coverage-v8": "4.1.10",
|
|
|
|
|
"@vue/test-utils": "2.4.11",
|
|
|
|
|
"eslint": "10.7.0",
|
|
|
|
|
"eslint-config-prettier": "10.1.8",
|
|
|
|
|
"eslint-plugin-vue": "10.9.2",
|
|
|
|
|
"globals": "17.7.0",
|
|
|
|
|
"jsdom": "29.1.1",
|
|
|
|
|
"prettier": "3.9.5",
|
|
|
|
|
"typescript": "~6.0.0",
|
|
|
|
|
"typescript-eslint": "8.64.0",
|
|
|
|
|
"vite": "8.1.5",
|
|
|
|
|
"vitest": "4.1.10",
|
|
|
|
|
"vue": "3.5.40",
|
2026-07-23 13:21:04 +08:00
|
|
|
"vue-tsc": "3.3.7"
|
2026-07-20 10:21:30 +08:00
|
|
|
}
|
|
|
|
|
}
|