-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
47 lines (47 loc) · 2.18 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
{
"private": true,
"scripts": {
"watch": "lerna exec --scope @uiw/react-textarea-code-editor -- tsbb watch \"src/*.{ts,tsx}\" --use-babel --cjs cjs & npm run css:watch",
"build": "lerna exec --scope @uiw/react-textarea-code-editor -- tsbb build \"src/*.{ts,tsx}\" --use-babel --cjs cjs && npm run css:build && npm run css:build:dist",
"css:build": "lerna exec --scope @uiw/react-textarea-code-editor -- compile-less -d src -o esm",
"css:watch": "lerna exec --scope @uiw/react-textarea-code-editor -- compile-less -d src -o esm --watch",
"css:build:dist": "lerna exec --scope @uiw/react-textarea-code-editor -- compile-less -d src --combine dist.css --rm-global",
"start": "lerna exec --scope website -- npm run start",
"doc": "lerna exec --scope website -- npm run build",
"bundle": "lerna exec --scope @uiw/react-textarea-code-editor -- ncc build src/index.tsx --target web --filename editor",
"bundle:min": "lerna exec --scope @uiw/react-textarea-code-editor -- ncc build src/index.tsx --target web --filename editor --minify",
"test": "lerna exec --scope @uiw/react-textarea-code-editor -- tsbb test",
"coverage": "lerna exec --scope @uiw/react-textarea-code-editor -- tsbb test --coverage --bail",
"prepare": "husky install",
"publish": "lerna publish from-package --yes --no-verify-access",
"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/react-textarea-code-editor --scope website",
"clean": "lerna clean --yes"
},
"license": "MIT",
"workspaces": [
"core",
"www"
],
"engines": {
"node": ">=16.0.0"
},
"overrides": {
"typescript": "^5.1.3"
},
"devDependencies": {
"@types/react-test-renderer": "^18.0.0",
"@kkt/scope-plugin-options": "^7.5.2",
"@kkt/less-modules": "^7.5.2",
"@kkt/ncc": "^1.0.14",
"compile-less-cli": "^1.9.0",
"husky": "^8.0.3",
"kkt": "^7.5.2",
"lint-staged": "^14.0.0",
"lerna": "^7.1.3",
"prettier": "^3.0.0",
"react-test-renderer": "^18.2.0",
"tsbb": "^4.2.1"
}
}