2020-03-25 11:32:25 -04:00
|
|
|
{
|
|
|
|
"name": "shareon",
|
2022-02-10 14:53:25 -05:00
|
|
|
"version": "2.0.0-beta.0",
|
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",
|
2022-02-02 09:02:32 -05:00
|
|
|
"url": "git+https://github.com/kytta/shareon.git"
|
2020-03-25 11:48:11 -04:00
|
|
|
},
|
|
|
|
"bugs": {
|
2022-02-02 09:02:32 -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",
|
|
|
|
"url": "https://www.kytta.dev"
|
2020-06-26 11:04:15 -04:00
|
|
|
},
|
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": [
|
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": {
|
2022-02-10 15:44:53 -05:00
|
|
|
"build": "pnpm run build:js && pnpm run build:css",
|
|
|
|
"build:js": "vite build",
|
|
|
|
"build:css": "postcss src/shareon.css -o dist/shareon.min.css --map",
|
|
|
|
"dev": "vite",
|
2022-02-08 12:52:13 -05:00
|
|
|
"lint": "prettier --check . && eslint src/*.js",
|
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",
|
|
|
|
"postversion": "pnpm run build"
|
2020-03-25 12:44:11 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-09-18 13:40:26 -04:00
|
|
|
"@rollup/plugin-buble": "^0.21.3",
|
2022-02-02 09:08:38 -05:00
|
|
|
"@rollup/plugin-strip": "^2.1.0",
|
|
|
|
"@size-limit/preset-small-lib": "^7.0.5",
|
|
|
|
"autoprefixer": "^10.4.2",
|
|
|
|
"browserslist": "^4.19.1",
|
2021-01-17 14:36:20 -05:00
|
|
|
"cross-env": "^7.0.3",
|
2022-02-02 09:08:38 -05:00
|
|
|
"cssnano": "^5.0.16",
|
|
|
|
"eslint": "^8.8.0",
|
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2022-02-08 12:52:13 -05:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2022-02-02 09:08:38 -05:00
|
|
|
"eslint-plugin-import": "^2.25.4",
|
|
|
|
"postcss": "^8.4.6",
|
2021-06-29 14:39:51 -04:00
|
|
|
"postcss-banner": "^4.0.1",
|
2022-02-02 09:08:38 -05:00
|
|
|
"postcss-calc": "^8.2.3",
|
2022-02-10 15:44:53 -05:00
|
|
|
"postcss-cli": "^9.1.0",
|
2021-06-29 14:39:51 -04:00
|
|
|
"postcss-css-variables": "^0.18.0",
|
2022-02-08 12:52:13 -05:00
|
|
|
"prettier": "^2.5.1",
|
2022-02-02 09:08:38 -05:00
|
|
|
"rollup": "^2.67.0",
|
|
|
|
"rollup-plugin-postcss": "^4.0.2",
|
2021-01-17 03:50:47 -05:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2022-02-10 15:26:11 -05:00
|
|
|
"size-limit": "^7.0.5",
|
|
|
|
"vite": "^2.8.0"
|
2020-03-25 17:09:35 -04:00
|
|
|
},
|
|
|
|
"size-limit": [
|
2020-07-30 06:09:39 -04:00
|
|
|
{
|
|
|
|
"limit": "7 KB",
|
2022-02-02 09:08:38 -05:00
|
|
|
"path": "./dist/shareon.min.css"
|
2020-07-30 06:09:39 -04:00
|
|
|
},
|
2020-03-25 17:09:35 -04:00
|
|
|
{
|
|
|
|
"limit": "1 KB",
|
2022-02-02 09:08:38 -05:00
|
|
|
"path": "./dist/shareon.mjs"
|
2020-03-25 17:09:35 -04:00
|
|
|
}
|
2022-02-02 09:08:38 -05:00
|
|
|
]
|
2020-03-25 11:32:25 -04:00
|
|
|
}
|