generated from uiwjs/react-monorepo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 2.17 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
{
"private": true,
"scripts": {
"⬇️⬇️⬇️⬇️⬇️ package ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ package ▼▼▼▼▼",
"build": "lerna exec --scope @uiw/* -- npm run build",
"watch": "lerna exec --scope @uiw/react-watermark -- npm run start",
"watch:core": "lerna exec --scope @uiw/watermark.js -- npm start",
"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>/react/src/*.{tsx,ts}",
"!**/*.{js,d.ts}"
],
"testMatch": [
"<rootDir>/test/*.{ts,tsx}",
"<rootDir>/packages/**/__tests__/*.{ts,tsx}"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/?!(.*)"
]
},
"workspaces": [
"website",
"react",
"core"
],
"devDependencies": {
"@kkt/ncc": "^1.0.14",
"@types/react-test-renderer": "^18.0.0",
"compile-less-cli": "^1.8.13",
"husky": "^8.0.1",
"jest": "^29.5.0",
"jest-canvas-mock": "^2.5.0",
"jest-watch-typeahead": "^2.2.2",
"jest-environment-jsdom": "^29.5.0",
"lerna": "^7.1.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"react-test-renderer": "^18.2.0",
"tsbb": "^4.1.14"
}
}