2018-06-05 23:58:10 +08:00
|
|
|
{
|
2020-12-04 20:54:45 +08:00
|
|
|
"name": "g6",
|
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
2020-01-02 21:04:40 +08:00
|
|
|
],
|
2019-12-02 19:58:02 +08:00
|
|
|
"scripts": {
|
2020-12-04 20:54:45 +08:00
|
|
|
"build:demos": "cd ./packages/pc && npm run demos",
|
|
|
|
"build:site": "cd ./packages/site && npm run start",
|
|
|
|
"build": "lerna build",
|
|
|
|
"lint": "lerna run lint",
|
|
|
|
"test": "lerna run test --no-private",
|
|
|
|
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
|
|
|
|
"pretty-quick": "pretty-quick",
|
|
|
|
"clean": "lerna clean",
|
|
|
|
"clear": "lerna clean && lerna clean -y",
|
|
|
|
"clean:modules": "rimraf node_modules",
|
|
|
|
"bootstrap": "lerna bootstrap",
|
|
|
|
"ls": "lerna list"
|
2020-01-02 21:04:40 +08:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-12-04 20:54:45 +08:00
|
|
|
"pre-commit": "lint-staged && lerna run --concurrency 1 --stream precommit"
|
2020-01-02 21:04:40 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2020-12-14 18:19:21 +08:00
|
|
|
"*.{js,jsx,tsx,ts,less,md,json}": [
|
2020-12-04 20:54:45 +08:00
|
|
|
"pretty-quick —-staged"
|
2020-08-17 14:51:02 +08:00
|
|
|
]
|
2019-12-02 19:58:02 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-12-04 20:54:45 +08:00
|
|
|
"eslint": "^7.11.0",
|
|
|
|
"eslint-config-prettier": "^6.7.0",
|
|
|
|
"eslint-plugin-import": "^2.18.2",
|
2020-05-07 05:49:04 +08:00
|
|
|
"husky": "^4.2.5",
|
2020-12-04 20:54:45 +08:00
|
|
|
"lerna": "^3.19.0",
|
|
|
|
"lint-staged": "^10.2.2",
|
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"prettier": "^2.1.2",
|
|
|
|
"pretty-quick": "^3.0.2",
|
2019-12-02 19:58:02 +08:00
|
|
|
"rimraf": "^3.0.0",
|
2020-12-04 20:54:45 +08:00
|
|
|
"tslint": "^6.1.3",
|
|
|
|
"tslint-config-airbnb": "^5.11.2",
|
|
|
|
"tslint-config-prettier": "^1.18.0",
|
|
|
|
"tslint-eslint-rules": "^5.4.0",
|
|
|
|
"typescript": "^4.0.3"
|
2020-12-14 12:03:28 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-12-14 18:19:21 +08:00
|
|
|
"@umijs/fabric": "^2.3.1",
|
|
|
|
"pre-commit": "^1.2.2"
|
2020-08-10 20:02:31 +08:00
|
|
|
}
|
2020-12-14 12:03:28 +08:00
|
|
|
}
|