forked from zouhangwithsweet/vue-components-lib-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.46 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
{
"name": "my-lib",
"version": "0.0.0",
"scripts": {
"dev": "vite --host",
"serve": "vite preview",
"build:bundle": "yarn gen-entry && cross-env NODE_ENV=build rollup -c ./scripts/rollup.config.ts",
"build:lib": "esno ./scripts/esbuild.ts",
"build": "rm -rf dist && esno ./scripts/gen-dts.ts && yarn build:bundle && yarn build:lib",
"build:example": "vue-tsc --noEmit && vite build --base=./",
"docs:dev": "esno scripts/gen-docs.ts && esno ./scripts/dev-docs.ts",
"docs:build": "esno scripts/gen-docs.ts && vitepress build docs",
"docs:serve": "vitepress serve docs",
"lint": "eslint --ext .ts,.vue --ignore-path .gitignore .eslintrc.js . --fix",
"gen": "esno ./scripts/gen-component.ts --name",
"gen-entry": "esno ./scripts/gen-entry.ts",
"test": "jest --coverage",
"cz": "git commit",
"release": "esno ./scripts/release.ts"
},
"engines": {
"node": ">=14.16.1"
},
"files": [
"dist",
"src"
],
"main": "dist/lib/my-lib.umd.js",
"module": "dist/es/my-lib.esm.js",
"typings": "dist/types/my-lib.d.ts",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && npx git-cz --hook"
}
},
"lint-staged": {
"**/*.{js,ts,vue}": [
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/preset-env": "^7.14.1",
"@babel/preset-typescript": "^7.13.0",
"@iconify/json": "^1.1.368",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@types/jest": "^26.0.23",
"@types/klaw-sync": "^6.0.0",
"@types/node": "^15.0.2",
"@types/stylus": "^0.48.34",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@vitejs/plugin-vue": "^1.2.1",
"@vitejs/plugin-vue-jsx": "^1.1.3",
"@vue/babel-plugin-jsx": "^1.0.6",
"@vue/compiler-sfc": "^3.0.5",
"@vue/test-utils": "^2.0.0-rc.8",
"@vueuse/core": "^5.0.3",
"@vueuse/motion": "^1.5.6",
"autoprefixer": "^10.2.5",
"babel-jest": "^26.6.3",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"es-module-lexer": "^0.4.1",
"esbuild-plugin-vue": "^0.1.2",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.9.0",
"esno": "^0.5.0",
"glob": "^7.1.7",
"husky": "4",
"jest": "^26.6.3",
"jpeg-js": "^0.4.3",
"klaw-sync": "^6.0.0",
"lint-staged": "10",
"plop": "^2.7.4",
"postcss": "^8.2.15",
"postcss-pxtorem": "^6.0.0",
"prettier": "^2.2.1",
"rollup-plugin-esbuild": "^4.2.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"rollup-plugin-vue": "^6.0.0",
"stylus": "^0.54.8",
"ts-jest": "^26.5.6",
"ts-morph": "^11.0.0",
"typescript": "^4.1.3",
"vite": "^2.3.8",
"vite-plugin-components": "^0.11.3",
"vite-plugin-icons": "^0.6.3",
"vite-plugin-pages": "^0.12.1",
"vite-plugin-svg-sprite": "^0.2.3",
"vite-plugin-windicss": "^1.1.1",
"vitepress": "^0.15.6",
"vue": "^3.1.1",
"vue-jest": "^5.0.0-alpha.7",
"vue-router": "^4.0.6",
"vue-tsc": "^0.0.24"
}
}