shareon-pulsanti-condivisio.../package.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

134 lines
3.0 KiB
JSON
Raw Permalink Normal View History

2020-03-25 16:32:25 +01:00
{
"name": "shareon",
2024-02-04 16:34:19 +01:00
"version": "2.5.0",
2020-06-26 17:04:15 +02:00
"description": "Lightweight, stylish and ethical share buttons for popular social networks",
"license": "MIT",
2020-03-26 22:01:29 +01:00
"homepage": "https://shareon.js.org",
2020-06-26 17:04:15 +02:00
"keywords": [
"share buttons",
"sharing",
"social networks"
],
2020-03-25 16:48:11 +01:00
"repository": {
"type": "git",
2023-01-23 06:06:31 +01:00
"url": "https://github.com/kytta/shareon.git"
2020-03-25 16:48:11 +01:00
},
"bugs": {
2023-01-23 06:06:31 +01:00
"url": "https://github.com/kytta/shareon/issues"
2020-03-25 16:48:11 +01:00
},
2020-06-26 17:04:15 +02:00
"author": {
"name": "Nikita Karamov",
"email": "me@kytta.dev",
2022-02-11 17:07:51 +01:00
"url": "https://www.kytta.dev/"
2020-06-26 17:04:15 +02:00
},
2022-02-11 17:10:01 +01:00
"funding": [
"https://github.com/sponsors/kytta/",
"https://liberapay.com/kytta",
"https://www.paypal.com/paypalme/NickKaramoff"
],
2023-01-25 18:14:18 +01:00
"type": "module",
2022-02-10 21:51:37 +01:00
"main": "./dist/shareon.umd.js",
"unpkg": "./dist/shareon.iife.js",
"jsdelivr": "./dist/shareon.iife.js",
"module": "./dist/shareon.es.js",
"exports": {
2022-02-10 21:51:37 +01:00
".": {
"import": "./dist/shareon.es.js",
"require": "./dist/shareon.umd.js"
},
"./css": "./dist/shareon.min.css"
2020-07-23 19:18:19 +02:00
},
2020-06-26 17:04:15 +02:00
"files": [
2020-07-26 14:17:16 +02:00
"dist"
2020-06-26 17:04:15 +02:00
],
2020-03-25 17:44:11 +01:00
"scripts": {
2023-01-25 18:27:00 +01:00
"build": "vite build",
2022-02-10 21:44:53 +01:00
"dev": "vite",
2022-02-10 22:20:18 +01:00
"lint": "prettier --check . && eslint .",
2021-01-16 22:10:33 +01:00
"size": "size-limit",
"test": "pnpm run lint && pnpm run build && pnpm run size",
2022-02-11 14:49:03 +01:00
"postversion": "pnpm run build",
"prepublishOnly": "rm -rf ./package && clean-publish",
2023-07-28 23:58:09 +02:00
"postpublish": "rm -rf ./package",
"preinstall": "npx only-allow pnpm"
2020-03-25 17:44:11 +01:00
},
"devDependencies": {
2023-12-06 22:26:46 +01:00
"@size-limit/preset-small-lib": "^11.0.1",
2023-11-20 09:08:06 +01:00
"autoprefixer": "^10.4.16",
2023-07-15 00:17:12 +02:00
"clean-publish": "^4.2.0",
2023-12-06 22:26:46 +01:00
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
2023-11-20 09:06:10 +01:00
"eslint-plugin-unicorn": "^49.0.0",
2023-12-06 22:26:46 +01:00
"postcss": "^8.4.32",
2023-07-15 00:20:25 +02:00
"postcss-calc": "^9.0.1",
"postcss-css-variables": "^0.19.0",
2022-11-16 10:45:17 +01:00
"postcss-csso": "^6.0.1",
2023-07-15 11:29:32 +02:00
"postcss-url": "^10.1.3",
2023-11-20 09:06:10 +01:00
"prettier": "^3.1.0",
2023-12-06 22:26:46 +01:00
"size-limit": "^11.0.1",
"vite": "^5.0.6"
2020-03-25 22:09:35 +01:00
},
2023-07-14 22:27:38 +02:00
"prettier": {
"embeddedLanguageFormatting": "off"
},
2023-01-25 19:02:13 +01:00
"eslintConfig": {
"env": {
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:unicorn/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"overrides": [
{
"files": [
"vite.config.js"
],
"env": {
"node": true,
"browser": false
}
}
]
},
2023-01-25 18:49:04 +01:00
"postcss": {
"plugins": {
2023-07-15 11:29:32 +02:00
"postcss-url": {
"url": "inline",
"optimizeSvgEncode": true
},
2023-01-25 18:49:04 +01:00
"postcss-css-variables": {},
"postcss-calc": {},
"autoprefixer": {},
"postcss-csso": {}
}
},
2020-03-25 22:09:35 +01:00
"size-limit": [
2020-07-30 12:09:39 +02:00
{
2024-02-04 15:45:32 +01:00
"limit": "6 KiB",
2023-07-15 00:25:19 +02:00
"path": "./dist/shareon.min.css",
"brotli": true
2020-07-30 12:09:39 +02:00
},
2020-03-25 22:09:35 +01:00
{
2024-02-04 15:45:32 +01:00
"limit": "1 KiB",
2023-07-15 00:25:19 +02:00
"path": "./dist/shareon.es.js",
"brotli": true
2020-03-25 22:09:35 +01:00
}
2022-02-11 14:49:03 +01:00
],
"publishConfig": {
"directory": "package"
},
"clean-publish": {
"withoutPublish": true,
2023-01-25 18:49:04 +01:00
"tempDir": "package",
"fields": [
"postcss"
]
2022-02-11 14:49:03 +01:00
}
2020-03-25 16:32:25 +01:00
}