mirror of https://github.com/waku-org/js-waku.git
128 lines
3.1 KiB
JSON
128 lines
3.1 KiB
JSON
{
|
|
"name": "@waku/root",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"build": "lerna run build",
|
|
"size": "npm run build && size-limit",
|
|
"fix": "lerna run fix",
|
|
"check": "lerna run check",
|
|
"test": "lerna run test",
|
|
"test:browser": "lerna run test:browser",
|
|
"test:node": "lerna run test:node",
|
|
"proto": "lerna run proto",
|
|
"doc": "run-s doc:*",
|
|
"doc:html": "typedoc # --treatWarningsAsErrors",
|
|
"doc:cname": "echo 'js.waku.org' > docs/CNAME",
|
|
"release": "lerna run --concurrency 1 release -- --"
|
|
},
|
|
"devDependencies": {
|
|
"@size-limit/preset-big-lib": "^8.1.0",
|
|
"husky": "^8.0.1",
|
|
"lerna": "^6.0.1",
|
|
"lint-staged": "^13.0.3",
|
|
"size-limit": "^8.1.0",
|
|
"typedoc": "^0.23.19",
|
|
"@semantic-release/changelog": "^6.0.1",
|
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@semantic-release/github": "^8.0.6",
|
|
"@semantic-release/npm": "^9.0.1",
|
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
"semantic-release": "^19.0.5"
|
|
},
|
|
"release": {
|
|
"branches": [
|
|
"master"
|
|
],
|
|
"extends": "semantic-release-monorepo",
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"releaseRules": [
|
|
{
|
|
"breaking": true,
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"revert": true,
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "feat",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "doc",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "test",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"scope": "deps",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"scope": "no-release",
|
|
"release": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"presetConfig": {
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "Bug Fixes"
|
|
},
|
|
{
|
|
"type": "chore",
|
|
"section": "Trivial Changes"
|
|
},
|
|
{
|
|
"type": "doc",
|
|
"section": "Documentation"
|
|
},
|
|
{
|
|
"type": "test",
|
|
"section": "Tests"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"@semantic-release/changelog",
|
|
"@semantic-release/npm",
|
|
"@semantic-release/github",
|
|
"@semantic-release/git"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"eslint --fix"
|
|
],
|
|
"*.{ts,json,js,md}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|