mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-14 17:39:34 +08:00
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "devhub",
|
|
"version": "0.36.3",
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*"
|
|
],
|
|
"nohoist": []
|
|
},
|
|
"scripts": {
|
|
"clean": "yarn workspaces run clean",
|
|
"compile": "yarn workspace @devhub/components build",
|
|
"deploy": "yarn deploy:web",
|
|
"deploy:web": "yarn workspace @devhub/web build && yarn now",
|
|
"deploy:www": "pushd packages/www; now && now alias; popd;",
|
|
"dev": "concurrently --kill-others \"yarn compile -w\" \"yarn workspace @devhub/web start\" \"yarn workspace @devhub/mobile start\"",
|
|
"dev:web": "concurrently --kill-others \"yarn compile -w\" \"yarn workspace @devhub/web start\"",
|
|
"dev:mobile": "concurrently --kill-others \"yarn compile -w\" \"yarn workspace @devhub/mobile start\"",
|
|
"format": "yarn workspaces run format",
|
|
"lint": "yarn workspaces run lint",
|
|
"now": "npx now",
|
|
"patch-package": "if test \"$NOW\" = \"1\"; then cd .; else patch-package; fi",
|
|
"prepare": "yarn patch-package",
|
|
"studio": "yarn workspace @devhub/mobile studio",
|
|
"xcode": "yarn workspace @devhub/mobile xcode"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"concurrently": "^4.1.0",
|
|
"husky": "^1.2.0",
|
|
"lint-staged-offline": "^0.0.1",
|
|
"patch-package": "^5.1.1",
|
|
"postinstall-prepare": "^1.0.1",
|
|
"prettier": "^1.15.3",
|
|
"tslint": "^5.11.0",
|
|
"tslint-config-prettier": "^1.17.0",
|
|
"tslint-react": "^3.6.0",
|
|
"typescript": "^3.2.1"
|
|
},
|
|
"resolutions": {
|
|
"scheduler": "0.12.0-alpha.3"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged-offline"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"tslint --fix",
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|