mirror of
https://github.com/cudr/slate-collaborative.git
synced 2024-10-27 20:34:06 +00:00
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"description": "Slate collaborative plugin & microservice",
|
|
"scripts": {
|
|
"bootstrap": "lerna bootstrap",
|
|
"release": "yarn prebuild && yarn build && lerna publish from-package",
|
|
"dev": "concurrently \"yarn watch\" \"lerna run dev --stream\"",
|
|
"build": "lerna run build --stream",
|
|
"watch": "lerna run --parallel watch",
|
|
"clean:module": "lerna clean --yes",
|
|
"prebuild": "rm -rf ./packages/**/lib/",
|
|
"test": "lerna run test --stream",
|
|
"format": "prettier --write"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*"
|
|
],
|
|
"nohoist": [
|
|
"**/jest"
|
|
]
|
|
},
|
|
"author": "cudr",
|
|
"license": "MIT",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,babelrc}": [
|
|
"yarn run format",
|
|
"git add"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^4.1.2",
|
|
"husky": "^3.0.5",
|
|
"lerna": "^3.16.4",
|
|
"lint-staged": "^9.2.5",
|
|
"prettier": "^1.18.2"
|
|
}
|
|
}
|