shareon/package.json

89 lines
2.1 KiB
JSON

{
"name": "shareon",
"version": "1.4.1",
"description": "Lightweight, stylish and ethical share buttons for popular social networks",
"license": "MIT",
"homepage": "https://shareon.js.org",
"keywords": [
"share buttons",
"sharing",
"social networks"
],
"repository": {
"type": "git",
"url": "git+https://github.com/NickKaramoff/shareon.git"
},
"bugs": {
"url": "https://github.com/NickKaramoff/shareon/issues"
},
"author": {
"name": "Nikita Karamov",
"email": "nick@karamoff.dev",
"url": "https://karamoff.dev"
},
"main": "./dist/shareon.cjs",
"module": "./dist/shareon.mjs",
"unpkg": "./dist/shareon.min.js",
"exports": {
"require": "./dist/shareon.cjs",
"import": "./dist/shareon.mjs"
},
"files": [
"dist"
],
"scripts": {
"build": "rollup -c",
"dev": "rollup -w -c",
"pretest": "run-s build",
"test:lint": "eslint --ext .js,.ts ./src/",
"test:size": "size-limit",
"test": "run-p test:*",
"postversion": "run-s build"
},
"devDependencies": {
"@nickkaramoff/rollup-plugin-consts": "^1.1.0",
"@rollup/plugin-strip": "^2.0.0",
"@rollup/plugin-typescript": "^5.0.2",
"@size-limit/preset-small-lib": "^4.5.5",
"cssnano": "^4.1.10",
"eslint": "^7.5.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.0",
"np": "^6.3.2",
"npm-run-all": "^4.1.5",
"postcss-banner": "^3.0.2",
"postcss-calc": "^7.0.2",
"postcss-css-variables": "^0.17.0",
"postcss-mixins": "^6.2.3",
"rollup": "^2.23.0",
"rollup-plugin-license": "^2.1.0",
"rollup-plugin-postcss": "^3.1.3",
"rollup-plugin-terser": "^6.1.0",
"size-limit": "^4.5.5"
},
"size-limit": [
{
"limit": "7 KB",
"path": "./dist/shareon.min.css",
"webpack": false
},
{
"limit": "1 KB",
"path": "./dist/shareon.min.js",
"webpack": false
},
{
"limit": "1 KB",
"path": [
"./dist/shareon.cjs"
]
},
{
"limit": "1 KB",
"path": [
"./dist/shareon.mjs"
]
}
]
}