grafana/packages/grafana-icons/package.json
2024-04-15 10:45:52 +00:00

65 lines
1.9 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": {
"@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/plugin-jsx": "^8.1.0",
"@svgr/plugin-prettier": "^8.1.0",
"@svgr/plugin-svgo": "^8.1.0",
"@types/node": "20.12.7",
"@types/react": "18.2.78",
"@types/react-dom": "18.2.25",
"esbuild": "0.18.12",
"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"
}
}