2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-13 06:07:50 +00:00
iconify/packages/utils/package.json

245 lines
7.0 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.0-beta.4",
"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:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs",
"test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --config=jest.config.mjs",
2022-06-19 19:40:13 +00:00
"test": "pnpm run test:jest-cjs && pnpm run test:jest-esm",
2022-03-16 08:58:02 +00:00
"vitest:cjs": "vitest --config vitest.config.cjs",
"vitest:esm": "vitest --config vitest.config.mjs",
2022-06-19 19:40:13 +00:00
"vitest": "pnpm run vitest:cjs && pnpm run vitest: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",
2021-11-13 19:25:38 +00:00
"import": "./lib/index.mjs"
},
2022-03-04 11:00:20 +00:00
"./*": "./*",
"./lib/colors": {
2022-03-02 20:11:50 +00:00
"require": "./lib/colors/index.cjs",
"import": "./lib/colors/index.mjs"
},
"./lib/colors/index": {
2022-03-02 20:11:50 +00:00
"require": "./lib/colors/index.cjs",
"import": "./lib/colors/index.mjs"
},
"./lib/colors/keywords": {
2022-03-02 20:11:50 +00:00
"require": "./lib/colors/keywords.cjs",
"import": "./lib/colors/keywords.mjs"
},
"./lib/colors/types": {
2022-03-02 20:11:50 +00:00
"require": "./lib/colors/types.cjs",
"import": "./lib/colors/types.mjs"
},
"./lib/customisations/bool": {
2022-03-02 20:11:50 +00:00
"require": "./lib/customisations/bool.cjs",
"import": "./lib/customisations/bool.mjs"
},
"./lib/customisations/defaults": {
"require": "./lib/customisations/defaults.cjs",
"import": "./lib/customisations/defaults.mjs"
},
2022-04-30 20:12:34 +00:00
"./lib/customisations/flip": {
"require": "./lib/customisations/flip.cjs",
"import": "./lib/customisations/flip.mjs"
},
"./lib/customisations/merge": {
"require": "./lib/customisations/merge.cjs",
"import": "./lib/customisations/merge.mjs"
},
"./lib/customisations/rotate": {
2022-03-02 20:11:50 +00:00
"require": "./lib/customisations/rotate.cjs",
"import": "./lib/customisations/rotate.mjs"
},
"./lib/icon-set/convert-info": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/convert-info.cjs",
"import": "./lib/icon-set/convert-info.mjs"
},
"./lib/icon-set/expand": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/expand.cjs",
"import": "./lib/icon-set/expand.mjs"
},
"./lib/icon-set/get-icon": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/get-icon.cjs",
"import": "./lib/icon-set/get-icon.mjs"
},
"./lib/icon-set/get-icons": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/get-icons.cjs",
"import": "./lib/icon-set/get-icons.mjs"
},
"./lib/icon-set/minify": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/minify.cjs",
"import": "./lib/icon-set/minify.mjs"
},
"./lib/icon-set/parse": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/parse.cjs",
"import": "./lib/icon-set/parse.mjs"
},
"./lib/icon-set/tree": {
"require": "./lib/icon-set/tree.cjs",
"import": "./lib/icon-set/tree.mjs"
},
"./lib/icon-set/validate": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon-set/validate.cjs",
"import": "./lib/icon-set/validate.mjs"
},
"./lib/icon-set/validate-basic": {
"require": "./lib/icon-set/validate-basic.cjs",
"import": "./lib/icon-set/validate-basic.mjs"
},
"./lib/icon/defaults": {
"require": "./lib/icon/defaults.cjs",
"import": "./lib/icon/defaults.mjs"
},
"./lib/icon/merge": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon/merge.cjs",
"import": "./lib/icon/merge.mjs"
},
"./lib/icon/name": {
2022-03-02 20:11:50 +00:00
"require": "./lib/icon/name.cjs",
"import": "./lib/icon/name.mjs"
},
"./lib/icon/transformations": {
"require": "./lib/icon/transformations.cjs",
"import": "./lib/icon/transformations.mjs"
},
2021-11-13 19:25:38 +00:00
"./lib": {
2022-03-02 20:11:50 +00:00
"require": "./lib/index.cjs",
2021-11-13 19:25:38 +00:00
"import": "./lib/index.mjs"
},
"./lib/index": {
2022-03-02 20:11:50 +00:00
"require": "./lib/index.cjs",
2021-11-13 19:25:38 +00:00
"import": "./lib/index.mjs"
},
"./lib/loader/custom": {
2022-03-02 20:11:50 +00:00
"require": "./lib/loader/custom.cjs",
"import": "./lib/loader/custom.mjs"
},
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",
"import": "./lib/loader/loader.mjs"
},
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-01-10 16:08:40 +00:00
"import": "./lib/loader/modern.mjs"
},
"./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",
"import": "./lib/loader/types.mjs"
},
"./lib/loader/utils": {
2022-03-02 20:11:50 +00:00
"require": "./lib/loader/utils.cjs",
"import": "./lib/loader/utils.mjs"
},
"./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",
"import": "./lib/misc/strings.mjs"
},
"./lib/misc/objects": {
"require": "./lib/misc/objects.cjs",
"import": "./lib/misc/objects.mjs"
},
"./lib/svg/build": {
2022-03-02 20:11:50 +00:00
"require": "./lib/svg/build.cjs",
"import": "./lib/svg/build.mjs"
},
"./lib/svg/encode-svg-for-css": {
2022-03-02 20:11:50 +00:00
"require": "./lib/svg/encode-svg-for-css.cjs",
"import": "./lib/svg/encode-svg-for-css.mjs"
},
"./lib/svg/html": {
"require": "./lib/svg/html.cjs",
"import": "./lib/svg/html.mjs"
},
"./lib/svg/id": {
2022-03-02 20:11:50 +00:00
"require": "./lib/svg/id.cjs",
"import": "./lib/svg/id.mjs"
},
"./lib/svg/size": {
2022-03-02 20:11:50 +00:00
"require": "./lib/svg/size.cjs",
"import": "./lib/svg/size.mjs"
2022-03-21 16:54:25 +00:00
},
"./lib/svg/trim": {
"require": "./lib/svg/trim.cjs",
"import": "./lib/svg/trim.mjs"
},
"./lib/svg/url": {
"require": "./lib/svg/url.cjs",
"import": "./lib/svg/url.mjs"
}
},
"files": [
"lib",
2022-03-04 11:00:20 +00:00
"*.d.ts"
],
"dependencies": {
"@antfu/install-pkg": "^0.1.0",
"@antfu/utils": "^0.5.2",
2022-06-19 17:58:50 +00:00
"@iconify/types": "workspace:^",
"debug": "^4.3.4",
"kolorist": "^1.5.1",
"local-pkg": "^0.4.1"
},
"devDependencies": {
"@iconify-json/flat-color-icons": "^1.1.1",
"@types/debug": "^4.1.7",
"@types/jest": "^27.5.2",
"@typescript-eslint/eslint-plugin": "^5.28.0",
2021-09-20 20:53:49 +00:00
"cross-env": "^7.0.3",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
2022-06-19 19:40:13 +00:00
"jest": "28.0.0-alpha.11",
"rimraf": "^3.0.2",
2022-06-19 19:40:13 +00:00
"ts-jest": "28.0.0-next.3",
"ts-node": "^10.8.1",
"typescript": "^4.7.4",
"unbuild": "^0.7.4",
"vitest": "^0.7.13"
}
}