2019-10-05 08:44:49 +00:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "Slate collaborative plugin & microservice",
|
|
|
|
"scripts": {
|
|
|
|
"bootstrap": "lerna bootstrap",
|
2019-10-05 09:07:11 +00:00
|
|
|
"release": "yarn prebuild && yarn build && lerna publish from-package",
|
2019-10-05 21:24:52 +00:00
|
|
|
"dev": "concurrently \"yarn watch\" \"lerna run dev --stream\"",
|
2019-10-05 08:44:49 +00:00
|
|
|
"build": "lerna run build --stream",
|
2019-10-05 21:24:52 +00:00
|
|
|
"watch": "lerna run --parallel watch",
|
2019-10-22 20:41:04 +00:00
|
|
|
"clean:module": "lerna clean --yes",
|
2019-10-05 09:07:11 +00:00
|
|
|
"prebuild": "rm -rf ./packages/**/lib/",
|
2019-10-22 20:41:04 +00:00
|
|
|
"test": "lerna run test --stream",
|
2019-10-05 08:44:49 +00:00
|
|
|
"format": "prettier --write"
|
|
|
|
},
|
2019-10-22 20:41:04 +00:00
|
|
|
"workspaces": {
|
|
|
|
"packages": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
|
|
|
"nohoist": [
|
|
|
|
"**/jest"
|
|
|
|
]
|
|
|
|
},
|
2019-10-05 08:44:49 +00:00
|
|
|
"author": "cudr",
|
|
|
|
"license": "MIT",
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-10-19 20:29:09 +00:00
|
|
|
"*.{js,jsx,ts,tsx,babelrc}": [
|
2019-10-05 08:44:49 +00:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|