shareon/package.json

75 lines
1.9 KiB
JSON

{
"name": "shareon",
"version": "2.0.0-beta.0",
"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/kytta/shareon.git"
},
"bugs": {
"url": "https://github.com/kytta/shareon/issues"
},
"author": {
"name": "Nikita Karamov",
"email": "me@kytta.dev",
"url": "https://www.kytta.dev"
},
"main": "./dist/shareon.umd.js",
"unpkg": "./dist/shareon.iife.js",
"jsdelivr": "./dist/shareon.iife.js",
"module": "./dist/shareon.es.js",
"exports": {
".": {
"import": "./dist/shareon.es.js",
"require": "./dist/shareon.umd.js"
}
},
"files": [
"dist"
],
"scripts": {
"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",
"lint": "prettier --check . && eslint src/*.js",
"size": "size-limit",
"test": "pnpm run lint && pnpm run build && pnpm run size",
"postversion": "pnpm run build"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.5",
"autoprefixer": "^10.4.2",
"cssnano": "^5.0.16",
"eslint": "^8.8.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"postcss": "^8.4.6",
"postcss-banner": "^4.0.1",
"postcss-calc": "^8.2.3",
"postcss-cli": "^9.1.0",
"postcss-css-variables": "^0.18.0",
"prettier": "^2.5.1",
"size-limit": "^7.0.5",
"vite": "^2.8.0"
},
"size-limit": [
{
"limit": "7 KB",
"path": "./dist/shareon.min.css"
},
{
"limit": "1 KB",
"path": "./dist/shareon.es.js"
}
]
}