-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
119 lines (119 loc) · 3.25 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "vue-d3-network-graph",
"version": "1.0.0-beta.2",
"description": "Vue component to graph networks using d3-force",
"author": "Deka",
"license": "MIT",
"files": [
"dist",
"src",
"docs"
],
"repository": {
"type": "git",
"url": "git+https://github.com/la-fabrique/vue-d3-network-graph.git"
},
"main": "./dist/vue-d3-network-graph.umd.js",
"module": "./dist/vue-d3-network-graph.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/vue-d3-network-graph.mjs",
"require": "./dist/vue-d3-network-graph.umd.js"
},
"./dist/style.css": {
"import": "./dist/style.css",
"require": "./dist/style.css"
},
"./D3NetworkGraph.vue": {
"default": "./src/D3NetworkGraph.vue"
}
},
"types": "./dist/index.d.ts",
"scripts": {
"lib:type-check": "vue-tsc --noEmit",
"lib:test": "vitest",
"lib:build": "vue-tsc --noEmit && vite build",
"lib:lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
"lib:format": "prettier . --write",
"docs:api": "ts-node ./scripts/doc.ts",
"docs:dev": "vuepress dev docs",
"docs:build": "vue-tsc --noEmit && vite build && ts-node ./scripts/doc.ts && vuepress build docs && histoire build -c ./histoire/config.ts",
"docs:preview": "vite preview --outDir ./dist-docs --base=/vue-d3-network-graph/",
"story:dev": "histoire dev -c histoire/configs.ts",
"story:preview": "histoire preview"
},
"dependencies": {
"@vueuse/components": "10.5.0",
"@vueuse/core": "^10.4.1",
"d3-force": "^3.0.0",
"d3-hierarchy": "^3.1.2",
"vue": "^3.3.4"
},
"devDependencies": {
"@histoire/plugin-vue": "0.17.1",
"@mdi/font": "7.2.96",
"@mdi/js": "^7.2.96",
"@types/d3": "^7.4.1",
"@types/webfontloader": "^1.6.35",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vitejs/plugin-vue": "^4.3.4",
"@vuepress/client": "^2.0.0-beta.67",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-vue": "^9.17.0",
"histoire": "0.17.2",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"roboto-fontface": "0.10.0",
"sass": "^1.68.0",
"sass-loader": "^13.3.2",
"ts-node": "^10.9.1",
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite-plugin-dts": "^3.6.3",
"vite-plugin-eslint": "^1.8.1",
"vitest": "^0.34.6",
"vue-router": "^4.2.5",
"vue-tsc": "^1.8.15",
"vuepress": "^2.0.0-beta.67"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended",
"prettier"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"vue/no-v-html": "off",
"@typescript-eslint/no-unused-vars": "warn",
"vue/multi-word-component-names": "off"
},
"ignorePatterns": [
"dist",
"node_modules",
"docs",
"dist-docs"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}