-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
96 lines (96 loc) · 2.16 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
{
"name": "nal-extractor",
"version": "1.0.1",
"keywords": [
"h264",
"bitstream",
"parser",
"metadata",
"sync"
],
"description": "Extraction / display of metadata in an H.264 video stream",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"scripts": {
"docs": "typedoc lib/**.ts lib/*/*.ts --out docs",
"clean": "rm -rf dist",
"prepare": "npm run clean && npm run build",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch"
},
"files": [
"dist",
"lib"
],
"engines": {
"node": ">=14.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/medooze/nal-extractor.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/medooze/nal-extractor/issues"
},
"homepage": "https://github.com/medooze/nal-extractor#readme",
"jest": {
"preset": "ts-jest/presets/default-esm",
"transform": {
"\\.ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"moduleFileExtensions": [
"ts",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/",
"/lib/sync"
],
"coverageThreshold": {
"global": {
"branches": 65,
"functions": 60,
"lines": 85,
"statements": 85
}
},
"collectCoverageFrom": [
"lib/**/*.{js,ts}"
]
},
"devDependencies": {
"@jest/globals": "^29.3.1",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"typedoc": "^0.25.2",
"typescript": "^4.9.4"
}
}