UNPKG

favoritos

Version:

Favoritos is a JavaScript plugin that adds some HTML5 canvas magic to your favicon. With just a wee bit of code, we can make some really cool effects.

125 lines (124 loc) 4.24 kB
{ "name": "favoritos", "version": "1.1.0", "description": "Favoritos is a JavaScript plugin that adds some HTML5 canvas magic to your favicon. With just a wee bit of code, we can make some really cool effects.", "reveal": true, "sideEffects": false, "keywords": [ "favicon", "favicons", "favicon-badge", "favicon-manager", "favicon-dynamic" ], "main": "./dist/favoritos.cjs.js", "module": "./dist/esm/favoritos.js", "unpkg": "./dist/favoritos.iife.js", "jsdelivr": "./dist/favoritos.iife.js", "typings": "./dist/favoritos.d.ts", "exports": { ".": { "browser": "./dist/esm/favoritos.js", "import": "./dist/esm/favoritos.js", "require": "./dist/favoritos.cjs.js", "default": "./dist/esm/favoritos.js" }, "./": "./", "./package.json": "./package.json" }, "files": [ "dist/*", "src/*" ], "scripts": { "prebuild": "rimraf dist", "build": "run-s prebuild build:all build:dts", "build:all": "cross-env NODE_ENV=production rollup --config config/rollup.config.js", "build:dts": "tsc -d --declarationDir dist --declarationMap --emitDeclarationOnly", "build:cjs": "cross-env NODE_ENV=production rollup --config config/rollup.config.js --format cjs", "build:es": "cross-env NODE_ENV=production rollup --config config/rollup.config.js --format es", "build:esm": "cross-env NODE_ENV=production rollup --config config/rollup.config.js --format esm", "build:iife": "cross-env NODE_ENV=production rollup --config config/rollup.config.js --format iife", "build:size": "run-s prebuild build check-size", "lint": "run-s eslint:write prettier:write", "eslint:write": "eslint --ext .js,.ts {src,test}/* --fix --max-warnings 0", "prettier:write": "prettier --write \"{src,test}/**/*.{js,ts}\"", "test": "jest --config jest.config.js --coverage --silent", "tree-shake": "agadoo", "check-size": "size-limit", "release": "dotenv release-it --verbose", "prepare": "husky install" }, "repository": { "type": "git", "url": "git+https://github.com/webistomin/favoritos.git" }, "author": { "name": "Alexey Istomin", "email": "webistomin@gmail.com", "url": "https://github.com/webistomin" }, "license": "MIT", "engines": { "node": ">=10" }, "bugs": { "url": "https://github.com/webistomin/favoritos/issues" }, "homepage": "https://github.com/webistomin/favoritos#readme", "devDependencies": { "@babel/core": "^7.14.3", "@babel/preset-env": "^7.14.2", "@commitlint/cli": "^12.1.4", "@commitlint/config-angular": "^12.1.4", "@ls-lint/ls-lint": "^1.9.2", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^19.0.0", "@rollup/plugin-inject": "^4.0.2", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.0.0", "@size-limit/preset-small-lib": "^4.10.3", "@types/jest": "^26.0.23", "@types/jsdom": "^16.2.10", "@types/node": "^15.6.0", "@typescript-eslint/eslint-plugin": "^4.24.0", "@typescript-eslint/parser": "^4.24.0", "agadoo": "^2.0.0", "babel-jest": "^26.6.3", "cross-env": "^7.0.3", "dotenv-cli": "^4.0.0", "eslint": "^7.27.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-jest": "^24.3.6", "eslint-plugin-prettier": "^3.4.0", "fast-async": "^6.3.8", "http-server": "^0.12.3", "husky": "^6.0.0", "jest": "^26.6.3", "jest-canvas-mock": "^2.3.1", "jest-fetch-mock": "^3.0.3", "lint-staged": "^11.0.0", "lodash.capitalize": "^4.2.1", "minimist": "^1.2.5", "npm-run-all": "^4.1.5", "prettier": "^2.3.0", "release-it": "^14.6.2", "rimraf": "^3.0.2", "rollup": "^2.48.0", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-banner2": "^1.2.2", "rollup-plugin-json": "^4.0.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.30.0", "scriptlint": "^2.1.4", "size-limit": "^4.10.3", "ts-jest": "^26.5.6", "ts-loader": "^9.2.1", "tslib": "^2.2.0", "typedoc": "^0.20.36", "typescript": "^4.2.4" }, "dependencies": {} }