-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 4.42 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 4.42 KB
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
90
91
92
93
94
95
96
{
"name": "@datastream/monorepo",
"version": "0.4.0",
"description": "Streams made easy.",
"private": true,
"type": "module",
"engines": {
"node": ">=24"
},
"engineStrict": true,
"scripts": {
"prepare": "husky || true",
"git:pre-commit": "npm run git:lint-staged && npm run git:test-staged",
"git:commit-msg": "commitlint --config commitlint.config.cjs --edit",
"git:lint-staged": "npm run test:lint:staged",
"git:test-staged": "which node && node -v && npm run test:unit",
"lint": "biome check --write --no-errors-on-unmatched",
"build": "bin/esbuild",
"pretest": "npm run build",
"test": "npm run test:lint && npm run test:unit && npm run test:types && npm run test:sast && npm run test:perf && npm run test:dast",
"test:lint": "biome ci --no-errors-on-unmatched",
"test:lint:staged": "biome check --staged --no-errors-on-unmatched",
"test:unit": "npm run test:unit:node && npm run test:unit:web",
"test:unit:node": "node --test --conditions=node --test-force-exit --experimental-test-coverage --test-coverage-exclude=packages/file/** --test-coverage-exclude=**/*.test.js --test-coverage-exclude=**/*.fuzz.js --test-coverage-exclude=**/*.perf.js --test-coverage-lines=96 --test-coverage-branches=93 --test-coverage-functions=95",
"test:unit:web": "node --test --conditions=webstream --experimental-test-coverage --test-coverage-exclude=packages/file/** --test-coverage-exclude=**/*.test.js --test-coverage-exclude=**/*.fuzz.js --test-coverage-exclude=**/*.perf.js --test-coverage-lines=95 --test-coverage-branches=93 --test-coverage-functions=95",
"test:sast": "npm run test:sast:license && npm run test:sast:lockfile && npm run test:sast:semgrep && npm run test:sast:trufflehog && npm run test:sast:trivy && npm run test:sast:ort",
"test:sast:license": "license-check-and-add check -f .license.config.json",
"test:sast:lockfile": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https",
"test:sast:ort": "docker run ghcr.io/oss-review-toolkit/ort --help",
"test:sast:semgrep": "semgrep scan --config auto",
"test:sast:trivy": "trivy fs --scanners vuln,license --include-dev-deps --ignored-licenses 0BSD,Apache-2.0,BSD-1-Clause,BSD-2-Clause,BSD-3-Clause,CC0-1.0,CC-BY-4.0,ISC,MIT,Python-2.0 --exit-code 1 --disable-telemetry .",
"test:sast:trufflehog": "trufflehog filesystem --only-verified --log-level=-1 ./",
"test:types": "tstyche",
"test:perf": "node --test --test-concurrency ./**/*.perf.js",
"test:dast": "npm run test:dast:fuzz",
"test:dast:fuzz": "node --test ./**/*.fuzz.js",
"rm": "npm run rm:macos && npm run rm:node_modules && npm run rm:lock",
"rm:macos": "find . -name '.DS_Store' -type f -prune -exec rm -rf '{}' +",
"rm:lock": "find . -name 'package-lock.json' -type f -prune -exec rm -rf '{}' +",
"rm:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"update": "npm update --workspaces && npm install --workspaces",
"outdated": "npm outdated --workspaces",
"audit": "npm audit fix --workspaces",
"release:license:add": "license-check-and-add add -f .license.config.json",
"release:license:remove": "license-check-and-add remove -f .license.config.json",
"release:sync": "npm version $npm_package_version --workspaces; find ./packages -name \"package.json\" -exec sed -i '' -E \"s|\\\"@datastream/(.*)\\\": ([^,]*)|\\\"@datastream/\\1\\\": $(npm pkg get version)|g\" {} \\; && npm run rm && npm install",
"release:tag": "git tag $npm_package_version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/willfarrell/datastream.git"
},
"keywords": [
"datastream",
"Stream",
"Web Stream API",
"NodeJS Stream"
],
"author": {
"name": "datastream contributors",
"url": "https://github.com/willfarrell/datastream/graphs/contributors"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/willfarrell/datastream/issues"
},
"homepage": "https://datastream.js.org",
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@commitlint/cli": "^20.0.0",
"@commitlint/config-conventional": "^20.0.0",
"@types/node": "25.6.0",
"esbuild": "^0.28.0",
"fast-check": "^4.0.0",
"husky": "^9.0.0",
"tinybench": "^6.0.0",
"tstyche": "^7.0.0"
},
"overrides": {
"@sveltejs/kit": {
"cookie": "^0.7.2"
},
"@willfarrell-ds/cli": {
"mathjs": ">=15.2.0"
},
"fast-xml-parser": ">=5.5.12",
"license-check-and-add": {
"minimatch": "^10.2.5"
}
},
"workspaces": [
"packages/*",
"websites/*",
".github"
]
}