-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
55 lines (55 loc) · 1.84 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
{
"name": "get-audio-duration",
"description": "Get the duration of an audio file",
"version": "4.0.1",
"author": "Lluís Ulzurrun de Asanza Sàez <me@llu.is> (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.1.2",
"execa": "^5.0.0"
},
"devDependencies": {
"@types/node": "^20.2.5",
"@types/tmp": "^0.2.6",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"@vitest/coverage-v8": "^2.0.5",
"es-check": "^7.2.1",
"eslint": "^8.57.1",
"git-conventional-commits": "^2.6.7",
"husky": "^8.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.1",
"source-map-support": "^0.5.21",
"tmp": "^0.2.3",
"ts-node": "^10.7.0",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"scripts": {
"lint:commit": "git-conventional-commits commit-msg-hook",
"lint:source": "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",
"update:changelog": "git-conventional-commits changelog --file 'CHANGELOG.md'",
"update:version": "TEMP_PACKAGE_JSON=$(mktemp) &&git-conventional-commits version 2>/dev/null | xargs -I{} jq --arg newVersion {} '.version = $newVersion' package.json > \"$TEMP_PACKAGE_JSON\" && rm package.json && mv \"$TEMP_PACKAGE_JSON\" package.json"
},
"keywords": [
"audio",
"duration",
"ffmpeg",
"ffprobe",
"typescript"
],
"files": [
"dist/**/*"
]
}