-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 5.8 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
136
137
138
139
140
141
142
{
"name": "ui-lib",
"version": "0.1.0",
"private": true,
"main": "lib/index.cmd.js",
"module": "lib/index.esm.js",
"unpkg": "lib/index.cmd.js",
"style": "lib/style/index.css",
"scripts": {
"test": "jest",
"test:cov": "vue-cli-service test:unit --coverage",
"serve": "vue-cli-service serve",
"lint": "vue-cli-service lint",
"build-docs": "sh scripts/build-docs.sh",
"docs:deploy": "GH=1 sh scripts/deploy-docs.sh",
"create-module": "sh scripts/create-module.sh",
"build-lib": "vue-cli-service build --target lib --name ui-lib --modern --dest lib packages/index.js",
"build-watch": "vue-cli-service build --target lib --name ui-lib --modern --watch --dest lib packages/index.js",
"build:utils": "cross-env BABEL_ENV=utils babel packages/utils --out-dir lib/utils --ignore *.test.js",
"build:umd": "cross-env PUBLIC_PATH=/static/ui-lib/lib/ npx webpack --config build/webpack.umd.js",
"build:common": "cross-env PUBLIC_PATH=/static/ui-lib/lib/ npx webpack --config build/webpack.common.js",
"build:watch": "cross-env BUILD_WATCH=true npm run build:common",
"build:server": "cross-env BUILD_WATCH=true PUBLIC_PATH=/static/ui-lib/lib/ npx webpack-dev-server --https --config build/webpack.umd.js",
"build:file": "sh scripts/build-entry.sh && sh scripts/build-index.sh",
"build:esm-bundle": "rollup --config build/rollup.config.bundle.js",
"build:components": "rollup --config build/rollup.config.js",
"build:component": "cross-env PUBLIC_PATH=/static/ui-lib/lib/ npx webpack --config build/webpack.component.js",
"build:docs": "sh scripts/docs.sh",
"build:css": "rimraf lib/style && gulp",
"build:watchcss": "gulp watch",
"prettier": "npx prettier --write ./",
"eslint": "npx eslint packages --fix --ext .vue,.js",
"dist": "npm run clean && npm run eslint && npm run prettier && npm run build:file && npm run build:docs && npm run build:common && npm run build:umd && npm run build:component",
"docs": "npx docsify serve docs",
"push": "npm run eslint && npm run prettier && sh scripts/push.sh",
"clean": "rimraf lib",
"analyz-lib": "cross-env ANALAYZ_REPORT=true npm run build-lib",
"analyz:common": "cross-env ANALAYZ_REPORT=true npm run build:common",
"analyz:umd": "cross-env ANALAYZ_REPORT=true npm run build:umd",
"analyz:component": "cross-env ANALAYZ_REPORT=true npm run build:component",
"report": "npx eslint-reporter ./module.json --output --format html --ext .vue,.js,.jsx,.ts"
},
"dependencies": {
"core-js": "^3.18.1",
"dayjs": "^1.10.6",
"js-cool": "^2.1.3",
"vue": "^2.6.14"
},
"files": [
"bin",
"lib",
"src"
],
"devDependencies": {
"@babel/cli": "7.15.7",
"@babel/core": "7.15.5",
"@babel/preset-env": "7.15.6",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@saqqdy/prettier-config": "^1.0.3",
"@vue/babel-plugin-jsx": "^1.0.6",
"@vue/cli-plugin-babel": "4.5.13",
"@vue/cli-plugin-eslint": "4.5.13",
"@vue/cli-service": "4.5.13",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/test-utils": "^1.2.1",
"@vuese/cli": "^2.14.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.6",
"babel-loader": "^8.2.1",
"babel-plugin-import": "^1.13.1",
"babel-plugin-module-resolver": "^4.1.0",
"colors": "^1.4.0",
"cross-env": "^7.0.2",
"css-loader": "^5.2.6",
"cssnano": "4.1.11",
"cssnano-preset-advanced": "4.0.8",
"docsify-cli": "^4.4.2",
"esbuild": "^0.13.2",
"eslint": "^7.30.0",
"eslint-config-sets": "^1.5.3",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^7.1.0",
"eslint-plugin-vue-scoped-css": "^1.2.1",
"execa": "^5.1.1",
"file-loader": "^6.2.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^8.0.0",
"gulp-concat": "^2.6.1",
"gulp-cssmin": "^0.2.0",
"gulp-less": "^5.0.0",
"gulp-postcss": "^9.0.0",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^3.0.0",
"jest": "^27.0.6",
"jest-serializer-vue": "^2.0.2",
"jsdoc-to-markdown": "^6.0.1",
"less": "4.1.1",
"less-loader": "7.3.0",
"lint-staged": "11.1.2",
"mini-css-extract-plugin": "1.6.2",
"postcss-cssnext": "^3.1.0",
"prettier": "2.4.1",
"progress-bar-webpack-plugin": "^2.1.0",
"rollup": "^2.53.0",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-esbuild": "^4.5.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-vue": "5.1.9",
"style-loader": "^2.0.0",
"style-resources-loader": "^1.4.1",
"terser-webpack-plugin": "^4.2.3",
"url-loader": "^4.1.1",
"vue-cli-plugin-style-resources-loader": "^0.1.5",
"vue-jest": "^3.0.7",
"vue-loader": "^15.9.7",
"vue-template-compiler": "^2.6.11",
"webpack": "4.46.0",
"webpack-bundle-analyzer": "^4.1.0",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^3.11.0",
"webpack-node-externals": "^3.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"packages/*.{js,jsx,vue}": [
"eslint",
"git add"
]
},
"author": {
"name": "saqqdy",
"email": "[email protected]",
"url": "http://www.saqqdy.com"
},
"readme": "ERROR: No README data found!"
}