-
-
Notifications
You must be signed in to change notification settings - Fork 120
/
package.json
82 lines (82 loc) · 3.71 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
{
"name": "uiw-project",
"description": "A high quality UI Toolkit, A Component Library for React 16+.",
"homepage": "https://uiwjs.github.io",
"private": true,
"scripts": {
"lib": "lerna exec --scope @uiw/react-collapse -- tsbb build \"src/*.{ts,tsx}\" --use-babel --cjs cjs",
"lib:css": "lerna exec --scope @uiw/react-collapse -- compile-less -d src -o esm",
"lib:css:dist": "lerna exec --scope @uiw/react-collapse -- compile-less -d src -o lib --combine=dist.css",
"lib:css:watch": "lerna exec --scope @uiw/react-collapse -- compile-less -d src -o esm --watch",
"lib:watch": "lerna exec --scope @uiw/react-collapse -- tsbb watch \"src/*.{ts,tsx}\" --use-babel --cjs cjs & npm run lib:css:watch",
"lib:bootstrap": "lerna bootstrap --hoist --scope @uiw/react-collapse",
"lib:build": "npm run lib && npm run lib:css && npm run lib:css:dist",
"//>>>>>>>>>>>>": "<<<<<<<<<<",
"watch:other:lib": "lerna exec --parallel --scope @uiw/* --ignore @uiw/doc -- tsbb watch \"src/*.{ts,tsx}\" --use-babel --cjs cjs",
"watch:uiw": "lerna exec --scope uiw -- tsbb watch \"src/*.{ts,tsx}\" --use-babel --cjs cjs",
"watch:react-menu": "lerna exec --scope @uiw/react-menu -- tsbb watch \"src/*.{ts,tsx}\" --use-babel --cjs cjs",
"watch:css:react-menu": "lerna exec --scope @uiw/react-menu -- compile-less -d src -o esm --watch",
"//-----------": "//-----------",
"build": "npm run b:uiw && npm run b:css && npm run b:css:dist",
"start": "lerna exec --scope website -- npm run start",
"doc": "npm run b:website && npm run b:doc",
"b:website": "lerna exec --scope website -- npm run build",
"b:doc": "lerna exec --scope @uiw/doc -- node script/released.js",
"b:uiw": "lerna exec --scope @uiw/* --scope uiw --ignore @uiw/doc -- tsbb build \"src/*.{ts,tsx}\" --use-babel --cjs cjs",
"b:css": "lerna exec --scope @uiw/* -- compile-less -d src -o esm",
"b:css:dist": "lerna exec --scope @uiw/* --scope @uiw/utils -- compile-less -d src -o lib --combine=dist.css",
"b:bundle": "lerna exec --scope uiw -- ncc build --target web --filename uiw",
"b:bundle:min": "lerna exec --scope uiw -- ncc build --target web --filename uiw --minify",
"bundle": "npm run b:bundle && npm run b:bundle:min",
"prepare": "husky install",
"bootstrap": "lerna bootstrap",
"bootstrap:webiste": "lerna bootstrap --scope website",
"test": "tsbb test --env=jsdom",
"coverage": "tsbb test --coverage",
"u:version": "lerna version --no-changelog --no-push --no-git-tag-version --yes && npm run b:doc",
"u:publish": "lerna publish from-package --yes --no-verify-access",
"remove": "lerna exec \"rm -rf node_modules package-lock.json\"",
"clean": "lerna clean --yes",
"compile-less": "compile-less",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"jest": {
"testMatch": [
"<rootDir>/packages/**/src/**/__test__/*.{js,jsx,ts,tsx}"
]
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"workspaces": [
"packages/**",
"website"
],
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@kkt/less-modules": "^7.5.4",
"@kkt/ncc": "^1.1.1",
"@types/react": "~18.2.0",
"@types/react-dom": "~18.2.0",
"@types/react-test-renderer": "~18.0.0",
"@types/react-transition-group": "~4.4.4",
"compile-less-cli": "^1.9.1",
"husky": "~8.0.0",
"kkt": "^7.5.4",
"lerna": "^8.0.0",
"lint-staged": "^15.1.0",
"prettier": "^3.0.3",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"react-test-renderer": "~18.2.0",
"tsbb": "^4.1.14"
}
}