80 lines
2.1 KiB
JSON
80 lines
2.1 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.cjs",
|
|
"module": "./dist/shareon.mjs",
|
|
"unpkg": "./dist/shareon.min.js",
|
|
"exports": {
|
|
"require": "./dist/shareon.cjs",
|
|
"import": "./dist/shareon.mjs"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "rollup --config",
|
|
"build:dev": "cross-env NODE_ENV=development rollup --config",
|
|
"dev": "cross-env NODE_ENV=development rollup --config --watch",
|
|
"lint": "prettier --check . && eslint src/*.js",
|
|
"release": "np",
|
|
"size": "size-limit",
|
|
"test": "pnpm run lint && pnpm run build && pnpm run size",
|
|
"postversion": "pnpm run build"
|
|
},
|
|
"devDependencies": {
|
|
"@nickkaramoff/rollup-plugin-consts": "^1.1.0",
|
|
"@rollup/plugin-buble": "^0.21.3",
|
|
"@rollup/plugin-strip": "^2.1.0",
|
|
"@size-limit/preset-small-lib": "^7.0.5",
|
|
"autoprefixer": "^10.4.2",
|
|
"browserslist": "^4.19.1",
|
|
"cross-env": "^7.0.3",
|
|
"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",
|
|
"np": "^7.6.0",
|
|
"postcss": "^8.4.6",
|
|
"postcss-banner": "^4.0.1",
|
|
"postcss-calc": "^8.2.3",
|
|
"postcss-css-variables": "^0.18.0",
|
|
"postcss-mixins": "^9.0.1",
|
|
"prettier": "^2.5.1",
|
|
"rollup": "^2.67.0",
|
|
"rollup-plugin-postcss": "^4.0.2",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"size-limit": "^7.0.5"
|
|
},
|
|
"size-limit": [
|
|
{
|
|
"limit": "7 KB",
|
|
"path": "./dist/shareon.min.css"
|
|
},
|
|
{
|
|
"limit": "1 KB",
|
|
"path": "./dist/shareon.mjs"
|
|
}
|
|
]
|
|
}
|