-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 2.22 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
{
"private": true,
"scripts": {
"⬇️⬇️⬇️⬇️⬇️ package ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ package ▼▼▼▼▼",
"build": "lerna exec --scope @uiw/* -- tsbb build src/*.tsx --use-babel --cjs cjs --bail && npm run css:build && npm run css:build:dist",
"watch": "lerna exec \"tsbb watch src/*.tsx --use-babel --cjs cjs\" --scope @uiw/* & npm run css:watch",
"css:build": "lerna exec --scope @uiw/* -- compile-less -d src -o esm",
"css:watch": "lerna exec --scope @uiw/* -- compile-less -d src -o esm --watch",
"css:build:dist": "lerna exec --scope @uiw/* -- compile-less -d src -o lib --combine=dist.css",
"bundle": "lerna exec --scope @uiw/* -- ncc build src/index.tsx --target web --filename dist",
"bundle:min": "lerna exec --scope @uiw/* -- ncc build src/index.tsx --target web --filename dist --minify",
"⬆️⬆️⬆️⬆️⬆️ package ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ package ▲▲▲▲▲",
"start": "lerna exec --scope website -- npm run start",
"doc": "lerna exec --scope website -- npm run build",
"bootstrap": "lerna bootstrap",
"hoist": "lerna bootstrap --hoist",
"test": "tsbb test",
"coverage": "tsbb test --coverage --bail",
"prepare": "husky install",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"remove": "npm run clean && lerna exec \"rm -rf package-lock.json\" --scope @uiw/* --scope website",
"clean": "lerna clean --yes"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,less,md,json}": [
"prettier --write"
]
},
"jest": {
"collectCoverageFrom": [
"<rootDir>/core/src/**/*.{js,jsx,ts,tsx}"
],
"testMatch": [
"<rootDir>/test/*.{ts,tsx}"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/?!(.*)"
]
},
"workspaces": [
"website",
"core"
],
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@kkt/less-modules": "^7.5.4",
"@kkt/ncc": "^1.1.1",
"compile-less-cli": "^1.8.13",
"husky": "^8.0.1",
"lerna": "^8.0.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.1",
"tsbb": "^4.1.14"
}
}