2022-04-28 15:01:42 +02:00
|
|
|
{
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"main": "dist/index.js",
|
|
|
|
|
"typings": "dist/index.d.ts",
|
|
|
|
|
"files": [
|
|
|
|
|
"dist",
|
|
|
|
|
"src"
|
|
|
|
|
],
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=10"
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"start": "tsdx watch",
|
|
|
|
|
"build": "tsdx build",
|
|
|
|
|
"test": "tsdx test",
|
|
|
|
|
"lint": "tsdx lint",
|
|
|
|
|
"typecheck": "tsc -b",
|
2022-04-28 15:12:12 +02:00
|
|
|
"prepare": "tsdx build; is-ci || husky install",
|
2022-04-28 15:01:42 +02:00
|
|
|
"size": "size-limit",
|
|
|
|
|
"analyze": "size-limit --why"
|
|
|
|
|
},
|
|
|
|
|
"peerDependencies": {},
|
|
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-commit": "tsdx lint && tsc -b"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"prettier": {
|
|
|
|
|
"printWidth": 80,
|
|
|
|
|
"semi": true,
|
|
|
|
|
"singleQuote": true,
|
|
|
|
|
"trailingComma": "es5"
|
|
|
|
|
},
|
|
|
|
|
"name": "link-previewer",
|
|
|
|
|
"author": "nzambello",
|
2022-04-28 15:12:12 +02:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/nzambello/link-previewer.git"
|
|
|
|
|
},
|
|
|
|
|
"homepage": "https://github.com/nzambello/link-previewer",
|
|
|
|
|
"keywords": [
|
|
|
|
|
"node",
|
|
|
|
|
"opengraph",
|
|
|
|
|
"preview",
|
|
|
|
|
"meta",
|
|
|
|
|
"previewer"
|
|
|
|
|
],
|
2022-04-28 15:01:42 +02:00
|
|
|
"module": "dist/link-previewer.esm.js",
|
|
|
|
|
"size-limit": [
|
|
|
|
|
{
|
|
|
|
|
"path": "dist/link-previewer.cjs.production.min.js",
|
|
|
|
|
"limit": "10 KB"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"path": "dist/link-previewer.esm.js",
|
|
|
|
|
"limit": "10 KB"
|
|
|
|
|
}
|
|
|
|
|
],
|
2022-04-28 15:12:12 +02:00
|
|
|
"release-it": {
|
|
|
|
|
"git": {
|
|
|
|
|
"tagName": "v${version}",
|
|
|
|
|
"commitMessage": "chore: release v${version}"
|
|
|
|
|
},
|
|
|
|
|
"npm": {
|
|
|
|
|
"publish": true
|
|
|
|
|
},
|
|
|
|
|
"github": {
|
|
|
|
|
"release": true,
|
|
|
|
|
"releaseName": "${version}"
|
|
|
|
|
},
|
|
|
|
|
"plugins": {
|
|
|
|
|
"@release-it/conventional-changelog": {
|
|
|
|
|
"infile": "CHANGELOG.md",
|
|
|
|
|
"preset": {
|
|
|
|
|
"name": "conventionalcommits",
|
|
|
|
|
"types": [
|
|
|
|
|
{
|
|
|
|
|
"type": "feat",
|
|
|
|
|
"section": "Features"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "fix",
|
|
|
|
|
"section": "Bug Fixes"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "refactor",
|
|
|
|
|
"section": "Changes"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "chore",
|
|
|
|
|
"section": "Maintenance"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-04-28 15:01:42 +02:00
|
|
|
"devDependencies": {
|
2022-04-28 15:12:12 +02:00
|
|
|
"@commitlint/cli": "16.2.4",
|
|
|
|
|
"@commitlint/config-conventional": "16.2.4",
|
|
|
|
|
"@release-it/conventional-changelog": "4.3.0",
|
2022-04-28 15:01:42 +02:00
|
|
|
"@size-limit/preset-small-lib": "7.0.8",
|
|
|
|
|
"@types/cheerio": "0.22.31",
|
|
|
|
|
"husky": "7.0.4",
|
2022-04-28 15:12:12 +02:00
|
|
|
"is-ci": "3.0.1",
|
|
|
|
|
"release-it": "14.14.2",
|
2022-04-28 15:01:42 +02:00
|
|
|
"size-limit": "7.0.8",
|
|
|
|
|
"tsdx": "0.14.1",
|
|
|
|
|
"tslib": "2.4.0",
|
|
|
|
|
"typescript": "4.6.3"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"cheerio": "1.0.0-rc.10",
|
|
|
|
|
"cross-fetch": "3.1.5"
|
|
|
|
|
}
|
|
|
|
|
}
|