-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathpackage.json
135 lines (135 loc) · 4.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "vue-drag-tree-org",
"version": "2.0.0",
"description": "A library packaging tool based on rollup and vue-cli3",
"private": false,
"author": "wangdabaoqq",
"main": "src/index.js",
"license": "MIT",
"keywords": [
"vue",
"tree",
"drag"
],
"files": [
"lib",
"src",
"packages",
"types"
],
"style": "lib/theme/index.css",
"repository": {
"type": "git",
"url": "[email protected]:wangdabaoqq/vue-drag-tree.git"
},
"homepage": "[email protected]:wangdabaoqq/vue-drag-tree.git",
"bugs": {
"url": "https://github.com/wangdabaoqq/vue-drag-tree/issues"
},
"scripts": {
"dev": "cross-env NODE_ENV=development && vue-cli-service serve --copy",
"lib:cli": "cross-env rimraf ./lib && node ./build/cli.build.js",
"lib": "cross-env NODE_ENV=production rimraf ./lib && node ./build/rollup.build",
"lint:prettier": "cross-env prettier --write \"src/**/*.js\" \"src/**/*.vue\" --loglevel warn",
"lint:css": "cross-env stylelint 'packages/**/*.{html,vue,css,less,scss,styl}' --fix && stylelint 'examples/**/*.{html,vue,css,less,scss,styl}' --fix && stylelint 'src/**/*.{html,vue,css,less,scss,styl}' --fix",
"test:unit": "vue-cli-service test:unit",
"precommit": "lint-staged",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s",
"pub:rollup": "npm run uv && npm run lib",
"pub:cli": "npm run uv && npm run lib:cli",
"uv": "cross-env node ./script/update.version.js",
"publish": "npm run lib:cli && npm run lib && npm run uv"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@vue/cli-plugin-babel": "^3.11.0",
"@vue/cli-plugin-eslint": "^3.11.0",
"@vue/cli-plugin-unit-jest": "^3.11.0",
"@vue/cli-service": "^3.11.0",
"@vue/eslint-config-standard": "^4.0.0",
"@vue/test-utils": "1.0.0-beta.29",
"autoprefixer": "^9.6.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^23.6.0",
"babel-plugin-import": "^1.13.3",
"babel-plugin-transform-remove-console": "^6.9.4",
"chalk": "^2.4.2",
"conventional-changelog-cli": "^2.0.23",
"core-js": "^2.6.5",
"cross-env": "^5.2.1",
"cssnano": "^4.1.10",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"husky": "^3.0.5",
"image-webpack-loader": "^6.0.0",
"lint-staged": "^9.2.5",
"mini-css-extract-plugin": "^0.8.0",
"postcss-cssnext": "^3.1.0",
"postcss-nested": "^4.1.2",
"postcss-simple-vars": "^5.0.2",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"rollup": "^1.21.0",
"rollup-plugin-alias": "^2.0.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-filesize": "^6.2.0",
"rollup-plugin-img": "^1.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-vue": "^5.0.1",
"runjs": "^4.4.2",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"stylelint-order": "^3.1.0",
"stylelint-webpack-plugin": "^0.10.5",
"stylus-loader": "3.0.2",
"vue": "^2.6.10",
"vue-router": "^3.1.3",
"vue-template-compiler": "^2.6.10",
"vuex": "^3.1.1",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.8",
"webpack-merge": "^4.2.2"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{js}": [
"prettier --write",
"eslint --fix",
"git add"
],
"packages/**/*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"pageages/**/*.{html,vue,css,less,scss,styl}": [
"stylelint --fix",
"git add"
],
"examples/**/*.{js,jsx,vue}": [
"prettier --write",
"eslint --fix",
"git add"
],
"examples/**/*.{html,vue,css,less,scss,styl}": [
"stylelint --fix",
"git add"
]
}
}