forked from katspaugh/wavesurfer.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 1.97 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
{
"name": "wavesurfer.js",
"version": "7.0.0-beta.3",
"license": "BSD-3-Clause",
"author": "katspaugh",
"homepage": "https://wavesurfer-js.org",
"keywords": [
"waveform",
"spectrogram",
"audio",
"player",
"music",
"linguistics"
],
"type": "module",
"files": [ "dist" ],
"main": "dist/wavesurfer.js",
"module": "dist/wavesurfer.js",
"types": "dist/wavesurfer.d.ts",
"browser": "dist/wavesurfer.js",
"exports": {
".": {
"import": "./dist/wavesurfer.js",
"require": "./dist/wavesurfer.min.js"
},
"./dist/plugins/*": {
"import": "./dist/plugins/*.js",
"require": "./dist/plugins/*.min.js"
},
"./dist/plugins/*.js": {
"import": "./dist/plugins/*.js",
"require": "./dist/plugins/*.min.js"
}
},
"scripts": {
"build:dev": "tsc -w --target ESNext",
"build:umd": "webpack",
"build:umd:plugins": "webpack --config webpack.config.plugins.js",
"build": "tsc && npm run build:umd && npm run build:umd:plugins",
"deploy": "yarn build && yarn docs",
"prepublishOnly": "npm run build",
"docs": "typedoc src/wavesurfer.ts src/plugins/*.ts --out docs",
"lint": "eslint --ext .ts src --fix",
"prettier": "prettier -w '**/*.{js,ts,css}' --ignore-path .gitignore",
"cypress": "cypress open --e2e",
"cypress:canary": "cypress open --e2e -b chrome:canary",
"test": "cypress run",
"serve": "npx live-server --port=9090",
"start": "npm run build:dev & npm run serve"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"cypress": "^12.9.0",
"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",
"ts-loader": "^9.4.2",
"typedoc": "^0.24.6",
"typedoc-plugin-rename-defaults": "^0.6.5",
"typescript": "^5.0.4",
"webpack": "^5.77.0",
"webpack-cli": "^5.0.1"
}
}