chore: use tyarn

This commit is contained in:
kangwei 2020-03-30 15:06:03 +08:00
parent fb09153807
commit 4d8f39ed8f
2 changed files with 27 additions and 25 deletions

View File

@ -1,7 +1,7 @@
{
"lerna": "2.11.0",
"version": "independent",
"npmClient": "yarn",
"npmClient": "tyarn",
"registry": "http://registry.npm.alibaba-inc.com",
"useWorkspaces": true,
"packages": [

View File

@ -1,14 +1,34 @@
{
"private": true,
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/css-modules-typescript-loader",
"**/@alife/theme-lowcode-*"
]
},
"scripts": {
"build": "lerna run build",
"clean": "rm -rf ./packages/*/lib ./packages/*/es ./packages/*/dist ./packages/*/build",
"commit": "git-cz",
"pub": "lerna publish",
"setup": "./scripts/setup.sh",
"start": "./scripts/start.sh",
"build": "lerna run build",
"test": "lerna run test",
"test:snapshot": "lerna run test:snapshot",
"pub": "lerna publish",
"commit": "git-cz"
"test:snapshot": "lerna run test:snapshot"
},
"lint-staged": {
"*.{tsx,ts}": [
"eslint --quiet",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@ali/lowcode-config": "^2.0.5",
@ -26,25 +46,7 @@
"tslib": "^1.9.3",
"typescript": "^3.2.2"
},
"engines" : { "node" : "^10" },
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/css-modules-typescript-loader",
"**/@alife/theme-lowcode-*"
]
},
"lint-staged": {
"*.{tsx,ts}": [
"eslint --quiet",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
"engines": {
"node": "^10"
}
}