cudr_slate-collaborative/package.json

47 lines
1.3 KiB
JSON

{
"private": true,
"version": "0.6.0",
"description": "Slate collaborative plugin & microservice",
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "rimraf ./packages/**/lib/ && rimraf ./packages/**/tsconfig.tsbuildinfo && lerna clean --yes",
"release": "yarn prebuild && yarn build && lerna publish from-package",
"deploy:site": "git subtree push --prefix packages/example heroku master",
"dev": "lerna run --stream build:js && concurrently \"yarn watch\" \"lerna run dev --stream\"",
"build": "lerna run build:module --stream",
"watch": "lerna run --parallel watch",
"clean:module": "lerna clean --yes",
"prebuild": "yarn clean",
"test": "lerna run test --stream",
"format": "prettier --write"
},
"workspaces": [
"packages/*"
],
"author": "cudr",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cudr/slate-collaborative.git"
},
"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.20.2",
"lint-staged": "^9.2.5",
"prettier": "^1.18.2",
"rimraf": "^3.0.2"
}
}