-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
101 lines (101 loc) · 6.34 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"$schema": "https://json.schemastore.org/package.json",
"private": true,
"funding": "https://jaywcjlove.github.io/#/sponsor",
"homepage": "https://uiwjs.github.io/react-amap",
"scripts": {
"prepare": "husky install",
"build": "lerna exec \"tsbb build \\\"src/*.{tsx,ts}\\\" --use-babel --bail\" --scope @uiw/* --ignore @uiw/react-amap-types",
"bundle": "lerna exec \"ncc build src/index.tsx --target web --filename amap\" --scope @uiw/react-amap",
"bundle:watch": "lerna exec \"ncc watch src/index.tsx --target web --filename amap\" --scope @uiw/react-amap",
"bundle:min": "lerna exec \"ncc build src/index.tsx --target web --filename amap --minify\" --scope @uiw/react-amap",
"⬇️⬇️⬇️⬇️⬇️ watch ⬇️⬇️⬇️⬇️⬇️": "▼▼▼▼▼ watch::package ▼▼▼▼▼",
"watch:amap": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap",
"watch:api-loader": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-api-loader",
"watch:auto-complete": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-auto-complete",
"watch:bezier-curve": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-bezier-curve",
"watch:circle": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-circle",
"watch:circle-marker": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-circle-marker",
"watch:context-menu": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-context-menu",
"watch:control-bar-control": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-control-bar-control",
"watch:ellipse": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-ellipse",
"watch:geolocation": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-geolocation",
"watch:hawk-eye-control": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-hawk-eye-control",
"watch:info-window": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-info-window",
"watch:map": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-map",
"watch:map-type-control": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-map-type-control",
"watch:tile-layer": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-tile-layer",
"watch:marker": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-marker",
"watch:label-marker": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-label-marker",
"watch:mass-marks": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-mass-marks",
"watch:mouse-tool": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-mouse-tool",
"watch:poly-editor": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-poly-editor",
"watch:polygon": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-polygon",
"watch:polygon-editor": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-polygon-editor",
"watch:polyline": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-polyline",
"watch:polyline-editor": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-polyline-editor",
"watch:rectangle": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-rectangle",
"watch:require-script": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-require-script",
"watch:scale-control": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-scale-control",
"watch:text": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-text",
"watch:tool-bar-control": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-tool-bar-control",
"watch:utils": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-utils",
"watch:weather": "lerna exec \"tsbb watch \\\"src/*.{tsx,ts}\\\" --use-babel\" --scope @uiw/react-amap-weather",
"⬆️⬆️⬆️⬆️⬆️ watch ⬆️⬆️⬆️⬆️⬆️": "▲▲▲▲▲ watch::package ▲▲▲▲▲",
"type-check": "lerna exec \"tsc --noEmit\" --scope @uiw/*",
"test": "tsbb test",
"coverage": "tsbb test --coverage --bail",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"bootstrap": "lerna bootstrap",
"hoist": "lerna bootstrap --hoist",
"doc:build": "lerna exec \"npm run build\" --scope website",
"start": "lerna exec \"npm run start\" --scope website",
"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"
},
"author": "Kenny Wong <[email protected]>",
"license": "MIT",
"lint-staged": {
"*.{js,jsx,ts,tsx,less,md,json}": [
"prettier --write"
]
},
"workspaces": [
"packages/**",
"website"
],
"engines": {
"node": ">=20.0.0"
},
"jest": {
"testMatch": [
"<rootDir>/test/*.{ts,tsx}",
"<rootDir>/packages/**/__tests__/*.{ts,tsx}"
],
"collectCoverageFrom": [
"<rootDir>/packages/**/*.{tsx,ts}",
"!**/.kktrc.ts",
"!**/*.{js,d.ts}"
]
},
"devDependencies": {
"@types/react": "~18.2.16",
"@types/react-dom": "~18.2.7",
"@types/react-test-renderer": "~18.0.0",
"@kkt/less-modules": "^7.5.2",
"@kkt/ncc": "^1.0.15",
"jest": "^29.5.0",
"jest-watch-typeahead": "^2.2.2",
"jest-environment-jsdom": "^29.5.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"react-test-renderer": "~18.2.0",
"cross-env": "~7.0.3",
"husky": "^8.0.3",
"prettier": "^3.0.0",
"lint-staged": "^15.1.0",
"lerna": "^8.0.0",
"tsbb": "^4.1.14"
}
}