-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
103 lines (103 loc) · 2.77 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
{
"name": "twtree",
"version": "4.3.1",
"description": "A highly customizable tree component for vue, which features checkbox, async loading, drag and drop, context menu and custom appearance.",
"main": "lib/twtree.umd.js",
"module": "lib/twtree.esm.js",
"unpkg": "lib/twtree.min.js",
"keywords": [
"vue",
"tree",
"vue tree",
"checkbox",
"draggable",
"custom appearance"
],
"author": "yinquan",
"private": false,
"license": "MIT",
"homepage": "https://github.com/TinyWisp/twtree",
"repository": {
"type": "git",
"url": "git+https://github.com/TinyWisp/twtree.git"
},
"scripts": {
"serve": "vue-cli-service serve example/main.js",
"lint": "vue-cli-service lint",
"test": "jest",
"build": "npm run build:umd & npm run build:es & npm run build:unpkg",
"build:umd": "rollup --compact --config rollup.config.js --format umd --file lib/twtree.umd.js",
"build:es": "rollup --compact --config rollup.config.js --format es --file lib/twtree.esm.js",
"build:unpkg": "rollup --compact --config rollup.config.js --format iife --file lib/twtree.min.js",
"build:docs": "vue-cli-service build example/main.js"
},
"dependencies": {
"core-js": "^3.22.4",
"vue": "^2.6.14"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^11.1.0",
"@vue/cli-plugin-babel": "^5.0.4",
"@vue/cli-plugin-eslint": "^5.0.4",
"@vue/cli-service": "^5.0.8",
"@vue/test-utils": "^1.3.0",
"@vue/vue2-jest": "^29.2.2",
"axios": "^0.21.4",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^29.3.1",
"babel-preset-env": "^1.7.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^5.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"postcss": "^8.4.13",
"rollup": "^2.72.1",
"rollup-plugin-vue": "^5.1.9",
"vue-axios": "^2.1.5",
"vue-router": "^3.5.3",
"vue-template-compiler": "^2.6.14"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"rules": {
"no-console": "off",
"no-constant-condition": "off"
},
"parserOptions": {
"parser": "babel-eslint"
}
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"jest": {
"testEnvironment": "jest-environment-jsdom",
"moduleFileExtensions": [
"js",
"json",
"vue"
],
"transform": {
".*\\.(vue)$": "@vue/vue2-jest",
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
},
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/TWTree.vue"
]
}
}