-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
103 lines (103 loc) · 2.14 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
98
99
100
101
102
103
{
"name": "get-video-id",
"version": "4.1.7",
"description": "Get the YouTube, Vimeo, Vine, VideoPress, TikTok, Microsoft Stream, Loom or Dailymotion video id from a url or embed string.",
"license": "MIT",
"repository": "radiovisual/get-video-id",
"main": "dist/get-video-id.js",
"module": "dist/get-video-id.esm.js",
"types": "./index.d.ts",
"type": "module",
"files": [
"dist/*",
"index.d.ts"
],
"exports": {
".": {
"import": "./dist/get-video-id.esm.js",
"require": "./dist/get-video-id.js",
"types": "./index.d.ts"
}
},
"author": {
"name": "Michael Wuergler",
"email": "wuergler@gmail.com",
"url": "https://github.com/radiovisual"
},
"engines": {
"node": ">=16"
},
"scripts": {
"prebuild": "rimraf dist",
"test:post-build": "jest __tests__/builds/*",
"test": "npm run lint && c8 jest --runInBand --testPathIgnorePatterns='<rootDir>/__tests__/builds'",
"lint": "xo",
"lint:fix": "xo --fix",
"build": "rollup -c rollup.config.js && npm run test && npm run test:post-build",
"prepublish": "npm run build"
},
"keywords": [
"RegExp",
"regexp",
"iframe",
"embed",
"url",
"vine",
"vimeo",
"loom",
"youtube",
"videopress",
"microsoft stream",
"microsoft",
"dailymotion",
"tiktok",
"shorts",
"stream",
"from",
"string",
"id",
"video",
"read",
"retrieve",
"fetch",
"parse",
"extract",
"get"
],
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/eslint-parser": "^7.12.1",
"@babel/plugin-transform-modules-commonjs": "^7.15.0",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/preset-env": "^7.15.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.1.0",
"c8": "^7.8.0",
"jest": "^27.1.0",
"jsdom": "^17.0.0",
"rimraf": "^3.0.0",
"rollup": "^4.5.1",
"rollup-plugin-preserve-directives": "^0.4.0",
"xo": "^0.56.0"
},
"xo": {
"globals": [
"test",
"expect",
"describe"