mirror of
https://github.com/iconify/iconify.git
synced 2024-12-13 22:18:24 +00:00
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "@iconify/react",
|
|
"description": "Iconify icon component for React.",
|
|
"author": "Vjacheslav Trushkin",
|
|
"version": "3.2.2",
|
|
"license": "MIT",
|
|
"bugs": "https://github.com/iconify/iconify/issues",
|
|
"homepage": "https://iconify.design/",
|
|
"funding": "http://github.com/sponsors/cyberalien",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/iconify/iconify.git",
|
|
"directory": "components/react"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf lib dist tsconfig.tsbuildinfo",
|
|
"prebuild": "pnpm run clean",
|
|
"build": "node build",
|
|
"build:lib": "tsc -b",
|
|
"build:dist": "rollup -c rollup.config.js",
|
|
"prebuild:api": "api-extractor run --local --verbose --config api-extractor.offline.json",
|
|
"build:api": "api-extractor run --local --verbose --config api-extractor.iconify.json",
|
|
"build:cleanup": "node cleanup",
|
|
"test": "jest --runInBand"
|
|
},
|
|
"main": "dist/iconify.js",
|
|
"module": "dist/iconify.mjs",
|
|
"types": "dist/iconify.d.ts",
|
|
"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"
|
|
},
|
|
"./dist/offline": {
|
|
"import": "./dist/offline.mjs",
|
|
"types": "./dist/offline.d.ts",
|
|
"default": "./dist/offline.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@iconify/types": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.18.2",
|
|
"@babel/preset-react": "^7.17.12",
|
|
"@iconify/core": "workspace:^",
|
|
"@iconify/utils": "workspace:^",
|
|
"@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",
|
|
"react": "^17.0.2",
|
|
"react-test-renderer": "^17.0.2",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.75.6",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16"
|
|
}
|
|
}
|