UNPKG

favicons

Version:
106 lines (105 loc) 2.72 kB
{ "name": "favicons", "version": "7.3.0", "description": "Favicon generator for Node.js", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.mts", "exports": { ".": { "types": "./dist/index.d.mts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "files": [ "dist/" ], "repository": { "type": "git", "url": "git+https://github.com/itgalaxy/favicons.git" }, "scripts": { "fmt": "prettier --write .", "fmt-check": "prettier --check .", "lint": "eslint src test", "fix": "npm run lint -- --fix && npm run fmt", "typecheck": "tsc", "pretest": "npm run lint && npm run fmt-check", "test-import": "node ./test-packages/test-mjs/index.js", "test-require": "node ./test-packages/test-cjs/index.js", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest", "test-all": "npm test && npm run test-import && npm run test-require", "clean": "rimraf dist/", "prebuild": "npm run clean", "build": "tsdown", "prepublishOnly": "npm run build && npm run test-all" }, "keywords": [ "favicon", "ico", "generator", "node", "realfavicongenerator" ], "author": "Hayden Bleasel <haydenbleasel@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/itgalaxy/favicons/issues" }, "homepage": "https://github.com/itgalaxy/favicons", "engines": { "node": ">=20.0.0" }, "dependencies": { "escape-html": "^1.0.3", "sharp": "^0.34.1", "xml2js": "^0.6.1" }, "devDependencies": { "@babel/core": "^7.19.6", "@babel/preset-env": "^7.19.4", "@babel/preset-typescript": "^7.18.6", "@eslint/js": "^10.0.1", "@types/escape-html": "^1.0.2", "@types/xml2js": "^0.4.11", "cross-env": "^10.1.0", "eslint": "^10.4.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-jest": "^29.11.2", "eslint-plugin-prettier": "^5.0.0", "globals": "^17.6.0", "icojs": "^1.0.0", "jest": "^30.4.2", "jest-image-snapshot": "^6.1.0", "prettier": "^3.0.0", "rimraf": "^6.0.1", "tsdown": "^0.22.0", "typescript": "^6.0.3", "typescript-eslint": "^8.32.0", "unrun": "^0.3.0" }, "jest": { "testTimeout": 180000, "testMatch": [ "<rootDir>/test/**/*.test.mjs" ], "extensionsToTreatAsEsm": [ ".ts" ], "setupFilesAfterEnv": [ "<rootDir>/test/setup.mjs" ], "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.ts", "src/**/*.js" ], "coverageDirectory": "<rootDir>/coverage", "coverageReporters": [ "text-summary", "html" ] } }