2020-04-28 09:47:35 +00:00
|
|
|
{
|
|
|
|
"name": "@iconify/core",
|
2022-03-16 10:12:25 +00:00
|
|
|
"type": "module",
|
2020-04-28 09:47:35 +00:00
|
|
|
"description": "Reusable files used by multiple Iconify packages",
|
|
|
|
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (https://iconify.design)",
|
2022-03-31 13:35:30 +00:00
|
|
|
"version": "1.3.2",
|
2022-04-20 16:00:21 +00:00
|
|
|
"license": "MIT",
|
2020-04-28 09:47:35 +00:00
|
|
|
"bugs": "https://github.com/iconify/iconify/issues",
|
|
|
|
"homepage": "https://iconify.design/",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2020-04-28 10:27:23 +00:00
|
|
|
"url": "https://github.com/iconify/iconify.git",
|
|
|
|
"directory": "packages/core"
|
2020-04-28 09:47:35 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-03-16 10:12:25 +00:00
|
|
|
"clean": "rimraf lib tsconfig.tsbuildinfo",
|
|
|
|
"lint": "eslint --fix src/**/*.ts",
|
2022-06-19 19:40:13 +00:00
|
|
|
"prebuild": "pnpm run lint && pnpm run clean",
|
2022-03-14 15:52:34 +00:00
|
|
|
"build": "unbuild",
|
2022-06-20 07:31:46 +00:00
|
|
|
"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-17 16:04:04 +00:00
|
|
|
"vitest": "vitest --config vitest.config.mjs"
|
2020-04-28 09:47:35 +00:00
|
|
|
},
|
2022-03-16 10:12:25 +00:00
|
|
|
"sideEffects": false,
|
2021-09-16 21:07:22 +00:00
|
|
|
"exports": {
|
2021-09-23 21:27:16 +00:00
|
|
|
"./*": "./*",
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/api/callbacks": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/api/callbacks.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/api/callbacks.mjs"
|
|
|
|
},
|
|
|
|
"./lib/api/config": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/api/config.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/api/config.mjs"
|
|
|
|
},
|
|
|
|
"./lib/api/functions": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/api/functions.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/api/functions.mjs"
|
|
|
|
},
|
2021-09-20 13:33:57 +00:00
|
|
|
"./lib/api/icons": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/api/icons.cjs",
|
2021-09-20 13:33:57 +00:00
|
|
|
"import": "./lib/api/icons.mjs"
|
2021-09-16 21:07:22 +00:00
|
|
|
},
|
|
|
|
"./lib/api/modules": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/api/modules.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/api/modules.mjs"
|
|
|
|
},
|
|
|
|
"./lib/api/modules/fetch": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/api/modules/fetch.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/api/modules/fetch.mjs"
|
|
|
|
},
|
|
|
|
"./lib/api/modules/mock": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/api/modules/mock.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/api/modules/mock.mjs"
|
|
|
|
},
|
2021-09-20 13:33:57 +00:00
|
|
|
"./lib/api/query": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/api/query.cjs",
|
2021-09-20 13:33:57 +00:00
|
|
|
"import": "./lib/api/query.mjs"
|
|
|
|
},
|
2022-06-28 16:12:45 +00:00
|
|
|
"./lib/browser-storage/config": {
|
|
|
|
"require": "./lib/browser-storage/config.cjs",
|
|
|
|
"import": "./lib/browser-storage/config.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/browser-storage/functions": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/browser-storage/functions.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/browser-storage/functions.mjs"
|
|
|
|
},
|
2021-09-20 09:59:16 +00:00
|
|
|
"./lib/browser-storage": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/browser-storage/index.cjs",
|
2021-09-20 09:59:16 +00:00
|
|
|
"import": "./lib/browser-storage/index.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/browser-storage/index": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/browser-storage/index.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/browser-storage/index.mjs"
|
|
|
|
},
|
2022-03-16 21:50:53 +00:00
|
|
|
"./lib/browser-storage/mock": {
|
|
|
|
"require": "./lib/browser-storage/mock.cjs",
|
|
|
|
"import": "./lib/browser-storage/mock.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/builder/functions": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/builder/functions.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/builder/functions.mjs"
|
|
|
|
},
|
2021-09-20 13:33:57 +00:00
|
|
|
"./lib/cache": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/cache.cjs",
|
2021-09-20 13:33:57 +00:00
|
|
|
"import": "./lib/cache.mjs"
|
|
|
|
},
|
2021-09-16 21:07:22 +00:00
|
|
|
"./lib/icon/list": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/icon/list.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/icon/list.mjs"
|
|
|
|
},
|
|
|
|
"./lib/icon/sort": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/icon/sort.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/icon/sort.mjs"
|
|
|
|
},
|
|
|
|
"./lib/storage/functions": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/storage/functions.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/storage/functions.mjs"
|
|
|
|
},
|
|
|
|
"./lib/storage/storage": {
|
2022-03-14 15:52:34 +00:00
|
|
|
"require": "./lib/storage/storage.cjs",
|
2021-09-16 21:07:22 +00:00
|
|
|
"import": "./lib/storage/storage.mjs"
|
|
|
|
}
|
2020-04-28 09:47:35 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-06-19 17:58:50 +00:00
|
|
|
"@iconify/api-redundancy": "workspace:^",
|
|
|
|
"@iconify/types": "workspace:^",
|
|
|
|
"@iconify/utils": "workspace:^"
|
2021-09-16 21:07:22 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-19 19:25:00 +00:00
|
|
|
"@types/jest": "^27.5.2",
|
|
|
|
"@types/node": "^17.0.45",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
2021-09-23 21:27:16 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2022-02-21 15:13:27 +00:00
|
|
|
"cross-fetch": "^3.1.5",
|
2022-06-19 19:25:00 +00:00
|
|
|
"eslint": "^8.18.0",
|
2022-03-16 10:12:25 +00:00
|
|
|
"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",
|
2021-09-16 21:07:22 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2022-06-19 19:40:13 +00:00
|
|
|
"ts-jest": "28.0.0-next.3",
|
2022-06-19 19:25:00 +00:00
|
|
|
"ts-node": "^10.8.1",
|
|
|
|
"unbuild": "^0.7.4",
|
|
|
|
"vitest": "^0.7.13"
|
2020-04-28 09:47:35 +00:00
|
|
|
}
|
|
|
|
}
|