-
Notifications
You must be signed in to change notification settings - Fork 61
/
package.json
126 lines (126 loc) · 3.89 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
{
"name": "bkui-vue",
"version": "2.0.1-beta.93",
"private": true,
"workspaces": [
"packages/**",
"scripts/cli",
"site"
],
"files": [
"lib",
"dist"
],
"packageManager": "[email protected]",
"sideEffects": [
"*.css",
"*.less"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"unsafe-perm": true
},
"scripts": {
"prepublishOnly": "npm run build && node scripts/pre-publish.js",
"postpublish": "node scripts/post-publish.js",
"prepare": "husky install",
"dev": "lerna run --stream --scope site dev",
"debug": "TS_NODE_CWD=./scripts/cli node --inspect-brk -r ts-node/register ./scripts/cli/index.ts lib",
"build": "run-s build:dist build:lib",
"build:site": "lerna run --stream --scope site build && cp -r ./site/views/ ./site/dist/views",
"build:dist": "rimraf dist && lerna run --stream --scope cli dist",
"build:lib": "npm run build:preset && rimraf lib && lerna run --stream --scope cli lib && rimraf preset",
"build:preset": "rimraf preset && lerna run --stream --scope cli preset",
"help:release": "lerna run --stream --scope cli release",
"release": "yarn build && yarn help:release",
"analyze:lib": "rimraf lib && lerna run --stream --scope cli lib -- -a",
"generate:icon": "lerna run --scope @bkui-vue/icon build",
"changelog": "conventional-changelog -c .changelog.config.js -p angular -i CHANGELOG.md -s -l",
"lint:packages": "npx eslint --fix ./packages",
"lint:site": "npx eslint --fix ./site",
"lint:scripts": "npx eslint --fix ./scripts",
"lint": "run-p lint:site lint:packages lint:scripts",
"stylelint": "stylelint --fix ./{packages,site}/**/*.{vue,less} --custom-syntax",
"test:unit": "jest --passWithNoTests --config=./jest.config.js",
"test:alert": "lerna run --scope @bkui-vue/alert test",
"cz": "git-cz"
},
"devDependencies": {
"@babel/core": "~7.22.9",
"@babel/plugin-transform-runtime": "~7.22.9",
"@babel/preset-env": "~7.22.9",
"@babel/preset-typescript": "~7.22.5",
"@blueking/bkui-lint": "0.0.3",
"@commitlint/cli": "~16.2.3",
"@commitlint/config-conventional": "~16.2.1",
"@types/jest": "~29.5.3",
"@types/lodash": "~4.14.196",
"@types/node": "~20.4.5",
"@types/postcss-less": "~4.0.2",
"@vue/babel-plugin-jsx": "~1.1.5",
"@vue/test-utils": "~2.4.1",
"@vue/vue3-jest": "~29.2.4",
"babel-jest": "~29.6.2",
"clipboard": "~2.0.8",
"commitizen": "~4.3.0",
"conventional-changelog-cli": "~2.2.2",
"cross-env": "~7.0.3",
"css-loader": "~6.8.1",
"cz-lerna-changelog": "~2.0.3",
"highlight.js": "~11.8.0",
"husky": "~7.0.1",
"jest": "~29.6.2",
"jest-environment-jsdom": "~29.6.2",
"jest-transform-stub": "~2.0.0",
"lerna": "~4.0.0",
"less": "~4.2.0",
"less-loader": "~10.2.0",
"lint-staged": "~12.3.7",
"normalize-wheel": "~1.0.1",
"npm-run-all": "~4.1.5",
"plop": "~3.1.2",
"postcss": "~8.4.27",
"prismjs": "~1.29.0",
"resize-observer-polyfill": "~1.5.1",
"rimraf": "~5.0.1",
"ts-jest": "~29.1.1",
"ts-node": "~10.9.1",
"typescript": "~4.9.5",
"uuid": "~9.0.1",
"vue": "~3.3.4",
"vue-types": "~4.1.1"
},
"peerDependencies": {
"highlight.js": "~11.5.0",
"vue": "^3.2.0"
},
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"lint-staged": {
"*.{js,json}": [
"npx prettier --write"
],
"*.{ts?(x)}": [
"npx eslint --fix --color"
],
"*.vue": [
"npx eslint --fix --color"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-lerna-changelog"
}
},
"dependencies": {
"@floating-ui/dom": "~1.5.0",
"@popperjs/core": "~2.11.8",
"date-fns": "~2.30.0",
"js-calendar": "~1.2.3",
"json-formatter-js": "~2.3.4",
"lodash": "~4.17.21",
"tinycolor2": "~1.6.0",
"vue-types": "~4.1.1"
}
}