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