mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Optimized package.json files (#22475)
* Used repository shortcut syntax where possible * Added repository directories for monorepo packages * Alphabetically sorted npm scripts
This commit is contained in:
@@ -12,17 +12,18 @@
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "http://github.com/grafana/grafana.git"
|
||||
"url": "http://github.com/grafana/grafana.git",
|
||||
"directory": "packages/grafana-toolkit"
|
||||
},
|
||||
"bin": {
|
||||
"grafana-toolkit": "./bin/grafana-toolkit.js"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint src/ --ext=.js,.ts,.tsx",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"precommit": "npm run lint & npm run typecheck",
|
||||
"build": "grafana-toolkit toolkit:build",
|
||||
"clean": "rimraf ./dist ./compiled",
|
||||
"build": "grafana-toolkit toolkit:build"
|
||||
"lint": "eslint src/ --ext=.js,.ts,.tsx",
|
||||
"precommit": "npm run lint & npm run typecheck",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user