-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
60 lines (60 loc) · 2.27 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
{
"private": true,
"scripts": {
"doc": "lerna exec --scope www -- npm run build",
"start": "lerna exec --scope www -- npm run start",
"⬇️⬇️⬇️⬇️⬇️ 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 ▲▲▲▲▲",
"type-check": "tsc --noEmit",
"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,ts,tsx,html,less,md,json}'",
"remove": "npm run clean && lerna exec \"rm -rf package-lock.json\" --scope react-code-preview-layout --scope www",
"clean": "lerna clean --yes"
},
"workspaces": [
"core",
"www"
],
"engines": {
"node": ">=16.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,html,less,md,json}": [
"prettier --write"
]
},
"jest": {
"collectCoverageFrom": [
"<rootDir>/core/src/*.{tsx,ts}"
],
"coverageReporters": [
"lcov",
"json-summary"
]
},
"devDependencies": {
"@kkt/ncc": "^1.0.15",
"@kkt/less-modules": "^7.5.2",
"compile-less-cli": "^1.9.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.6.0",
"jest-environment-node": "^29.5.0",
"jest-watch-typeahead": "^2.2.2",
"husky": "~8.0.3",
"kkt": "^7.5.2",
"lerna": "^8.0.0",
"lint-staged": "^15.1.0",
"prettier": "^3.0.0",
"tsbb": "^4.2.4"
}
}