-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
61 lines (61 loc) · 2.42 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
{
"name": "location-insight",
"private": true,
"workspaces": [
"packages/*",
"website"
],
"scripts": {
"prepare": "husky install",
"dev": "lerna run dev --stream --no-bail",
"start:sdk": "lerna run start --stream --scope=@antv/li-sdk",
"start:editor": "lerna run start --stream --scope=@antv/li-editor",
"start:core-assets": "lerna run start --stream --scope=@antv/li-core-assets",
"start:analysis-assets": "lerna run start --stream --scope=@antv/li-analysis-assets",
"start:website": "lerna run start --stream --scope=@antv/li-website",
"lint": "npm run lint:ts && npm run lint:style",
"lint:ts": "eslint packages --ext .ts,.tsx",
"lint:style": "stylelint \"packages/**/*.less\"",
"lint-fix": "eslint packages --fix --ext .ts,.tsx --format=pretty && stylelint --fix \"packages/**/*.less\"",
"prettier": "lerna run prettier",
"clean": "scripts/clean-deps.sh",
"build:sdk": "lerna run build --scope=@antv/li-sdk",
"build:editor": "lerna run build --scope=@antv/li-editor",
"build:core-assets": "lerna run build --scope=@antv/li-core-assets",
"build:analysis-assets": "lerna run build --scope=@antv/li-analysis-assets",
"build:website": "lerna run build --scope=@antv/li-website --skip-nx-cache",
"build:package": "lerna run build --ignore=@antv/li-website --skip-nx-cache ",
"build": "cross-env BUNDLE_ENV=bundle npm run build:package",
"package-version": "lerna version --conventional-commits",
"package-preversion": "lerna version --conventional-prerelease",
"prepublishOnly": "lerna run doctor && npm run build",
"package-publish": "lerna publish from-package",
"package-betapublish": "lerna publish from-package --dist-tag beta",
"postpublish": "scripts/intranet-sync.sh"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@umijs/fabric": "^3.0.0",
"cross-env": "^7.0.3",
"eslint-plugin-import": "^2.26.0",
"gh-pages": "^4.0.0",
"husky": "^8.0.1",
"lerna": "^7.1.4",
"lint-staged": "^13.0.3",
"typescript": "^4.7.4",
"webpack-bundle-analyzer": "^4.6.1",
"worker-loader": "^3.0.8"
},
"lint-staged": {
"*.less": "stylelint --fix",
"*.{ts,tsx}": "eslint --fix",
"*.{less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"repository": "[email protected]:antvis/L7VP.git"
}