-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
100 lines (100 loc) · 3.1 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@grafana/levitate",
"version": "0.15.1",
"description": "A tool for helping to understand APIs exported and consumed by NPM packages (or any TypeScript code).",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"types": "dist/index.d.ts",
"type": "module",
"bin": {
"levitate": "dist/bin.js"
},
"files": [
"dist"
],
"scripts": {
"setup-fixtures": "find ./fixtures -name package.json -not -path '*/node_modules/*' -execdir yarn install \\;",
"test": "yarn setup-fixtures && yarn build && LEVITATE_SILENT=true yarn vitest",
"test:ci": "yarn test run",
"build": "tsc && chmod +x ./dist/bin.js",
"dev": "tsc-watch ./src/bin.ts --m commonjs --outDir ./dist --esModuleInterop",
"dev-compare": "nodemon --exec yarn run dev:compare",
"dev-imports": "nodemon --exec yarn run dev:imports",
"dev:compare": "run-s build fixtures:compare",
"dev:imports": "run-s build fixtures:imports",
"fixtures:compare": "DEBUG=* node ./dist/bin.js compare --prev @grafana/ui@canary --current @grafana/ui@latest",
"fixtures:imports": "DEBUG=* node ./dist/bin.js list-imports --path ./fixtures/imports/package/src/module.ts --filters @grafana/ui @grafana/data",
"lint": "eslint --cache --ignore-path ./.gitignore --ext .js,.jsx,.ts,.tsx ./src ./scripts",
"lint:fix": "yarn lint --fix && yarn prettier --write ./src"
},
"keywords": [],
"author": "Grafana Labs <[email protected]> (https://grafana.com)",
"license": "Apache-2.0",
"dependencies": {
"@tsd/typescript": "^5.6.2",
"@types/node": "^22.0.0",
"chalk": "^4.1.2",
"debug": "^4.3.2",
"diff": "^5.1.0",
"execa": "^9.1.0",
"fast-glob": "^3.3.2",
"node-fetch": "^3.3.2",
"ora": "8.1.1",
"tar": "^7.0.1",
"tty-table": "^4.1.5",
"typescript": "^5.6.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@grafana/eslint-config": "^7.0.0",
"@swc-node/register": "^1.6.8",
"@swc/core": "^1.3.107",
"@types/debug": "^4.1.7",
"@types/diff": "^5.0.2",
"@types/node-fetch": "^2.6.2",
"@types/rimraf": "^4.0.5",
"@types/tar": "^6.1.2",
"@types/yargs": "^17.0.12",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.30.7",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jsdoc": "50.6.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-hooks": "4.6.2",
"nodemon": "^3.1.4",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.1",
"tsc-watch": "^6.0.4",
"vitest": "^2.0.2"
},
"nodemonConfig": {
"watch": [
"*.ts",
"*.tsx",
"package.json"
],
"ext": "*",
"ignore": [
"repos/*",
"dist/*"
],
"events": {
"start": "cls || clear"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/grafana/levitate.git"
},
"bugs": {
"url": "https://github.com/grafana/levitate/issues"
},
"homepage": "https://github.com/grafana/levitate#readme"
}