Skip to content

Commit 723088e

Browse files
committed
feat: switch to monorepo
1 parent 38dfdec commit 723088e

File tree

3 files changed

+2953
-5105
lines changed

3 files changed

+2953
-5105
lines changed

lerna.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"packages": [
3+
"packages/*"
4+
],
5+
"version": "independent",
6+
"npmClient": "yarn",
7+
"usingWorkspaces": true
8+
}

package.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"private": true,
3+
"name": "taro-ui",
4+
"description": "UI KIT for Taro",
5+
"author": "O2Team <aotu.io>",
6+
"homepage": "https://taro-ui.aotu.io",
7+
"repository": {
8+
"type": "git",
9+
"url": "[email protected]:nervjs/taro-ui.git"
10+
},
11+
"license": "MIT",
12+
"workspaces": {
13+
"packages": [
14+
"packages/*"
15+
]
16+
},
17+
"scripts": {
18+
"build": "lerna run build"
19+
},
20+
"devDependencies": {
21+
"@commitlint/cli": "^8.3.5",
22+
"@commitlint/config-conventional": "^8.3.4",
23+
"@typescript-eslint/eslint-plugin": "^2.26.0",
24+
"@typescript-eslint/parser": "^2.26.0",
25+
"conventional-changelog-cli": "^2.0.31",
26+
"cross-env": "^7.0.2",
27+
"eslint": "^6.8.0",
28+
"eslint-config-o2team": "^0.1.7",
29+
"eslint-config-prettier": "^6.10.1",
30+
"eslint-plugin-import": "^2.20.2",
31+
"eslint-plugin-prettier": "^3.1.2",
32+
"eslint-plugin-react": "^7.19.0",
33+
"eslint-plugin-react-hooks": "^3.0.0",
34+
"husky": "^4.2.3",
35+
"lerna": "^3.20.2",
36+
"lint-staged": "^10.1.2",
37+
"prettier": "^2.0.3",
38+
"rimraf": "^3.0.2",
39+
"stylelint": "^13.3.0",
40+
"stylelint-config-standard": "^20.0.0",
41+
"stylelint-scss": "^3.16.0",
42+
"typescript": "~3.7.2"
43+
},
44+
"husky": {
45+
"hooks": {
46+
"pre-commit": "lint-staged",
47+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
48+
}
49+
},
50+
"lint-staged": {
51+
"*.{js,jsx,ts,tsx}": "eslint --quiet --cache --fix",
52+
"src/**/*.scss": "stylelint --syntax scss --fix"
53+
}
54+
}

0 commit comments

Comments
 (0)