2021-12-08 16:06:25 +08:00
|
|
|
{
|
2021-12-09 10:49:42 +08:00
|
|
|
"name": "skywalking-booster-ui",
|
2022-12-17 14:07:03 +08:00
|
|
|
"version": "9.4.0",
|
2021-12-08 16:06:25 +08:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2022-12-17 14:07:03 +08:00
|
|
|
"dev": "vite",
|
|
|
|
"build": "run-p type-check build-only",
|
|
|
|
"preview": "vite preview",
|
|
|
|
"test:unit": "vitest --environment jsdom --root src/",
|
|
|
|
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' :4173 'cypress open --e2e'",
|
|
|
|
"build-only": "vite build",
|
|
|
|
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
|
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
|
|
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
|
|
|
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
|
|
"lint:lint-staged": "lint-staged",
|
2023-06-14 09:35:35 +08:00
|
|
|
"prepare": "husky install",
|
|
|
|
"check-components-types": "if (! git diff --quiet -U0 ./src/types); then echo 'type files are not updated correctly'; git diff -U0 ./src/types; exit 1; fi"
|
2021-12-08 16:06:25 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-08-26 10:34:10 +08:00
|
|
|
"axios": "^1.7.5",
|
2022-02-19 23:05:57 +08:00
|
|
|
"d3": "^7.3.0",
|
2022-04-24 20:24:23 +08:00
|
|
|
"d3-flame-graph": "^4.1.3",
|
2022-02-19 23:05:57 +08:00
|
|
|
"d3-tip": "^0.9.1",
|
2021-12-30 15:08:36 +08:00
|
|
|
"echarts": "^5.2.2",
|
2023-11-14 20:37:15 +08:00
|
|
|
"element-plus": "^2.2.5",
|
2022-02-26 22:47:53 +08:00
|
|
|
"lodash": "^4.17.21",
|
2022-12-17 14:07:03 +08:00
|
|
|
"monaco-editor": "^0.34.1",
|
|
|
|
"pinia": "^2.0.28",
|
2022-06-22 19:11:02 +08:00
|
|
|
"vis-timeline": "^7.5.1",
|
2022-12-17 14:07:03 +08:00
|
|
|
"vue": "^3.2.45",
|
2021-12-22 19:21:10 +08:00
|
|
|
"vue-grid-layout": "^3.0.0-beta1",
|
2021-12-08 16:06:25 +08:00
|
|
|
"vue-i18n": "^9.1.9",
|
2022-12-17 14:07:03 +08:00
|
|
|
"vue-router": "^4.1.6",
|
2022-07-19 11:57:26 +08:00
|
|
|
"vue-types": "^4.1.1"
|
2021-12-08 16:06:25 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-06-28 21:19:01 +08:00
|
|
|
"@commitlint/cli": "^17.6.6",
|
|
|
|
"@commitlint/config-conventional": "^17.6.6",
|
2022-12-17 14:07:03 +08:00
|
|
|
"@rushstack/eslint-patch": "^1.1.4",
|
2022-02-19 23:05:57 +08:00
|
|
|
"@types/d3": "^7.1.0",
|
|
|
|
"@types/d3-tip": "^3.5.5",
|
2021-12-30 16:37:12 +08:00
|
|
|
"@types/echarts": "^4.9.12",
|
2022-12-17 14:07:03 +08:00
|
|
|
"@types/jsdom": "^20.0.1",
|
2022-02-26 22:47:53 +08:00
|
|
|
"@types/lodash": "^4.14.179",
|
2022-12-17 14:07:03 +08:00
|
|
|
"@types/node": "^18.11.12",
|
2021-12-08 16:06:25 +08:00
|
|
|
"@types/three": "^0.131.0",
|
2022-12-17 14:07:03 +08:00
|
|
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
|
|
"@vitejs/plugin-vue-jsx": "^3.0.0",
|
|
|
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
|
|
"@vue/eslint-config-typescript": "^11.0.0",
|
|
|
|
"@vue/test-utils": "^2.2.6",
|
|
|
|
"@vue/tsconfig": "^0.1.3",
|
|
|
|
"@vueuse/core": "^9.6.0",
|
2023-10-19 17:41:18 +08:00
|
|
|
"cypress": "^13.3.2",
|
2022-12-17 14:07:03 +08:00
|
|
|
"eslint": "^8.22.0",
|
|
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
|
|
"eslint-plugin-vue": "^9.3.0",
|
|
|
|
"husky": "^8.0.2",
|
|
|
|
"jsdom": "^20.0.3",
|
2023-04-25 10:20:27 +08:00
|
|
|
"lint-staged": "^13.2.1",
|
2023-03-22 17:00:24 +08:00
|
|
|
"mockjs": "^1.1.0",
|
2022-12-17 14:07:03 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-12-22 15:52:39 +08:00
|
|
|
"postcss-html": "^1.3.0",
|
2021-12-21 15:08:29 +08:00
|
|
|
"postcss-scss": "^4.0.2",
|
2022-12-17 14:07:03 +08:00
|
|
|
"prettier": "^2.7.1",
|
|
|
|
"sass": "^1.56.1",
|
2024-08-26 10:34:10 +08:00
|
|
|
"start-server-and-test": "^2.0.5",
|
2023-06-28 21:19:01 +08:00
|
|
|
"stylelint": "15.9.0",
|
2021-12-21 14:53:10 +08:00
|
|
|
"stylelint-config-html": "^1.0.0",
|
2023-06-28 21:19:01 +08:00
|
|
|
"stylelint-config-prettier": "9.0.4",
|
2023-04-25 10:20:27 +08:00
|
|
|
"stylelint-config-standard": "^33.0.0",
|
|
|
|
"stylelint-order": "^6.0.3",
|
2022-12-17 14:07:03 +08:00
|
|
|
"typescript": "~4.7.4",
|
2024-08-26 12:13:03 +08:00
|
|
|
"unplugin-auto-import": "^0.18.2",
|
|
|
|
"unplugin-vue-components": "^0.27.3",
|
2024-04-06 19:00:30 +08:00
|
|
|
"vite": "^4.5.3",
|
2022-12-17 14:07:03 +08:00
|
|
|
"vite-plugin-monaco-editor": "^1.1.0",
|
|
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
|
|
"vitest": "^0.25.6",
|
2024-08-26 12:13:03 +08:00
|
|
|
"vue-tsc": "^1.8.27"
|
2021-12-08 16:06:25 +08:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"> 1%",
|
|
|
|
"last 2 versions",
|
|
|
|
"not dead"
|
|
|
|
],
|
2021-12-21 14:44:51 +08:00
|
|
|
"lint-staged": {
|
2023-02-06 13:38:19 +08:00
|
|
|
"*.{js,jsx,ts,tsx,vue}": [
|
|
|
|
"eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix --ignore-path .gitignore",
|
2022-12-17 14:07:03 +08:00
|
|
|
"prettier --write \"src/**/*.{js,tsx,css,less,scss,vue,html,md}\"",
|
2023-02-06 13:38:19 +08:00
|
|
|
"stylelint --cache --fix \"**/*.{vue}\" --cache --cache-location node_modules/.cache/stylelint/"
|
|
|
|
],
|
|
|
|
"*.{scss,less}": [
|
|
|
|
"prettier --write \"src/**/*.{js,tsx,css,less,scss,vue,html,md}\"",
|
|
|
|
"stylelint --cache --fix \"**/*.{less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/"
|
2021-12-21 15:29:43 +08:00
|
|
|
],
|
2021-12-21 14:44:51 +08:00
|
|
|
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
|
|
|
|
"prettier --write"
|
|
|
|
],
|
2024-08-26 12:13:03 +08:00
|
|
|
"package.json, *.md": [
|
2021-12-21 14:44:51 +08:00
|
|
|
"prettier --write"
|
|
|
|
]
|
2021-12-08 16:06:25 +08:00
|
|
|
}
|
|
|
|
}
|