62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
|
|
{
|
||
|
|
"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",
|
||
|
|
"prepare": "tsdx build",
|
||
|
|
"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",
|
||
|
|
"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"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"devDependencies": {
|
||
|
|
"@size-limit/preset-small-lib": "7.0.8",
|
||
|
|
"@types/cheerio": "0.22.31",
|
||
|
|
"husky": "7.0.4",
|
||
|
|
"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"
|
||
|
|
}
|
||
|
|
}
|