skywalking-booster-ui/package.json

106 lines
3.6 KiB
JSON
Raw Normal View History

2021-12-08 16:06:25 +08:00
{
"name": "skywalking-booster-ui",
"version": "9.4.0",
2021-12-08 16:06:25 +08:00
"private": true,
"scripts": {
"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": {
"axios": "^1.7.5",
"d3": "^7.3.0",
"d3-flame-graph": "^4.1.3",
"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",
"lodash": "^4.17.21",
"monaco-editor": "^0.34.1",
"pinia": "^2.0.28",
"vis-timeline": "^7.5.1",
"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",
"vue-router": "^4.1.6",
"vue-types": "^4.1.1"
2021-12-08 16:06:25 +08:00
},
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@rushstack/eslint-patch": "^1.1.4",
"@types/d3": "^7.1.0",
"@types/d3-tip": "^3.5.5",
"@types/echarts": "^4.9.12",
"@types/jsdom": "^20.0.1",
"@types/lodash": "^4.14.179",
"@types/node": "^18.11.12",
2021-12-08 16:06:25 +08:00
"@types/three": "^0.131.0",
"@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",
"cypress": "^13.3.2",
"eslint": "^8.22.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-vue": "^9.3.0",
"husky": "^8.0.2",
"jsdom": "^20.0.3",
"lint-staged": "^13.2.1",
"mockjs": "^1.1.0",
"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",
"prettier": "^2.7.1",
"sass": "^1.56.1",
"start-server-and-test": "^2.0.5",
"stylelint": "15.9.0",
2021-12-21 14:53:10 +08:00
"stylelint-config-html": "^1.0.0",
"stylelint-config-prettier": "9.0.4",
"stylelint-config-standard": "^33.0.0",
"stylelint-order": "^6.0.3",
"typescript": "~4.7.4",
"unplugin-auto-import": "^0.18.2",
"unplugin-vue-components": "^0.27.3",
"vite": "^4.5.3",
"vite-plugin-monaco-editor": "^1.1.0",
"vite-plugin-svg-icons": "^2.0.1",
"vitest": "^0.25.6",
"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": {
"*.{js,jsx,ts,tsx,vue}": [
"eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix --ignore-path .gitignore",
"prettier --write \"src/**/*.{js,tsx,css,less,scss,vue,html,md}\"",
"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"
],
"package.json, *.md": [
2021-12-21 14:44:51 +08:00
"prettier --write"
]
2021-12-08 16:06:25 +08:00
}
}