-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 1.98 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
{
"name": "get-seo",
"version": "1.0.2",
"author": "maaaathis",
"license": "MIT",
"description": "Get SEO information from a URL",
"keywords": [
"seo"
],
"repository": {
"type": "git",
"url": "git+https://github.com/maaaathis/get-seo.git"
},
"type": "module",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./types": {
"types": "./dist/types.d.ts"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"build": "run-p build:**",
"build:cjs": "swc ./src/index.ts -o dist/index.js -C module.type=commonjs",
"build:esm": "swc ./src/index.ts -o dist/index.mjs -C module.type=es6 ",
"build:tsc": "tsc --project tsconfig.json",
"check": "tsc --project tsconfig.json --noEmit",
"format": "yarn prettier --write \"**/*.{js,jsx,ts,tsx,json,css,scss,md,mdx}\"",
"test": "run-p test:**",
"test:function": "pnpm build && ava",
"test:format": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,scss,md,mdx}\"",
"prepublishOnly": "pnpm test"
},
"dependencies": {
"is-url": "^1.2.4",
"jsdom": "^24.1.0",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"@swc/cli": "^0.3.14",
"@swc/core": "^1.6.5",
"@types/is-url": "^1.2.32",
"@types/jsdom": "21.1.7",
"@types/node": "20.14.8",
"ava": "^6.1.3",
"npm-run-all": "4.1.5",
"prettier": "^3.3.2",
"ts-node": "10.9.2",
"typescript": "5.5.2"
},
"publishConfig": {
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./types": {
"types": "./dist/types.d.ts"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18"
}
}