shareon/package.json

81 lines
2.2 KiB
JSON
Raw Permalink Normal View History

2020-03-25 11:32:25 -04:00
{
"name": "shareon",
2021-07-29 11:15:00 -04:00
"version": "2.0.0-0",
2020-06-26 11:04:15 -04:00
"description": "Lightweight, stylish and ethical share buttons for popular social networks",
"license": "BSD-3-Clause",
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",
"url": "git+https://github.com/NickKaramoff/shareon.git"
},
"bugs": {
"url": "https://github.com/NickKaramoff/shareon/issues"
},
2020-06-26 11:04:15 -04:00
"author": {
"name": "Nikita Karamov",
"email": "nick@karamoff.dev",
"url": "https://karamoff.dev"
},
2021-07-29 09:13:33 -04:00
"type": "module",
"main": "shareon.legacy.js",
"module": "shareon.js",
"exports": {
2021-07-29 09:13:33 -04:00
"import": "./shareon.js"
2020-07-23 13:18:19 -04:00
},
2021-07-29 11:15:00 -04:00
"types": "shareon.d.ts",
2020-06-26 11:04:15 -04:00
"files": [
2021-07-29 05:57:59 -04:00
"shareon.css",
"shareon.css.map",
"shareon.js",
"shareon.js.map",
"shareon.legacy.js",
2021-07-29 09:13:33 -04:00
"shareon.legacy.js.map",
"shareon.d.ts"
2020-06-26 11:04:15 -04:00
],
2020-03-25 12:44:11 -04:00
"scripts": {
2021-07-29 05:57:59 -04:00
"build-js": "esbuild lib/shareon.js --format=esm --minify --outfile=shareon.js --sourcemap --target=es6",
"build-legacy-js": "esbuild lib/shareon.js --format=iife --minify --outfile=shareon.legacy.js --sourcemap --target=es6 --global-name=shareon",
"build-css": "postcss lib/shareon.css --map --output shareon.css",
2021-07-29 11:15:00 -04:00
"build-types": "tsc lib/shareon.js --declaration --allowJs --emitDeclarationOnly --outDir .",
2021-07-29 05:57:59 -04:00
"build": "run-p build-*",
"lint": "eslint lib",
2021-01-17 14:37:24 -05:00
"release": "np",
2021-01-16 16:10:33 -05:00
"size": "size-limit",
"test": "yarn lint && yarn build && yarn size",
"postversion": "yarn build"
2020-03-25 12:44:11 -04:00
},
"devDependencies": {
"@size-limit/preset-small-lib": "^5.0.1",
2021-07-29 05:57:59 -04:00
"autoprefixer": "^10.2.6",
"cssnano": "^5.0.7",
"esbuild": "^0.12.15",
2021-01-17 14:36:20 -05:00
"eslint": "^7.18.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"np": "^7.2.0",
2021-07-29 05:57:59 -04:00
"npm-run-all": "^4.1.5",
"postcss": "^8.3.6",
"postcss-calc": "^8.0.0",
"postcss-cli": "^8.3.1",
"postcss-css-variables": "^0.18.0",
2021-07-29 09:13:33 -04:00
"size-limit": "^5.0.1",
"typescript": "^4.3.5"
2020-03-25 17:09:35 -04:00
},
"size-limit": [
2020-07-30 06:09:39 -04:00
{
"limit": "7 KB",
"path": "shareon.css",
2020-07-30 06:09:39 -04:00
"webpack": false
},
2020-03-25 17:09:35 -04:00
{
"limit": "1 KB",
"path": "shareon.js"
2020-03-25 17:09:35 -04:00
}
]
2020-03-25 11:32:25 -04:00
}