2020-03-25 11:32:25 -04:00
|
|
|
{
|
|
|
|
"name": "shareon",
|
2021-06-29 14:50:50 -04:00
|
|
|
"version": "1.6.2",
|
2020-06-26 11:04:15 -04:00
|
|
|
"description": "Lightweight, stylish and ethical share buttons for popular social networks",
|
2021-07-08 17:42:43 -04:00
|
|
|
"license": "BSD-3-Clause",
|
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",
|
|
|
|
"url": "git+https://github.com/NickKaramoff/shareon.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/NickKaramoff/shareon/issues"
|
|
|
|
},
|
2020-06-26 11:04:15 -04:00
|
|
|
"author": {
|
|
|
|
"name": "Nikita Karamov",
|
|
|
|
"email": "nick@karamoff.dev",
|
|
|
|
"url": "https://karamoff.dev"
|
|
|
|
},
|
2020-07-26 08:17:16 -04:00
|
|
|
"main": "./dist/shareon.cjs",
|
|
|
|
"module": "./dist/shareon.mjs",
|
|
|
|
"unpkg": "./dist/shareon.min.js",
|
2020-03-25 17:10:07 -04:00
|
|
|
"exports": {
|
2020-07-26 08:17:16 -04:00
|
|
|
"require": "./dist/shareon.cjs",
|
|
|
|
"import": "./dist/shareon.mjs"
|
2020-07-23 13:18:19 -04:00
|
|
|
},
|
2020-06-26 11:04:15 -04:00
|
|
|
"files": [
|
2021-07-29 05:57:59 -04:00
|
|
|
"shareon.css",
|
|
|
|
"shareon.css.map",
|
|
|
|
"shareon.js",
|
|
|
|
"shareon.js.map",
|
|
|
|
"shareon.legacy.js",
|
|
|
|
"shareon.legacy.js.map"
|
2020-06-26 11:04:15 -04:00
|
|
|
],
|
2020-03-25 12:44:11 -04:00
|
|
|
"scripts": {
|
2021-07-29 05:57:59 -04:00
|
|
|
"build-js": "esbuild lib/shareon.js --format=esm --minify --outfile=shareon.js --sourcemap --target=es6",
|
|
|
|
"build-legacy-js": "esbuild lib/shareon.js --format=iife --minify --outfile=shareon.legacy.js --sourcemap --target=es6 --global-name=shareon",
|
|
|
|
"build-css": "postcss lib/shareon.css --map --output shareon.css",
|
|
|
|
"build": "run-p build-*",
|
|
|
|
"lint": "eslint lib",
|
2021-01-17 14:37:24 -05:00
|
|
|
"release": "np",
|
2021-01-16 16:10:33 -05:00
|
|
|
"size": "size-limit",
|
|
|
|
"test": "yarn lint && yarn build && yarn size",
|
|
|
|
"postversion": "yarn build"
|
2020-03-25 12:44:11 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-06-29 14:39:51 -04:00
|
|
|
"@size-limit/preset-small-lib": "^5.0.1",
|
2021-07-29 05:57:59 -04:00
|
|
|
"autoprefixer": "^10.2.6",
|
|
|
|
"cssnano": "^5.0.7",
|
2021-07-08 18:14:35 -04:00
|
|
|
"esbuild": "^0.12.15",
|
2021-01-17 14:36:20 -05:00
|
|
|
"eslint": "^7.18.0",
|
|
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
|
|
"eslint-plugin-import": "^2.22.1",
|
|
|
|
"np": "^7.2.0",
|
2021-07-29 05:57:59 -04:00
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"postcss": "^8.3.6",
|
|
|
|
"postcss-calc": "^8.0.0",
|
|
|
|
"postcss-cli": "^8.3.1",
|
|
|
|
"postcss-css-variables": "^0.18.0",
|
2021-06-29 14:39:51 -04:00
|
|
|
"size-limit": "^5.0.1"
|
2020-03-25 17:09:35 -04:00
|
|
|
},
|
|
|
|
"size-limit": [
|
2020-07-30 06:09:39 -04:00
|
|
|
{
|
|
|
|
"limit": "7 KB",
|
2021-07-08 18:14:35 -04:00
|
|
|
"path": "shareon.css",
|
2020-07-30 06:09:39 -04:00
|
|
|
"webpack": false
|
|
|
|
},
|
2020-03-25 17:09:35 -04:00
|
|
|
{
|
|
|
|
"limit": "1 KB",
|
2021-07-08 18:14:35 -04:00
|
|
|
"path": "shareon.js"
|
2020-03-25 17:09:35 -04:00
|
|
|
}
|
2021-07-08 18:14:35 -04:00
|
|
|
]
|
2020-03-25 11:32:25 -04:00
|
|
|
}
|