shareon/package.json

81 lines
2.0 KiB
JSON

{
"name": "shareon",
"version": "1.0.0-beta.2",
"homepage": "https://os.karamoff.dev/shareon",
"repository": {
"type": "git",
"url": "git+https://github.com/NickKaramoff/shareon.git"
},
"bugs": {
"url": "https://github.com/NickKaramoff/shareon/issues"
},
"license": "MIT",
"author": "Nikita Karamov <nick@karamoff.dev>",
"description": "Lightweight, stylish and ethical share buttons for popular social networks",
"keywords": [
"share buttons",
"sharing",
"social networks"
],
"files": [
"dist",
"LICENSE",
"README.md"
],
"main": "./dist/shareon.cjs",
"module": "./dist/shareon.mjs",
"exports": {
"require": "./dist/shareon.cjs",
"import": "./dist/shareon.mjs"
},
"unpkg": "./dist/shareon.min.js",
"scripts": {
"build": "rollup -c ./rollup/rollup.config.prod.js",
"dev": "rollup -w -c ./rollup/rollup.config.dev.js",
"pretest": "run-p build",
"test:lint": "eslint-ci --ext .js,.ts ./src/",
"test:size": "size-limit",
"test": "run-p test:*"
},
"dependencies": {},
"devDependencies": {
"@rollup/plugin-strip": "^1.3.2",
"@rollup/plugin-typescript": "^4.0.0",
"@size-limit/preset-small-lib": "^4.4.1",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"cssnano": "^4.1.10",
"eslint": "^6.8.0",
"eslint-ci": "^1.0.0",
"eslint-config-airbnb-typescript": "^7.2.0",
"eslint-plugin-import": "^2.20.1",
"node-sass": "^4.13.1",
"np": "^6.2.0",
"npm-run-all": "^4.1.5",
"rollup": "^1.32.1",
"rollup-plugin-banner": "^0.2.1",
"rollup-plugin-postcss": "^2.5.0",
"rollup-plugin-terser": "^5.3.0",
"size-limit": "^4.4.1",
"typescript": "^3.8.3"
},
"size-limit": [
{
"limit": "1 KB",
"path": "./dist/shareon.min.js",
"webpack": false
},
{
"limit": "1 KB",
"path": [
"./dist/shareon.cjs",
"./dist/shareon.mjs"
]
},
{
"limit": "2 KB",
"path": "./dist/shareon.css",
"webpack": false
}
]
}