forked from katspaugh/wavesurfer.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.35 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
{
"name": "wavesurfer.js",
"version": "7.7.13",
"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/*"
},
"./dist/plugins/*.esm.js": {
"import": "./dist/plugins/*.esm.js",
"types": "./dist/plugins/*.d.ts",
"require": "./dist/plugins/*.cjs"
}
},
"scripts": {
"build:dev": "tsc -w --target ESNext",
"build": "rm -rf dist && tsc && rollup -c",
"prepublishOnly": "npm run build",
"lint": "eslint --ext .ts src --fix",
"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.3",
"@rollup/plugin-typescript": "^11.1.2",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"cypress": "^12.17.3",
"cypress-image-snapshot": "^4.0.1",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.7",
"rollup": "^3.26.2",
"rollup-plugin-dts": "^6.1.0",
"typescript": "^5.0.4"
}
}