-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
package.json
87 lines (87 loc) · 2.54 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
{
"name": "wavesurfer.js",
"version": "7.8.8",
"license": "BSD-3-Clause",
"author": "katspaugh",
"description": "Audio waveform player",
"homepage": "https://wavesurfer.xyz",
"keywords": [
"waveform",
"spectrogram",
"audio",
"player",
"music",
"linguistics"
],
"repository": {
"type": "git",
"url": "git@github.com:katspaugh/wavesurfer.js.git"
},
"type": "module",
"files": [
"dist"
],
"main": "./dist/wavesurfer.js",
"unpkg": "./dist/wavesurfer.min.js",
"module": "./dist/wavesurfer.js",
"browser": "./dist/wavesurfer.js",
"types": "./dist/wavesurfer.d.ts",
"exports": {
".": {
"import": "./dist/wavesurfer.esm.js",
"types": "./dist/wavesurfer.d.ts",
"require": "./dist/wavesurfer.cjs"
},
"./dist/plugins/*.js": {
"import": "./dist/plugins/*.esm.js",
"types": "./dist/plugins/*.d.ts",
"require": "./dist/plugins/*.cjs"
},
"./plugins/*": {
"import": "./dist/plugins/*.esm.js",
"types": "./dist/plugins/*.d.ts",
"require": "./dist/plugins/*.cjs"
},
"./dist/*": {
"import": "./dist/*",
"types": "./dist/*.d.ts",
"require": "./dist/*.cjs"
},
"./dist/plugins/*.esm.js": {
"import": "./dist/plugins/*.esm.js",
"types": "./dist/plugins/*.d.ts",
"require": "./dist/plugins/*.cjs"
}
},
"scripts": {
"clean": "node ./scripts/clean.cjs",
"build:dev": "tsc -w --target ESNext",
"build": "npm run clean && tsc && rollup -c",
"prepublishOnly": "npm run build",
"lint": "eslint --ext .ts src --fix",
"lint:report": "eslint --output-file eslint_report.json --format json --ext .ts src",
"prettier": "prettier -w '**/*.{js,ts,css}' --ignore-path .gitignore",
"make-plugin": "./scripts/plugin.sh",
"cypress": "cypress open --e2e",
"cypress:canary": "cypress open --e2e -b chrome:canary",
"test": "cypress run --browser chrome",
"serve": "npx live-server --port=9090 --no-browser --ignore='.*,src,cypress,scripts'",
"start": "npm run build:dev & npm run serve"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"cypress": "^13.9.0",
"cypress-image-snapshot": "^4.0.1",
"eslint": "^8",
"eslint-config-prettier": "^8",
"eslint-plugin-prettier": "^4",
"glob": "^11.0.0",
"prettier": "^2",
"rollup": "^4.17.2",
"rollup-plugin-dts": "^6.1.0",
"typescript": "^5.4.5"
}
}