Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) Β· 1.74 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) Β· 1.74 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
{
"name": "earcons",
"version": "0.5.0",
"description": "Tiny vanilla TypeScript library for playing UI notification sounds via the Web Audio API β no audio files, no dependencies.",
"keywords": [
"web-audio-api",
"notification",
"sound",
"ui",
"earcon",
"sfx",
"typescript",
"browser",
"audio",
"beep"
],
"author": {
"name": "smolgroot",
"url": "https://github.com/smolgroot"
},
"repository": {
"type": "git",
"url": "git+https://github.com/smolgroot/earcons.git"
},
"homepage": "https://github.com/smolgroot/earcons#readme",
"bugs": {
"url": "https://github.com/smolgroot/earcons/issues"
},
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"browser": "./dist/earcon.min.global.js",
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"demo": "npm run build && npx -y serve . -p 3333",
"prepublishOnly": "npm run typecheck && npm test && npm run build",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint": "tsc --noEmit"
},
"devDependencies": {
"@types/jsdom": "^28.0.0",
"@vitest/coverage-v8": "^1.4.0",
"jsdom": "^29.0.0",
"tsup": "^8.0.0",
"typescript": "^5.4.0",
"vitest": "^1.4.0"
},
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"
}