2021-04-23 15:06:49 +00:00
|
|
|
{
|
|
|
|
"name": "@iconify/react",
|
|
|
|
"description": "Iconify icon component for React.",
|
|
|
|
"author": "Vjacheslav Trushkin",
|
2022-07-02 08:21:45 +00:00
|
|
|
"version": "4.0.0-beta.2",
|
2021-04-23 15:06:49 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"bugs": "https://github.com/iconify/iconify/issues",
|
|
|
|
"homepage": "https://iconify.design/",
|
2021-05-24 18:03:04 +00:00
|
|
|
"funding": "http://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",
|
|
|
|
"build:lib": "tsc -b",
|
|
|
|
"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",
|
2021-12-30 08:50:47 +00:00
|
|
|
"build:cleanup": "node cleanup",
|
2022-01-10 21:39:39 +00:00
|
|
|
"test": "jest --runInBand"
|
2021-04-23 15:06:49 +00:00
|
|
|
},
|
2021-04-23 20:50:17 +00:00
|
|
|
"main": "dist/iconify.js",
|
2021-09-25 10:08:47 +00:00
|
|
|
"module": "dist/iconify.mjs",
|
2021-04-23 20:50:17 +00:00
|
|
|
"types": "dist/iconify.d.ts",
|
2021-09-25 10:08:47 +00:00
|
|
|
"exports": {
|
|
|
|
"./*": "./*",
|
|
|
|
".": {
|
|
|
|
"import": "./dist/iconify.mjs",
|
|
|
|
"types": "./dist/iconify.d.ts",
|
|
|
|
"default": "./dist/iconify.js"
|
|
|
|
},
|
|
|
|
"./offline": {
|
|
|
|
"import": "./dist/offline.mjs",
|
|
|
|
"types": "./dist/offline.d.ts",
|
|
|
|
"default": "./dist/offline.js"
|
2022-02-28 10:07:21 +00:00
|
|
|
},
|
|
|
|
"./dist/offline": {
|
|
|
|
"import": "./dist/offline.mjs",
|
|
|
|
"types": "./dist/offline.d.ts",
|
|
|
|
"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 19:25:00 +00:00
|
|
|
"@babel/preset-env": "^7.18.2",
|
|
|
|
"@babel/preset-react": "^7.17.12",
|
2022-06-19 17:58:50 +00:00
|
|
|
"@iconify/core": "workspace:^",
|
2022-06-19 18:52:07 +00:00
|
|
|
"@iconify/utils": "workspace:^",
|
2022-06-19 19:25:00 +00:00
|
|
|
"@microsoft/api-extractor": "^7.25.2",
|
|
|
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
|
|
"@types/react": "^17.0.47",
|
|
|
|
"babel-jest": "^27.5.1",
|
|
|
|
"jest": "^28.1.1",
|
2021-04-23 15:06:49 +00:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-test-renderer": "^17.0.2",
|
2021-09-25 10:08:47 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2022-06-19 19:25:00 +00:00
|
|
|
"rollup": "^2.75.6",
|
|
|
|
"typescript": "^4.7.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
|
|
|
}
|
|
|
|
}
|