-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 5.64 KB
/
Copy pathpackage.json
File metadata and controls
157 lines (157 loc) · 5.64 KB
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
147
148
149
150
151
152
153
154
155
156
157
{
"name": "pulse-player",
"version": "2.3.5",
"description": "A premium drop-in music player for Vue 3 — inline card + floating FAB, FFT visualiser, nine themes, guided demo tour, ~49 kB gzip.",
"type": "module",
"workspaces": [
"packages/*",
"apps/*",
"examples/*"
],
"license": "MIT",
"author": "YamadaBlog",
"repository": {
"type": "git",
"url": "git+https://github.com/YamadaBlog/pulse-player.git"
},
"homepage": "https://github.com/YamadaBlog/pulse-player#readme",
"bugs": {
"url": "https://github.com/YamadaBlog/pulse-player/issues"
},
"keywords": [
"vue",
"vue3",
"music-player",
"audio",
"fft",
"equalizer",
"fab",
"draggable",
"pinia",
"component"
],
"main": "./dist/lib/pulse-player.cjs.js",
"module": "./dist/lib/pulse-player.es.js",
"types": "./dist/lib/types/index.d.ts",
"exports": {
".": {
"types": "./dist/lib/types/index.d.ts",
"import": "./dist/lib/pulse-player.es.js",
"require": "./dist/lib/pulse-player.cjs.js"
},
"./style.css": "./dist/lib/pulse-player.css",
"./src/*": "./src/*"
},
"files": [
"dist/lib",
"src/lib",
"README.md",
"LICENSE",
"NOTICE.md",
"CHANGELOG.md",
"docs/*.md"
],
"sideEffects": [
"**/*.css",
"**/*.vue"
],
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"build:lib": "vue-tsc --noEmit && cross-env VITE_BUILD_TARGET=lib vite build && npm run build:lib:types",
"preview": "vite preview",
"type-check": "vue-tsc --noEmit",
"lint": "eslint . --ext .ts,.vue,.js,.tsx,.jsx --cache --max-warnings=0",
"lint:fix": "eslint . --ext .ts,.vue,.js,.tsx,.jsx --cache --fix",
"format": "prettier --write \"src/**/*.{ts,vue,js,css,md}\" \"docs/**/*.md\" \"*.md\"",
"format:check": "prettier --check \"src/**/*.{ts,vue,js,css,md}\" \"docs/**/*.md\" \"*.md\"",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:core": "vitest run -c packages/core/vitest.config.ts",
"test:web-component": "vitest run -c packages/web-component/vitest.config.ts",
"test:react-pkg": "vitest run -c packages/react/vitest.config.ts",
"test:svelte-pkg": "vitest run -c packages/svelte/vitest.config.ts",
"test:angular-pkg": "vitest run -c packages/angular/vitest.config.ts",
"test:tokens-pkg": "vitest run -c packages/tokens/vitest.config.ts",
"test:react-native-pkg": "vitest run -c packages/react-native/vitest.config.ts",
"test:packages": "npm run test:core && npm run test:tokens-pkg && npm run test:web-component && npm run test:react-pkg && npm run test:svelte-pkg && npm run test:angular-pkg && npm run test:react-native-pkg",
"test:visual": "playwright test --grep-invert a11y",
"test:visual:update": "playwright test --update-snapshots --grep-invert a11y",
"test:a11y": "cross-env PULSE_A11Y=1 playwright test --grep a11y",
"size": "npm run build:packages && npm run build:lib && size-limit",
"size:why": "npm run build:packages && npm run build:lib && size-limit --why",
"size:check": "size-limit",
"setup:demo-audio": "node scripts/setup-demo-audio.mjs",
"publish:dry-run": "node scripts/publish-dry-run.mjs",
"build:packages": "npm run build --workspace=@pulse-music/types --workspace=@pulse-music/core --workspace=@pulse-music/tokens --workspace=@pulse-music/web-component --workspace=@pulse-music/react --workspace=@pulse-music/svelte",
"audit": "npm audit --omit=dev --audit-level=moderate",
"check:lib-identical": "node scripts/check-lib-byte-identical.mjs",
"ci": "npm run type-check && npm run lint && npm run test && npm run test:packages && npm run build && npm run audit && npm run check:lib-identical && npm run check:assets",
"prepublishOnly": "npm run ci && npm run build:lib",
"prepare": "husky 2>/dev/null || true",
"test:consumer": "node scripts/consumer-smoke.mjs",
"generate:shells": "node scripts/generate-player-shells.mjs",
"generate:backdrop": "node scripts/generate-hero-backdrop.mjs",
"build:lib:types": "vue-tsc -p tsconfig.lib.json",
"guard:registry": "node scripts/registry-guard.mjs",
"check:assets": "node scripts/assets-license-check.mjs"
},
"peerDependencies": {
"pinia": "^2.1.0",
"vue": "^3.4.0"
},
"dependencies": {
"lucide-vue-next": "^0.300.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.3",
"@playwright/test": "^1.60.0",
"@size-limit/preset-small-lib": "^12.1.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@types/node": "^20.11.0",
"@types/react": "^18.3.31",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vitejs/plugin-vue": "^5.0.0",
"@vitest/coverage-v8": "^3.2.6",
"@vue/test-utils": "^2.4.0",
"cross-env": "^10.1.0",
"cwebp-bin": "^8.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-vue": "^9.21.0",
"ffmpeg-static": "^5.3.0",
"gsap": "^3.15.0",
"husky": "^9.0.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.0",
"motion": "^12.40.0",
"pinia": "^2.1.0",
"prettier": "^3.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sharp": "^0.35.1",
"size-limit": "^12.1.0",
"tsup": "^8.5.1",
"typescript": "^5.4.0",
"vite": "^5.0.0",
"vitest": "^3.2.6",
"vue": "^3.4.0",
"vue-tsc": "^2.0.0"
},
"lint-staged": {
"*.{ts,vue,js,tsx,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,md,json}": [
"prettier --write"
]
},
"engines": {
"node": ">=18"
}
}