-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.63 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
88
89
90
91
92
93
94
95
96
97
{
"name": "ff-helper",
"version": "0.6.1",
"description": "ffmpeg helper by napi-rs binding",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"src",
"Cargo.toml",
"Cargo.lock",
"build.rs",
"lib",
"addon.js",
"addon.d.ts",
"./ff-helper.*.node",
"README.md",
"CHANGELOG.md",
"LICENSE",
"package.json"
],
"dependencies": {
"@napi-rs/cli": "^2.18.4",
"dayjs": "^1.11.12"
},
"devDependencies": {
"@magicdawn/prettier-config": "^0.0.4",
"@swc/core": "^1.7.4",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.7",
"@types/node": "^22.0.2",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"dl-vampire": "^1.4.1",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"fs-extra": "^11.2.0",
"husky": "^9.1.4",
"lint-staged": "^15.2.7",
"mocha": "^10.7.0",
"nyc": "^15.1.0",
"prettier": "^3.3.3",
"sharp": "^0.33.4",
"should": "^13.2.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
},
"scripts": {
"prepare": "husky",
"build:debug": "napi build --platform --js addon.js --dts addon.d.ts",
"build:release": "napi build --platform --js addon.js --dts addon.d.ts --release",
"dev": "pnpm build:debug",
"build:tsc": "rm -rf lib; tsc",
"build": "pnpm build:release && pnpm test && pnpm build:tsc",
"prepublishOnly": "pnpm build",
"install": "npm run build-addon-when-necessary",
"build-addon-when-necessary": "(node ./addon.js > /dev/null 2>&1) || npm run build:release",
"test": "mocha",
"test-cover": "nyc --reporter=lcov --reporter=text mocha",
"_prepublishOnly": "napi prepublish -t npm",
"_artifacts": "napi artifacts",
"_universal": "napi universal",
"_version": "napi version"
},
"napi": {
"name": "ff-helper",
"package": {},
"triples": {}
},
"author": "magicdawn",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/magicdawn/ff-helper.git"
},
"keywords": [
"ffmpeg",
"ffprobe",
"napi",
"napi-rs",
"video-info",
"video-rotation",
"video-duration"
],
"bugs": {
"url": "https://github.com/magicdawn/ff-helper/issues"
},
"homepage": "https://github.com/magicdawn/ff-helper#readme",
"lint-staged": {
"*.{js,jsx,ts,tsx,less,md}": [
"prettier --write"
]
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e"
}