2022-10-30 10:02:12 +00:00
|
|
|
{
|
2022-11-02 05:39:08 +00:00
|
|
|
"name": "@waku/root",
|
2022-10-30 10:02:12 +00:00
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
|
|
|
],
|
2022-10-30 10:12:01 +00:00
|
|
|
"scripts": {
|
2022-10-30 10:16:02 +00:00
|
|
|
"prepare": "husky install",
|
|
|
|
"build": "lerna run build",
|
2022-10-30 21:56:48 +00:00
|
|
|
"size": "npm run build && size-limit",
|
2022-10-30 10:16:02 +00:00
|
|
|
"fix": "lerna run fix",
|
2022-10-30 22:35:59 +00:00
|
|
|
"check": "lerna run check",
|
2022-10-30 10:16:02 +00:00
|
|
|
"test": "lerna run test",
|
2022-10-30 22:35:59 +00:00
|
|
|
"test:browser": "lerna run test:browser",
|
|
|
|
"test:node": "lerna run test:node",
|
2022-10-30 10:16:02 +00:00
|
|
|
"proto": "lerna run proto",
|
2022-11-02 04:05:12 +00:00
|
|
|
"doc": "run-s doc:*",
|
|
|
|
"doc:html": "typedoc # --treatWarningsAsErrors",
|
|
|
|
"doc:cname": "echo 'js.waku.org' > docs/CNAME",
|
2022-10-31 01:15:37 +00:00
|
|
|
"release": "lerna run --concurrency 1 release -- --"
|
2022-10-30 10:12:01 +00:00
|
|
|
},
|
2022-10-30 10:02:12 +00:00
|
|
|
"devDependencies": {
|
2022-11-03 23:04:38 +00:00
|
|
|
"@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",
|
2022-11-03 23:07:13 +00:00
|
|
|
"@size-limit/preset-big-lib": "^8.1.0",
|
2022-11-03 23:52:08 +00:00
|
|
|
"conventional-changelog-conventionalcommits": "^5.0.0",
|
2022-11-03 23:07:13 +00:00
|
|
|
"husky": "^8.0.1",
|
|
|
|
"lerna": "^6.0.1",
|
|
|
|
"lint-staged": "^13.0.3",
|
|
|
|
"multi-semantic-release": "^3.0.1",
|
|
|
|
"semantic-release": "^19.0.5",
|
|
|
|
"size-limit": "^8.1.0",
|
|
|
|
"typedoc": "^0.23.19"
|
2022-11-03 23:04:38 +00:00
|
|
|
},
|
|
|
|
"release": {
|
|
|
|
"branches": [
|
|
|
|
"master"
|
|
|
|
],
|
|
|
|
"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"
|
|
|
|
]
|
2022-10-30 10:12:01 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.ts": [
|
|
|
|
"eslint --fix"
|
|
|
|
],
|
2022-10-31 01:26:45 +00:00
|
|
|
"*.{ts,json,js,md}": [
|
2022-10-30 10:12:01 +00:00
|
|
|
"prettier --write"
|
|
|
|
]
|
2022-10-30 10:02:12 +00:00
|
|
|
}
|
|
|
|
}
|