grafana/packages/grafana-icons/package.json
kay delaney 6f875188b7
Chore: Clean up package.json files (#86951)
* Chore: Clean up package.json files

Removes any unused packages, adds missing peer dependencies
2024-04-29 14:03:01 +01:00

68 lines
2.0 KiB
JSON

{
"name": "@grafana/saga-icons",
"version": "0.0.0",
"private": true,
"description": "Icons for Grafana",
"author": "Grafana Labs",
"license": "Apache-2.0",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/grafana/grafana.git",
"directory": "packages/grafana-icons"
},
"type": "module",
"main": "src/index.ts",
"types": "src/index.ts",
"publishConfig": {
"main": "dist/index.js",
"types": "dist/index.d.ts",
"access": "public"
},
"files": [
"./dist",
"./README.md",
"./CHANGELOG.md",
"./LICENSE_APACHE2"
],
"scripts": {
"clean": "rimraf ./dist ./compiled ./package.tgz ./src/icons-gen",
"generate": "yarn clean && npx @svgr/cli ./svg --silent && mv ./src/icons-gen/index.ts ./src",
"typecheck": "tsc --emitDeclarationOnly false --noEmit",
"lint": "eslint --ext .ts,.tsx ./src",
"prettier:check": "prettier --check --list-different=false --log-level=warn \"**/*.{ts,tsx,scss,md,mdx,json}\"",
"build": "yarn generate && rollup -c rollup.config.ts"
},
"devDependencies": {
"@babel/core": "7.24.4",
"@grafana/tsconfig": "^1.3.0-rc1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@svgr/babel-plugin-remove-jsx-attribute": "^8.0.0",
"@svgr/cli": "^8.1.0",
"@svgr/core": "8.1.0",
"@svgr/plugin-jsx": "^8.1.0",
"@svgr/plugin-prettier": "^8.1.0",
"@svgr/plugin-svgo": "^8.1.0",
"@types/babel__core": "^7",
"@types/node": "20.12.7",
"@types/react": "18.2.79",
"@types/react-dom": "18.2.25",
"esbuild": "0.20.2",
"prettier": "3.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "5.0.5",
"rollup": "2.79.1",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "5.0.0",
"rollup-plugin-node-externals": "5.0.0",
"ts-node": "10.9.2",
"typescript": "5.4.5"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
}
}