2021-04-23 15:06:49 +00:00
|
|
|
{
|
|
|
|
"name": "@iconify/react",
|
|
|
|
"description": "Iconify icon component for React.",
|
|
|
|
"author": "Vjacheslav Trushkin",
|
2024-05-28 19:20:42 +00:00
|
|
|
"type": "module",
|
2024-07-25 18:55:00 +00:00
|
|
|
"version": "5.0.2",
|
2021-04-23 15:06:49 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"bugs": "https://github.com/iconify/iconify/issues",
|
|
|
|
"homepage": "https://iconify.design/",
|
2022-09-08 06:40:06 +00:00
|
|
|
"funding": "https://github.com/sponsors/cyberalien",
|
2021-04-23 15:06:49 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/iconify/iconify.git",
|
2022-05-12 20:10:42 +00:00
|
|
|
"directory": "components/react"
|
2021-04-23 15:06:49 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-09-25 10:08:47 +00:00
|
|
|
"clean": "rimraf lib dist tsconfig.tsbuildinfo",
|
2022-06-19 19:40:13 +00:00
|
|
|
"prebuild": "pnpm run clean",
|
2021-04-23 15:06:49 +00:00
|
|
|
"build": "node build",
|
2024-07-25 18:55:00 +00:00
|
|
|
"build:lib": "tsc -b tsconfig.src.json",
|
2024-05-28 19:20:42 +00:00
|
|
|
"build:dist": "rollup -c rollup.config.js",
|
2021-04-23 20:50:17 +00:00
|
|
|
"prebuild:api": "api-extractor run --local --verbose --config api-extractor.offline.json",
|
|
|
|
"build:api": "api-extractor run --local --verbose --config api-extractor.iconify.json",
|
2024-05-24 10:15:15 +00:00
|
|
|
"build:cleanup": "node cleanup",
|
2024-07-25 18:55:00 +00:00
|
|
|
"test": "vitest"
|
2021-04-23 15:06:49 +00:00
|
|
|
},
|
2021-04-23 20:50:17 +00:00
|
|
|
"main": "dist/iconify.js",
|
|
|
|
"types": "dist/iconify.d.ts",
|
2021-09-25 10:08:47 +00:00
|
|
|
"exports": {
|
|
|
|
"./*": "./*",
|
|
|
|
".": {
|
2024-05-31 09:45:56 +00:00
|
|
|
"types": "./dist/iconify.d.ts",
|
2024-05-28 19:20:42 +00:00
|
|
|
"require": "./dist/iconify.cjs",
|
|
|
|
"import": "./dist/iconify.js",
|
2021-09-25 10:08:47 +00:00
|
|
|
"default": "./dist/iconify.js"
|
|
|
|
},
|
|
|
|
"./offline": {
|
2024-05-31 09:45:56 +00:00
|
|
|
"types": "./dist/offline.d.ts",
|
2024-05-28 19:20:42 +00:00
|
|
|
"require": "./dist/offline.cjs",
|
|
|
|
"import": "./dist/offline.js",
|
2021-09-25 10:08:47 +00:00
|
|
|
"default": "./dist/offline.js"
|
2022-02-28 10:07:21 +00:00
|
|
|
},
|
|
|
|
"./dist/offline": {
|
2024-05-31 09:45:56 +00:00
|
|
|
"types": "./dist/offline.d.ts",
|
2024-05-28 19:20:42 +00:00
|
|
|
"require": "./dist/offline.cjs",
|
|
|
|
"import": "./dist/offline.js",
|
2022-02-28 10:07:21 +00:00
|
|
|
"default": "./dist/offline.js"
|
2021-09-25 10:08:47 +00:00
|
|
|
}
|
|
|
|
},
|
2022-04-30 18:36:25 +00:00
|
|
|
"dependencies": {
|
2022-06-19 17:58:50 +00:00
|
|
|
"@iconify/types": "workspace:^"
|
2022-04-30 18:36:25 +00:00
|
|
|
},
|
2021-04-23 15:06:49 +00:00
|
|
|
"devDependencies": {
|
2022-06-19 17:58:50 +00:00
|
|
|
"@iconify/core": "workspace:^",
|
2022-06-19 18:52:07 +00:00
|
|
|
"@iconify/utils": "workspace:^",
|
2024-11-01 16:40:09 +00:00
|
|
|
"@microsoft/api-extractor": "^7.47.11",
|
|
|
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
|
|
"@testing-library/react": "^16.0.1",
|
|
|
|
"@types/react": "^18.3.12",
|
|
|
|
"@types/react-dom": "^18.3.1",
|
|
|
|
"jsdom": "^25.0.1",
|
2024-07-19 11:19:45 +00:00
|
|
|
"react": "^18.3.1",
|
2024-11-01 16:40:09 +00:00
|
|
|
"rimraf": "^6.0.1",
|
|
|
|
"rollup": "^4.24.3",
|
|
|
|
"typescript": "^5.6.3",
|
|
|
|
"vitest": "^2.1.4"
|
2022-05-26 06:46:43 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2022-05-26 08:55:46 +00:00
|
|
|
"react": ">=16"
|
2021-04-23 15:06:49 +00:00
|
|
|
}
|
|
|
|
}
|