191 lines
4.4 KiB
JSON
191 lines
4.4 KiB
JSON
{
|
|
"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": "15.0.1",
|
|
"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}",
|
|
"cover": "npm run jest -- --coverage",
|
|
"cz": "env NODE_ENV=${NODE_ENV:-cli} git cz",
|
|
"format": "npm run prettier",
|
|
"jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
|
|
"lint": "eslint 'src/**/*.ts'",
|
|
"metapak": "metapak",
|
|
"precz": "npm run build && npm t && npm run lint && npm run metapak -- -s",
|
|
"prettier": "prettier --write 'src/**/*.ts'",
|
|
"preversion": "npm run build && npm t && npm run lint && npm run metapak -- -s",
|
|
"rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
|
|
"test": "npm run jest",
|
|
"type-check": "tsc --pretty --noEmit",
|
|
"version": "npm run changelog"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/nfroidure/svgicons2svgfont"
|
|
},
|
|
"keywords": [
|
|
"SVG",
|
|
"icons",
|
|
"font",
|
|
"creation",
|
|
"fonts"
|
|
],
|
|
"engines": {
|
|
"node": ">=20.11.1"
|
|
},
|
|
"dependencies": {
|
|
"@types/sax": "^1.2.7",
|
|
"commander": "^12.1.0",
|
|
"debug": "^4.3.6",
|
|
"glob": "^11.0.0",
|
|
"sax": "^1.4.1",
|
|
"svg-pathdata": "^7.0.0",
|
|
"transformation-matrix": "^3.0.0",
|
|
"yerror": "^8.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.7.0",
|
|
"@swc/cli": "^0.4.0",
|
|
"@swc/core": "^1.6.13",
|
|
"@swc/helpers": "^0.5.12",
|
|
"@swc/jest": "^0.2.36",
|
|
"bufferstreams": "^4.0.0",
|
|
"commitizen": "^4.3.0",
|
|
"conventional-changelog-cli": "^5.0.0",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"eslint": "^9.7.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-jest": "^28.6.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"jest": "^29.7.0",
|
|
"metapak": "^6.0.1",
|
|
"metapak-nfroidure": "^18.2.0",
|
|
"prettier": "^3.3.3",
|
|
"rimraf": "^6.0.1",
|
|
"streamtest": "^3.0.1",
|
|
"typescript": "^5.5.3",
|
|
"typescript-eslint": "^7.16.0"
|
|
},
|
|
"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": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"greenkeeper": {
|
|
"ignore": [
|
|
"commitizen",
|
|
"cz-conventional-changelog",
|
|
"conventional-changelog-cli",
|
|
"typescript",
|
|
"rimraf",
|
|
"@swc/cli",
|
|
"@swc/core",
|
|
"@swc/helpers",
|
|
"jest",
|
|
"@swc/jest",
|
|
"eslint",
|
|
"prettier",
|
|
"eslint-config-prettier",
|
|
"eslint-plugin-prettier",
|
|
"typescript-eslint"
|
|
]
|
|
},
|
|
"jest": {
|
|
"coverageReporters": [
|
|
"lcov"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/"
|
|
],
|
|
"roots": [
|
|
"<rootDir>/src"
|
|
],
|
|
"transform": {
|
|
"^.+\\.tsx?$": [
|
|
"@swc/jest",
|
|
{}
|
|
]
|
|
},
|
|
"testEnvironment": "node",
|
|
"moduleNameMapper": {
|
|
"(.+)\\.js": "$1"
|
|
},
|
|
"extensionsToTreatAsEsm": [
|
|
".ts"
|
|
],
|
|
"prettierPath": null
|
|
},
|
|
"prettier": {
|
|
"semi": true,
|
|
"printWidth": 80,
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"proseWrap": "always"
|
|
},
|
|
"overrides": {
|
|
"eslint": "^9.7.0"
|
|
}
|
|
}
|