54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "root",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"start": "lerna exec npm run start --scope=dooringx-lib",
|
|
"start:example": "lerna exec npm run start --scope=dooringx-example",
|
|
"start:doc": "lerna exec npm run start --scope=dooringx-dumi-doc",
|
|
"build": "lerna exec npm run build --scope=dooringx-lib",
|
|
"deploy": "lerna exec npm run docs:build --scope=dooringx-dumi-doc",
|
|
"build:cli": "lerna exec npm run build --scope=dooringx-cli",
|
|
"pub": "node ./script/publish.js",
|
|
"changelog": "node ./script/changelog.js",
|
|
"translate": "node ./script/translate.js",
|
|
"translateText": "node ./script/translateText.js"
|
|
},
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@types/md5": "^2.3.1",
|
|
"axios": "^0.24.0",
|
|
"dotenv": "^10.0.0",
|
|
"fs-extra": "^10.0.0",
|
|
"husky": "4.3.0",
|
|
"lerna": "^3.22.1",
|
|
"lint-staged": "^11.0.0",
|
|
"md5": "^2.3.0",
|
|
"prettier": "^2.2.0",
|
|
"rimraf": "^3.0.2",
|
|
"tslib": "^2.1.0",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,tsx,ts,less,md,json}": [
|
|
"npx prettier --write ./packages/dooringx-dumi-doc/docs ./packages/dooringx-lib/src",
|
|
"git add ."
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/cssinjs": "^1.9.1",
|
|
"dooringx-lib": "^1.0.0"
|
|
},
|
|
"resolutions": {
|
|
"**/@typescript-eslint/eslint-plugin": "^4.11.1",
|
|
"**/@typescript-eslint/parser": "^4.11.1",
|
|
"**/typescript": "^4.1.3"
|
|
}
|
|
}
|