grafana/packages/grafana-icons/package.json
2024-10-23 12:59:48 +00:00

68 lines
2.0 KiB
JSON

{
"name": "@grafana/saga-icons",
"version": "11.4.0-pre",
"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": "yarn generate && 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 --configPlugin esbuild"
},
"devDependencies": {
"@babel/core": "7.25.9",
"@grafana/tsconfig": "^2.0.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-typescript": "^12.1.0",
"@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.16.15",
"@types/react": "18.3.3",
"@types/react-dom": "18.2.25",
"esbuild": "0.24.0",
"prettier": "3.3.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "6.0.1",
"rollup": "^4.22.4",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "6.1.1",
"rollup-plugin-node-externals": "7.1.3",
"ts-node": "10.9.2",
"typescript": "5.5.4"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
}
}