|
|
|
@ -11,11 +11,11 @@ |
|
|
|
|
"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", |
|
|
|
|
"module": "dist/index.js", |
|
|
|
|
"types": "dist/index.d.ts", |
|
|
|
|
"access": "public" |
|
|
|
|
}, |
|
|
|
@ -27,7 +27,7 @@ |
|
|
|
|
], |
|
|
|
|
"scripts": { |
|
|
|
|
"clean": "rimraf ./dist ./compiled ./package.tgz ./src/icons-gen", |
|
|
|
|
"generate": "yarn clean && npx @svgr/cli ./svg && mv ./src/icons-gen/index.ts ./src", |
|
|
|
|
"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}\"", |
|
|
|
|