2020-03-25 11:32:25 -04:00
|
|
|
{
|
|
|
|
"name": "shareon",
|
2023-07-15 14:01:42 -04:00
|
|
|
"version": "2.2.2",
|
2020-06-26 11:04:15 -04:00
|
|
|
"description": "Lightweight, stylish and ethical share buttons for popular social networks",
|
|
|
|
"license": "MIT",
|
2020-03-26 17:01:29 -04:00
|
|
|
"homepage": "https://shareon.js.org",
|
2020-06-26 11:04:15 -04:00
|
|
|
"keywords": [
|
|
|
|
"share buttons",
|
|
|
|
"sharing",
|
|
|
|
"social networks"
|
|
|
|
],
|
2020-03-25 11:48:11 -04:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2023-01-23 00:06:31 -05:00
|
|
|
"url": "https://github.com/kytta/shareon.git"
|
2020-03-25 11:48:11 -04:00
|
|
|
},
|
|
|
|
"bugs": {
|
2023-01-23 00:06:31 -05:00
|
|
|
"url": "https://github.com/kytta/shareon/issues"
|
2020-03-25 11:48:11 -04:00
|
|
|
},
|
2020-06-26 11:04:15 -04:00
|
|
|
"author": {
|
|
|
|
"name": "Nikita Karamov",
|
2022-02-02 09:02:32 -05:00
|
|
|
"email": "me@kytta.dev",
|
2022-02-11 11:07:51 -05:00
|
|
|
"url": "https://www.kytta.dev/"
|
2020-06-26 11:04:15 -04:00
|
|
|
},
|
2022-02-11 11:10:01 -05:00
|
|
|
"funding": [
|
|
|
|
"https://github.com/sponsors/kytta/",
|
|
|
|
"https://liberapay.com/kytta",
|
|
|
|
"https://www.paypal.com/paypalme/NickKaramoff"
|
|
|
|
],
|
2023-01-25 12:14:18 -05:00
|
|
|
"type": "module",
|
2022-02-10 15:51:37 -05:00
|
|
|
"main": "./dist/shareon.umd.js",
|
|
|
|
"unpkg": "./dist/shareon.iife.js",
|
|
|
|
"jsdelivr": "./dist/shareon.iife.js",
|
|
|
|
"module": "./dist/shareon.es.js",
|
2020-03-25 17:10:07 -04:00
|
|
|
"exports": {
|
2022-02-10 15:51:37 -05:00
|
|
|
".": {
|
|
|
|
"import": "./dist/shareon.es.js",
|
|
|
|
"require": "./dist/shareon.umd.js"
|
2022-02-11 09:06:25 -05:00
|
|
|
},
|
|
|
|
"./css": "./dist/shareon.min.css"
|
2020-07-23 13:18:19 -04:00
|
|
|
},
|
2020-06-26 11:04:15 -04:00
|
|
|
"files": [
|
2020-07-26 08:17:16 -04:00
|
|
|
"dist"
|
2020-06-26 11:04:15 -04:00
|
|
|
],
|
2020-03-25 12:44:11 -04:00
|
|
|
"scripts": {
|
2023-01-25 12:27:00 -05:00
|
|
|
"build": "vite build",
|
2022-02-10 15:44:53 -05:00
|
|
|
"dev": "vite",
|
2022-02-10 16:20:18 -05:00
|
|
|
"lint": "prettier --check . && eslint .",
|
2021-01-16 16:10:33 -05:00
|
|
|
"size": "size-limit",
|
2022-02-02 09:04:15 -05:00
|
|
|
"test": "pnpm run lint && pnpm run build && pnpm run size",
|
2022-02-11 08:49:03 -05:00
|
|
|
"postversion": "pnpm run build",
|
|
|
|
"prepublishOnly": "rm -rf ./package && clean-publish",
|
|
|
|
"postpublish": "rm -rf ./package"
|
2020-03-25 12:44:11 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-14 18:17:12 -04:00
|
|
|
"@size-limit/preset-small-lib": "^8.2.6",
|
|
|
|
"clean-publish": "^4.2.0",
|
|
|
|
"eslint": "^8.45.0",
|
2023-03-20 14:24:02 -04:00
|
|
|
"eslint-config-prettier": "^8.8.0",
|
2023-07-18 05:21:55 -04:00
|
|
|
"eslint-plugin-unicorn": "^48.0.0",
|
2023-07-14 18:17:12 -04:00
|
|
|
"postcss": "^8.4.26",
|
2023-07-18 06:14:17 -04:00
|
|
|
"postcss-lightningcss": "^0.9.0",
|
2023-07-15 05:29:32 -04:00
|
|
|
"postcss-url": "^10.1.3",
|
2023-07-14 16:28:39 -04:00
|
|
|
"prettier": "^3.0.0",
|
2023-07-14 18:17:12 -04:00
|
|
|
"size-limit": "^8.2.6",
|
|
|
|
"vite": "^4.4.4"
|
2020-03-25 17:09:35 -04:00
|
|
|
},
|
2023-07-18 06:46:50 -04:00
|
|
|
"browserslist": "> 0.3%, last 2 versions, Firefox ESR, not dead, not op_mini all",
|
2023-07-14 16:27:38 -04:00
|
|
|
"prettier": {
|
|
|
|
"embeddedLanguageFormatting": "off"
|
|
|
|
},
|
2023-01-25 13:02:13 -05: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 12:49:04 -05:00
|
|
|
"postcss": {
|
|
|
|
"plugins": {
|
2023-07-15 05:29:32 -04:00
|
|
|
"postcss-url": {
|
|
|
|
"url": "inline",
|
|
|
|
"optimizeSvgEncode": true
|
|
|
|
},
|
2023-07-18 06:14:17 -04:00
|
|
|
"postcss-lightningcss": {
|
2023-07-18 06:46:50 -04:00
|
|
|
"browsers": "> 0.3%, last 2 versions, Firefox ESR, not dead, not op_mini all"
|
2023-07-18 06:14:17 -04:00
|
|
|
}
|
2023-01-25 12:49:04 -05:00
|
|
|
}
|
|
|
|
},
|
2020-03-25 17:09:35 -04:00
|
|
|
"size-limit": [
|
2020-07-30 06:09:39 -04:00
|
|
|
{
|
2023-07-14 18:25:19 -04:00
|
|
|
"limit": "6 KB",
|
|
|
|
"path": "./dist/shareon.min.css",
|
|
|
|
"brotli": true
|
2020-07-30 06:09:39 -04:00
|
|
|
},
|
2020-03-25 17:09:35 -04:00
|
|
|
{
|
2023-07-14 18:25:19 -04:00
|
|
|
"limit": "1 KB",
|
|
|
|
"path": "./dist/shareon.es.js",
|
|
|
|
"brotli": true
|
2020-03-25 17:09:35 -04:00
|
|
|
}
|
2022-02-11 08:49:03 -05:00
|
|
|
],
|
|
|
|
"publishConfig": {
|
|
|
|
"directory": "package"
|
|
|
|
},
|
|
|
|
"clean-publish": {
|
|
|
|
"withoutPublish": true,
|
2023-01-25 12:49:04 -05:00
|
|
|
"tempDir": "package",
|
|
|
|
"fields": [
|
|
|
|
"postcss"
|
|
|
|
]
|
2022-02-11 08:49:03 -05:00
|
|
|
}
|
2020-03-25 11:32:25 -04:00
|
|
|
}
|