2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-17 18:15:09 +00:00
iconify/packages/utils/package.json

397 lines
12 KiB
JSON
Raw Normal View History

{
"name": "@iconify/utils",
2022-03-04 11:00:20 +00:00
"type": "module",
"description": "Common functions for working with Iconify icon sets used by various packages.",
"author": "Vjacheslav Trushkin",
"version": "2.0.5",
"license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://iconify.design/",
"repository": {
"type": "git",
"url": "https://github.com/iconify/iconify.git",
"directory": "packages/utils"
},
"scripts": {
2022-03-16 08:58:02 +00:00
"clean": "rimraf lib tsconfig.tsbuildinfo",
2022-03-14 14:39:40 +00:00
"lint": "eslint --fix src/**/*.ts",
2022-06-19 19:40:13 +00:00
"prebuild": "pnpm run lint && pnpm run clean",
2022-03-14 15:17:29 +00:00
"build": "unbuild",
"test:cjs": "vitest --config vitest.config.cjs",
"test:esm": "vitest --config vitest.config.mjs",
"test": "pnpm run test:cjs && pnpm run test:esm"
2022-03-04 11:00:20 +00:00
},
"sideEffects": false,
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
"exports": {
2021-11-25 08:50:09 +00:00
".": {
2022-03-02 20:11:50 +00:00
"require": "./lib/index.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts"
2021-11-13 19:25:38 +00:00
},
2022-03-04 11:00:20 +00:00
"./*": "./*",
"./lib/colors": {
2022-03-02 20:11:50 +00:00
"require": "./lib/colors/index.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/colors/index.mjs",
"types": "./lib/colors/index.d.ts"
},
"./lib/colors/index": {
2022-03-02 20:11:50 +00:00
"require": "./lib/colors/index.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/colors/index.mjs",
"types": "./lib/colors/index.d.ts"
},
"./lib/colors/keywords": {
2022-03-02 20:11:50 +00:00
"require": "./lib/colors/keywords.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/colors/keywords.mjs",
"types": "./lib/colors/keywords.d.ts"
},
"./lib/colors/types": {
2022-03-02 20:11:50 +00:00
"require": "./lib/colors/types.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/colors/types.mjs",
"types": "./lib/colors/types.d.ts"
},
2022-11-26 11:24:42 +00:00
"./lib/css/common": {
"require": "./lib/css/common.cjs",
"import": "./lib/css/common.mjs",
"types": "./lib/css/common.d.ts"
},
"./lib/css/format": {
"require": "./lib/css/format.cjs",
"import": "./lib/css/format.mjs",
"types": "./lib/css/format.d.ts"
},
"./lib/css/icon": {
"require": "./lib/css/icon.cjs",
"import": "./lib/css/icon.mjs",
"types": "./lib/css/icon.d.ts"
},
"./lib/css/icons": {
"require": "./lib/css/icons.cjs",
"import": "./lib/css/icons.mjs",
"types": "./lib/css/icons.d.ts"
},
"./lib/css/types": {
"require": "./lib/css/types.cjs",
"import": "./lib/css/types.mjs",
"types": "./lib/css/types.d.ts"
},
"./lib/customisations/bool": {
2022-03-02 20:11:50 +00:00
"require": "./lib/customisations/bool.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/customisations/bool.mjs",
"types": "./lib/customisations/bool.d.ts"
},
"./lib/customisations/defaults": {
"require": "./lib/customisations/defaults.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/customisations/defaults.mjs",
"types": "./lib/customisations/defaults.d.ts"
},
2022-04-30 20:12:34 +00:00
"./lib/customisations/flip": {
"require": "./lib/customisations/flip.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/customisations/flip.mjs",
"types": "./lib/customisations/flip.d.ts"
2022-04-30 20:12:34 +00:00
},
"./lib/customisations/merge": {
"require": "./lib/customisations/merge.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/customisations/merge.mjs",
"types": "./lib/customisations/merge.d.ts"
},
"./lib/customisations/rotate": {
2022-03-02 20:11:50 +00:00
"require": "./lib/customisations/rotate.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/customisations/rotate.mjs",
"types": "./lib/customisations/rotate.d.ts"
},
"./lib/emoji/regex/base": {
"require": "./lib/emoji/regex/base.cjs",
"import": "./lib/emoji/regex/base.mjs",
"types": "./lib/emoji/regex/base.d.ts"
},
"./lib/emoji/regex/create": {
"require": "./lib/emoji/regex/create.cjs",
"import": "./lib/emoji/regex/create.mjs",
"types": "./lib/emoji/regex/create.d.ts"
},
"./lib/emoji/regex/numbers": {
"require": "./lib/emoji/regex/numbers.cjs",
"import": "./lib/emoji/regex/numbers.mjs",
"types": "./lib/emoji/regex/numbers.d.ts"
},
"./lib/emoji/regex/similar": {
"require": "./lib/emoji/regex/similar.cjs",
"import": "./lib/emoji/regex/similar.mjs",
"types": "./lib/emoji/regex/similar.d.ts"
},
"./lib/emoji/regex/tree": {
"require": "./lib/emoji/regex/tree.cjs",
"import": "./lib/emoji/regex/tree.mjs",
"types": "./lib/emoji/regex/tree.d.ts"
},
"./lib/emoji/replace/find": {
"require": "./lib/emoji/replace/find.cjs",
"import": "./lib/emoji/replace/find.mjs",
"types": "./lib/emoji/replace/find.d.ts"
},
"./lib/emoji/replace/replace": {
"require": "./lib/emoji/replace/replace.cjs",
"import": "./lib/emoji/replace/replace.mjs",
"types": "./lib/emoji/replace/replace.d.ts"
},
"./lib/emoji/test/components": {
"require": "./lib/emoji/test/components.cjs",
"import": "./lib/emoji/test/components.mjs",
"types": "./lib/emoji/test/components.d.ts"
},
"./lib/emoji/test/missing": {
"require": "./lib/emoji/test/missing.cjs",
"import": "./lib/emoji/test/missing.mjs",
"types": "./lib/emoji/test/missing.d.ts"
},
"./lib/emoji/test/name": {
"require": "./lib/emoji/test/name.cjs",
"import": "./lib/emoji/test/name.mjs",
"types": "./lib/emoji/test/name.d.ts"
},
"./lib/emoji/test/parse": {
"require": "./lib/emoji/test/parse.cjs",
"import": "./lib/emoji/test/parse.mjs",
"types": "./lib/emoji/test/parse.d.ts"
},
"./lib/emoji/test/tree": {
"require": "./lib/emoji/test/tree.cjs",
"import": "./lib/emoji/test/tree.mjs",
"types": "./lib/emoji/test/tree.d.ts"
},
"./lib/emoji/test/similar": {
"require": "./lib/emoji/test/similar.cjs",
"import": "./lib/emoji/test/similar.mjs",
"types": "./lib/emoji/test/similar.d.ts"
},
"./lib/emoji/test/variations": {
"require": "./lib/emoji/test/variations.cjs",
"import": "./lib/emoji/test/variations.mjs",
"types": "./lib/emoji/test/variations.d.ts"
},
"./lib/emoji/cleanup": {
"require": "./lib/emoji/cleanup.cjs",
"import": "./lib/emoji/cleanup.mjs",
"types": "./lib/emoji/cleanup.d.ts"
},
"./lib/emoji/convert": {
"require": "./lib/emoji/convert.cjs",
"import": "./lib/emoji/convert.mjs",
"types": "./lib/emoji/convert.d.ts"
},
"./lib/emoji/data": {
"require": "./lib/emoji/data.cjs",
"import": "./lib/emoji/data.mjs",
"types": "./lib/emoji/data.d.ts"
},
"./lib/emoji/format": {
"require": "./lib/emoji/format.cjs",
"import": "./lib/emoji/format.mjs",
"types": "./lib/emoji/format.d.ts"
},
"./lib/emoji/parse": {
"require": "./lib/emoji/parse.cjs",
"import": "./lib/emoji/parse.mjs",
"types": "./lib/emoji/parse.d.ts"
},
"./lib/icon-set/convert-info": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/convert-info.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon-set/convert-info.mjs",
"types": "./lib/icon-set/convert-info.d.ts"
},
"./lib/icon-set/expand": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/expand.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon-set/expand.mjs",
"types": "./lib/icon-set/expand.d.ts"
},
"./lib/icon-set/get-icon": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/get-icon.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon-set/get-icon.mjs",
"types": "./lib/icon-set/get-icon.d.ts"
},
"./lib/icon-set/get-icons": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/get-icons.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon-set/get-icons.mjs",
"types": "./lib/icon-set/get-icons.d.ts"
},
"./lib/icon-set/minify": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/minify.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon-set/minify.mjs",
"types": "./lib/icon-set/minify.d.ts"
},
"./lib/icon-set/parse": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/parse.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon-set/parse.mjs",
"types": "./lib/icon-set/parse.d.ts"
},
"./lib/icon-set/tree": {
"require": "./lib/icon-set/tree.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon-set/tree.mjs",
"types": "./lib/icon-set/tree.d.ts"
},
"./lib/icon-set/validate": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/validate.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon-set/validate.mjs",
"types": "./lib/icon-set/validate.d.ts"
},
"./lib/icon-set/validate-basic": {
"require": "./lib/icon-set/validate-basic.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon-set/validate-basic.mjs",
"types": "./lib/icon-set/validate-basic.d.ts"
},
"./lib/icon/defaults": {
"require": "./lib/icon/defaults.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon/defaults.mjs",
"types": "./lib/icon/defaults.d.ts"
},
"./lib/icon/merge": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon/merge.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon/merge.mjs",
"types": "./lib/icon/merge.d.ts"
},
"./lib/icon/name": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon/name.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon/name.mjs",
"types": "./lib/icon/name.d.ts"
},
"./lib/icon/transformations": {
"require": "./lib/icon/transformations.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/icon/transformations.mjs",
"types": "./lib/icon/transformations.d.ts"
},
2021-11-13 19:25:38 +00:00
"./lib": {
2022-03-02 20:11:50 +00:00
"require": "./lib/index.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts"
2021-11-13 19:25:38 +00:00
},
"./lib/index": {
2022-03-02 20:11:50 +00:00
"require": "./lib/index.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts"
2021-11-13 19:25:38 +00:00
},
"./lib/loader/custom": {
2022-03-02 20:11:50 +00:00
"require": "./lib/loader/custom.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/loader/custom.mjs",
"types": "./lib/loader/custom.d.ts"
},
2022-03-02 20:11:50 +00:00
"./lib/loader/fs": {
"require": "./lib/loader/fs.cjs",
"import": "./lib/loader/fs.mjs",
"types": "./lib/loader/fs.d.ts"
},
"./lib/loader/install-pkg": {
"require": "./lib/loader/install-pkg.cjs",
"import": "./lib/loader/install-pkg.mjs",
"types": "./lib/loader/install-pkg.d.ts"
},
"./lib/loader/loader": {
2022-03-02 20:11:50 +00:00
"require": "./lib/loader/loader.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/loader/loader.mjs",
"types": "./lib/loader/loader.d.ts"
},
2022-01-10 16:08:40 +00:00
"./lib/loader/modern": {
2022-03-02 20:11:50 +00:00
"require": "./lib/loader/modern.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/loader/modern.mjs",
"types": "./lib/loader/modern.d.ts"
2022-01-10 16:08:40 +00:00
},
"./lib/loader/node-loader": {
"require": "./lib/loader/node-loader.cjs",
"import": "./lib/loader/node-loader.mjs",
"types": "./lib/loader/node-loader.d.ts"
},
"./lib/loader/node-loaders": {
"require": "./lib/loader/node-loaders.cjs",
"import": "./lib/loader/node-loaders.mjs",
"types": "./lib/loader/node-loaders.d.ts"
},
"./lib/loader/types": {
2022-03-02 20:11:50 +00:00
"require": "./lib/loader/types.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/loader/types.mjs",
"types": "./lib/loader/types.d.ts"
},
"./lib/loader/utils": {
2022-03-02 20:11:50 +00:00
"require": "./lib/loader/utils.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/loader/utils.mjs",
"types": "./lib/loader/utils.d.ts"
},
"./lib/loader/warn": {
"require": "./lib/loader/warn.cjs",
"import": "./lib/loader/warn.mjs",
"types": "./lib/loader/warn.d.ts"
},
"./lib/misc/strings": {
2022-03-02 20:11:50 +00:00
"require": "./lib/misc/strings.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/misc/strings.mjs",
"types": "./lib/misc/strings.d.ts"
},
"./lib/misc/objects": {
"require": "./lib/misc/objects.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/misc/objects.mjs",
"types": "./lib/misc/objects.d.ts"
},
"./lib/svg/build": {
2022-03-02 20:11:50 +00:00
"require": "./lib/svg/build.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/svg/build.mjs",
"types": "./lib/svg/build.d.ts"
},
"./lib/svg/encode-svg-for-css": {
2022-03-02 20:11:50 +00:00
"require": "./lib/svg/encode-svg-for-css.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/svg/encode-svg-for-css.mjs",
"types": "./lib/svg/encode-svg-for-css.d.ts"
},
"./lib/svg/html": {
"require": "./lib/svg/html.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/svg/html.mjs",
"types": "./lib/svg/html.d.ts"
},
"./lib/svg/id": {
2022-03-02 20:11:50 +00:00
"require": "./lib/svg/id.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/svg/id.mjs",
"types": "./lib/svg/id.d.ts"
},
"./lib/svg/size": {
2022-03-02 20:11:50 +00:00
"require": "./lib/svg/size.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/svg/size.mjs",
"types": "./lib/svg/size.d.ts"
2022-03-21 16:54:25 +00:00
},
"./lib/svg/trim": {
"require": "./lib/svg/trim.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/svg/trim.mjs",
"types": "./lib/svg/trim.d.ts"
},
"./lib/svg/url": {
"require": "./lib/svg/url.cjs",
2022-11-17 11:57:47 +00:00
"import": "./lib/svg/url.mjs",
"types": "./lib/svg/url.d.ts"
}
},
"files": [
"lib",
2022-03-04 11:00:20 +00:00
"*.d.ts"
],
"dependencies": {
2022-12-10 08:19:14 +00:00
"@antfu/install-pkg": "^0.1.1",
2022-12-25 22:32:45 +00:00
"@antfu/utils": "^0.7.2",
2022-06-19 17:58:50 +00:00
"@iconify/types": "workspace:^",
"debug": "^4.3.4",
2022-12-10 08:19:14 +00:00
"kolorist": "^1.6.0",
2022-09-07 17:06:23 +00:00
"local-pkg": "^0.4.2"
},
"devDependencies": {
2022-12-10 08:19:14 +00:00
"@iconify-json/flat-color-icons": "^1.1.3",
"@types/debug": "^4.1.7",
2022-12-10 08:19:14 +00:00
"@types/jest": "^29.2.4",
2022-12-25 22:32:45 +00:00
"@typescript-eslint/eslint-plugin": "^5.47.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
2022-09-07 17:06:23 +00:00
"eslint-plugin-prettier": "^4.2.1",
"rimraf": "^3.0.2",
2022-12-10 08:19:14 +00:00
"typescript": "^4.9.4",
2022-12-25 22:32:45 +00:00
"unbuild": "^1.0.2",
"vitest": "^0.26.2"
}
}