UNPKG

svgicons2svgfont

Version:

Read a set of SVG icons and output a SVG font

178 lines (177 loc) 4.29 kB
{ "metapak": { "configs": [ "main", "readme", "tsesm", "jest", "eslint", "codeclimate", "ghactions" ], "data": { "files": "'src/**/*.ts'", "testsFiles": "'src/**/*.test.ts'", "distFiles": "'dist/**/*.js'", "ignore": [ "dist", "fixtures/results" ], "bundleFiles": [ "dist", "src", "bin" ] } }, "name": "svgicons2svgfont", "version": "16.0.0", "description": "Read a set of SVG icons and output a SVG font", "homepage": "https://github.com/nfroidure/svgicons2svgfont", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", "scripts": { "build": "rimraf 'dist' && tsc --outDir dist", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", "cli": "env NODE_ENV=${NODE_ENV:-cli}", "commitlint": "commitlint", "cover": "node --run jest -- --coverage", "format": "node --run prettier", "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest", "lint": "eslint 'src/**/*.ts'", "metapak": "metapak", "precommit": "node --run test && node --run lint && node --run metapak -- -s && node --run build", "prettier": "prettier --write 'src/**/*.ts'", "preversion": "node --run build && node --run test && node --run lint && node --run metapak -- -s", "rebuild": "swc ./src -s -d dist -C jsc.target=es2022", "test": "node --run jest", "version": "node --run changelog" }, "repository": { "type": "git", "url": "git://github.com/nfroidure/svgicons2svgfont" }, "keywords": [ "SVG", "icons", "font", "creation", "fonts" ], "engines": { "node": ">=24.14.0" }, "dependencies": { "@types/sax": "^1.2.7", "commander": "^14.0.0", "debug": "^4.3.6", "glob": "^13.0.6", "sax": "^1.6.0", "svg-pathdata": "^9.0.0", "transformation-matrix": "^3.1.0", "yerror": "^9.0.0" }, "devDependencies": { "@commitlint/cli": "^20.5.0", "@commitlint/config-conventional": "^20.5.0", "@eslint/js": "^10.0.1", "@swc/cli": "^0.8.0", "@swc/core": "^1.15.21", "@swc/jest": "^0.2.39", "@types/debug": "^4.1.13", "bufferstreams": "^5.0.0", "conventional-changelog": "^7.2.0", "eslint": "^10.1.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jest": "^29.15.1", "eslint-plugin-prettier": "^5.5.5", "jest": "^30.3.0", "metapak": "^7.0.0", "metapak-nfroidure": "^22.0.1", "prettier": "^3.8.1", "rimraf": "^6.1.3", "streamtest": "^4.0.0", "typescript": "^6.0.2", "typescript-eslint": "^8.57.2" }, "author": { "name": "Nicolas Froidure", "email": "nicolas.froidure@insertafter.com", "url": "http://insertafter.com/en/index.html" }, "contributors": [ { "name": "Adrian Leonhard", "email": "adrianleonhard@gmail.com", "url": "https://github.com/NaridaL" }, { "name": "Vinicius Teixeira", "email": "vinicius0026@gmail.com", "url": "https://github.com/vinicius0026" } ], "license": "MIT", "bugs": { "url": "https://github.com/nfroidure/svgicons2svgfont/issues" }, "bin": { "svgicons2svgfont": "bin/svgicons2svgfont.js" }, "files": [ "dist", "src", "bin", "LICENSE", "README.md", "CHANGELOG.md" ], "config": {}, "jest": { "coverageReporters": [ "lcov" ], "testPathIgnorePatterns": [ "/node_modules/" ], "roots": [ "<rootDir>/src" ], "transform": { "^.+\\.tsx?$": [ "@swc/jest", {} ] }, "testEnvironment": "node", "moduleNameMapper": { "(.+)\\.js": "$1" }, "extensionsToTreatAsEsm": [ ".ts" ] }, "prettier": { "semi": true, "printWidth": 80, "singleQuote": true, "trailingComma": "all", "proseWrap": "always" }, "funding": { "type": "individual", "url": "https://github.com/sponsors/nfroidure" }, "overrides": { "typescript-eslint": { "typescript": "^6" }, "@typescript-eslint/eslint-plugin": { "typescript": "^6" }, "@typescript-eslint/parser": { "typescript": "^6" } } }