2021-05-24 10:25:02 +00:00
|
|
|
{
|
|
|
|
"name": "@iconify/utils",
|
|
|
|
"description": "Common functions for working with Iconify icon sets used by various packages.",
|
|
|
|
"author": "Vjacheslav Trushkin",
|
2022-02-05 19:23:24 +00:00
|
|
|
"version": "1.0.23",
|
2021-05-24 10:25:02 +00:00
|
|
|
"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": {
|
2021-09-20 20:53:49 +00:00
|
|
|
"clean": "rimraf lib tests-compiled tsconfig.tsbuildinfo",
|
|
|
|
"lint": "eslint src/**/*.ts",
|
2021-09-16 21:07:22 +00:00
|
|
|
"prebuild": "npm run lint && npm run clean",
|
|
|
|
"build": "node build",
|
2021-09-20 20:53:49 +00:00
|
|
|
"test:jest": "jest --runInBand",
|
|
|
|
"test:jasmine": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jasmine",
|
|
|
|
"test": "npm run test:jest && npm run test:jasmine"
|
2021-09-16 21:07:22 +00:00
|
|
|
},
|
2021-11-13 19:25:38 +00:00
|
|
|
"main": "./lib/index.js",
|
|
|
|
"module": "./lib/index.mjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"exports": {
|
2021-09-23 20:38:53 +00:00
|
|
|
"./*": "./*",
|
2021-11-25 08:50:09 +00:00
|
|
|
".": {
|
2021-11-13 19:25:38 +00:00
|
|
|
"require": "./lib/index.js",
|
|
|
|
"import": "./lib/index.mjs"
|
|
|
|
},
|
2021-10-09 17:20:07 +00:00
|
|
|
"./lib/colors": {
|
|
|
|
"require": "./lib/colors/index.js",
|
|
|
|
"import": "./lib/colors/index.mjs"
|
|
|
|
},
|
|
|
|
"./lib/colors/index": {
|
|
|
|
"require": "./lib/colors/index.js",
|
|
|
|
"import": "./lib/colors/index.mjs"
|
|
|
|
},
|
|
|
|
"./lib/colors/keywords": {
|
|
|
|
"require": "./lib/colors/keywords.js",
|
|
|
|
"import": "./lib/colors/keywords.mjs"
|
|
|
|
},
|
|
|
|
"./lib/colors/types": {
|
|
|
|
"require": "./lib/colors/types.js",
|
|
|
|
"import": "./lib/colors/types.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/customisations/bool": {
|
|
|
|
"require": "./lib/customisations/bool.js",
|
|
|
|
"import": "./lib/customisations/bool.mjs"
|
|
|
|
},
|
|
|
|
"./lib/customisations/compare": {
|
|
|
|
"require": "./lib/customisations/compare.js",
|
|
|
|
"import": "./lib/customisations/compare.mjs"
|
|
|
|
},
|
2021-09-20 09:59:16 +00:00
|
|
|
"./lib/customisations": {
|
|
|
|
"require": "./lib/customisations/index.js",
|
|
|
|
"import": "./lib/customisations/index.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/customisations/index": {
|
|
|
|
"require": "./lib/customisations/index.js",
|
|
|
|
"import": "./lib/customisations/index.mjs"
|
|
|
|
},
|
|
|
|
"./lib/customisations/rotate": {
|
|
|
|
"require": "./lib/customisations/rotate.js",
|
|
|
|
"import": "./lib/customisations/rotate.mjs"
|
|
|
|
},
|
|
|
|
"./lib/customisations/shorthand": {
|
|
|
|
"require": "./lib/customisations/shorthand.js",
|
|
|
|
"import": "./lib/customisations/shorthand.mjs"
|
|
|
|
},
|
2021-10-05 12:02:06 +00:00
|
|
|
"./lib/icon-set/convert-info": {
|
|
|
|
"require": "./lib/icon-set/convert-info.js",
|
|
|
|
"import": "./lib/icon-set/convert-info.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/icon-set/expand": {
|
|
|
|
"require": "./lib/icon-set/expand.js",
|
|
|
|
"import": "./lib/icon-set/expand.mjs"
|
|
|
|
},
|
|
|
|
"./lib/icon-set/get-icon": {
|
|
|
|
"require": "./lib/icon-set/get-icon.js",
|
|
|
|
"import": "./lib/icon-set/get-icon.mjs"
|
|
|
|
},
|
|
|
|
"./lib/icon-set/get-icons": {
|
|
|
|
"require": "./lib/icon-set/get-icons.js",
|
|
|
|
"import": "./lib/icon-set/get-icons.mjs"
|
|
|
|
},
|
|
|
|
"./lib/icon-set/minify": {
|
|
|
|
"require": "./lib/icon-set/minify.js",
|
|
|
|
"import": "./lib/icon-set/minify.mjs"
|
|
|
|
},
|
|
|
|
"./lib/icon-set/parse": {
|
|
|
|
"require": "./lib/icon-set/parse.js",
|
|
|
|
"import": "./lib/icon-set/parse.mjs"
|
|
|
|
},
|
|
|
|
"./lib/icon-set/validate": {
|
|
|
|
"require": "./lib/icon-set/validate.js",
|
|
|
|
"import": "./lib/icon-set/validate.mjs"
|
|
|
|
},
|
2021-09-20 09:59:16 +00:00
|
|
|
"./lib/icon": {
|
|
|
|
"require": "./lib/icon/index.js",
|
|
|
|
"import": "./lib/icon/index.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/icon/index": {
|
|
|
|
"require": "./lib/icon/index.js",
|
|
|
|
"import": "./lib/icon/index.mjs"
|
|
|
|
},
|
|
|
|
"./lib/icon/merge": {
|
|
|
|
"require": "./lib/icon/merge.js",
|
|
|
|
"import": "./lib/icon/merge.mjs"
|
|
|
|
},
|
|
|
|
"./lib/icon/name": {
|
|
|
|
"require": "./lib/icon/name.js",
|
|
|
|
"import": "./lib/icon/name.mjs"
|
|
|
|
},
|
2021-11-13 19:25:38 +00:00
|
|
|
"./lib": {
|
|
|
|
"require": "./lib/index.js",
|
|
|
|
"import": "./lib/index.mjs"
|
|
|
|
},
|
|
|
|
"./lib/index": {
|
|
|
|
"require": "./lib/index.js",
|
|
|
|
"import": "./lib/index.mjs"
|
|
|
|
},
|
2021-12-11 22:10:26 +00:00
|
|
|
"./lib/loader/custom": {
|
|
|
|
"require": "./lib/loader/custom.js",
|
|
|
|
"import": "./lib/loader/custom.mjs"
|
|
|
|
},
|
2022-02-26 14:12:13 +00:00
|
|
|
"./lib/loader/fs": {
|
|
|
|
"require": "./lib/loader/fs.js",
|
|
|
|
"import": "./lib/loader/fs.mjs"
|
|
|
|
},
|
|
|
|
"./lib/loader/install-pkg": {
|
|
|
|
"require": "./lib/loader/install-pkg.js",
|
|
|
|
"import": "./lib/loader/install-pkg.mjs"
|
|
|
|
},
|
|
|
|
"./lib/loader/loader": {
|
|
|
|
"require": "./lib/loader/loader.js",
|
|
|
|
"import": "./lib/loader/loader.mjs"
|
|
|
|
},
|
2021-12-11 22:10:26 +00:00
|
|
|
"./lib/loader/loaders": {
|
|
|
|
"require": "./lib/loader/loaders.js",
|
|
|
|
"import": "./lib/loader/loaders.mjs"
|
|
|
|
},
|
2022-01-10 16:08:40 +00:00
|
|
|
"./lib/loader/modern": {
|
|
|
|
"require": "./lib/loader/modern.js",
|
|
|
|
"import": "./lib/loader/modern.mjs"
|
|
|
|
},
|
2021-12-11 22:10:26 +00:00
|
|
|
"./lib/loader/types": {
|
|
|
|
"require": "./lib/loader/types.js",
|
|
|
|
"import": "./lib/loader/types.mjs"
|
|
|
|
},
|
|
|
|
"./lib/loader/utils": {
|
|
|
|
"require": "./lib/loader/utils.js",
|
|
|
|
"import": "./lib/loader/utils.mjs"
|
|
|
|
},
|
2022-01-09 20:05:18 +00:00
|
|
|
"./lib/misc/strings": {
|
|
|
|
"require": "./lib/misc/strings.js",
|
|
|
|
"import": "./lib/misc/strings.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/svg/build": {
|
|
|
|
"require": "./lib/svg/build.js",
|
|
|
|
"import": "./lib/svg/build.mjs"
|
|
|
|
},
|
2022-02-26 17:33:01 +00:00
|
|
|
"./lib/svg/encode-svg-for-css": {
|
|
|
|
"require": "./lib/svg/encode-svg-for-css.js",
|
|
|
|
"import": "./lib/svg/encode-svg-for-css.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/svg/id": {
|
|
|
|
"require": "./lib/svg/id.js",
|
|
|
|
"import": "./lib/svg/id.mjs"
|
|
|
|
},
|
|
|
|
"./lib/svg/size": {
|
|
|
|
"require": "./lib/svg/size.js",
|
|
|
|
"import": "./lib/svg/size.mjs"
|
|
|
|
}
|
2021-05-24 10:25:02 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-12-11 22:10:26 +00:00
|
|
|
"@antfu/install-pkg": "^0.1.0",
|
|
|
|
"@antfu/utils": "^0.3.0",
|
2021-12-09 21:12:00 +00:00
|
|
|
"@iconify/types": "^1.0.12",
|
2021-12-12 10:22:44 +00:00
|
|
|
"debug": "^4.3.3",
|
2022-01-10 11:17:05 +00:00
|
|
|
"kolorist": "^1.5.0",
|
2022-01-10 16:08:40 +00:00
|
|
|
"local-pkg": "^0.4.0"
|
2022-01-09 20:05:18 +00:00
|
|
|
},
|
2021-05-24 10:25:02 +00:00
|
|
|
"devDependencies": {
|
2022-02-26 15:28:20 +00:00
|
|
|
"@iconify-json/flat-color-icons": "^1.0.2",
|
2022-01-10 20:50:16 +00:00
|
|
|
"@iconify/library-builder": "^1.0.5",
|
2021-12-11 22:10:26 +00:00
|
|
|
"@types/debug": "^4.1.7",
|
2021-09-20 20:53:49 +00:00
|
|
|
"@types/jest": "^27.0.1",
|
2021-09-16 21:07:22 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.31.1",
|
2021-09-20 20:53:49 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2021-09-16 21:07:22 +00:00
|
|
|
"eslint": "^7.32.0",
|
2021-09-20 20:53:49 +00:00
|
|
|
"eslint-plugin-jasmine": "^4.1.2",
|
|
|
|
"jasmine": "^3.9.0",
|
|
|
|
"jest": "^27.2.1",
|
2021-09-16 21:07:22 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2021-09-20 20:53:49 +00:00
|
|
|
"ts-jest": "^27.0.5",
|
2021-09-20 09:59:16 +00:00
|
|
|
"typescript": "^4.4.3"
|
2021-05-24 10:25:02 +00:00
|
|
|
}
|
|
|
|
}
|