forked from caffco/get-audio-duration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.48 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
{
"name": "get-audio-duration",
"description": "Get the duration of an audio file",
"version": "4.0.0",
"author": "Lluís Ulzurrun de Asanza Sàez <[email protected]> (http://llu.is)",
"license": "MIT",
"repository": "caffco/get-audio-duration",
"main": "dist/commonjs/index.js",
"module": "dist/es6/index.js",
"dependencies": {
"@ffprobe-installer/ffprobe": "^2.0.0",
"execa": "^5.0.0"
},
"devDependencies": {
"@types/node": "^20.2.5",
"@types/tmp": "^0.2.3",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"@vitest/coverage-v8": "^0.32.2",
"es-check": "^7.0.0",
"eslint": "^8.43.0",
"husky": "^4.2.5",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.1",
"source-map-support": "^0.5.21",
"tmp": "^0.2.1",
"ts-node": "^10.7.0",
"typescript": "^5.0.4",
"vitest": "^0.32.2"
},
"scripts": {
"lint": "eslint **/*.ts",
"lint:build": "es-check es5 dist/commonjs/*.js",
"build": "run-s build:* lint:build",
"build:commonjs": "tsc --p tsconfig.commonjs.json",
"build:es6": "tsc --p tsconfig.es6.json",
"test": "vitest --coverage",
"format": "prettier --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' --write",
"prepublishOnly": "CI=1 run-s test build"
},
"husky": {
"hooks": {
"pre-commit": "run-s lint format"
}
},
"keywords": [
"audio",
"duration",
"ffmpeg",
"ffprobe",
"typescript"
],
"files": [
"dist/**/*"
]
}