-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
89 lines (89 loc) · 3.35 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "root",
"private": true,
"homepage": "https://rimbu.org",
"author": {
"name": "Arvid Nicolaas",
"email": "arvid@rimbu.org",
"url": "https://github.com/vitoke"
},
"license": "MIT",
"funding": [
{
"type": "individual",
"url": "https://github.com/sponsors/vitoke"
}
],
"repository": {
"type": "git",
"url": "https://github.com/rimbu-org/rimbu.git"
},
"scripts": {
"build": "lerna run build",
"deno:build": "rimraf deno_dist && mkdir deno_dist && cp config/mod_root_ts_template deno_dist/mod.ts && lerna run build:deno && cp {README.md,LICENSE} deno_dist && npx replace '\\(packages' '(./rimbu' deno_dist/README.md",
"clean": "lerna run clean && lerna clean --yes && yarn",
"commit": "yarn deno:build && git add deno_dist && git-cz",
"docs": "deno run --import-map doc-gen/import_map.json --allow-read --allow-write --no-check doc-gen/src/main.ts -i doc-gen/input -o docs/api",
"extract-api": "rimraf doc-gen/input && lerna run extract-api",
"format": "yarn format:root & lerna run format",
"format:check": "yarn format:root-check & lerna run format:check",
"format:root": "yarn format:root-base --write",
"format:root-base": "prettier \"*.{ts,tsx,js,mts,mjs,json,md}\" \"config/**/*.{ts,tsx,js,mts,mjs,json,md}\"",
"format:root-check": "yarn format:root-base --check",
"lint": "lerna run lint",
"postinstall": "husky install",
"prerelease": "yarn typecheck && yarn test:types && yarn test && yarn test:random",
"publish:ci": "lerna publish from-package --no-verify-access --yes",
"test": "lerna run test",
"test:cov": "lerna run test:cov",
"test:types": "lerna run test:types",
"test:random": "lerna run test:random",
"typecheck": "lerna run typecheck",
"version:ci": "lerna version --yes --conventional-commits --message 'chore(release): publish'",
"version:localtest": "lerna version --yes --conventional-commits --no-git-tag-version --no-push",
"version:prerelease": "lerna version --yes --conventional-commits --conventional-prerelease --message 'chore(release): prepublish canary'",
"version:graduate": "lerna version --yes --conventional-commits --conventional-graduate --message 'chore(release): graduate prerelease packages'"
},
"lint-staged": {
"*.{ts,tsx,js,mts,mjs,json}": "eslint -c ./config/.eslintrc.json --cache",
"*.{ts,tsx,js,mts,mjs,json,md}--parallel": "prettier --write"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.36.1",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"@vitest/coverage-v8": "^1.2.1",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"denoify": "^1.6.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.3",
"lerna": "^7.0.2",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"ts-node": "^10.9.1",
"tsd": "^0.31.1",
"typescript": "^5.5.4",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.2.1"
},
"workspaces": {
"packages": [
"packages/*",
"performance"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"engines": {
"node": ">= 18",
"npm": "please-use-yarn",
"yarn": ">= 1.22.19"
}
}