-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.55 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
{
"$schema": "https://json.schemastore.org/package",
"name": "tatami-ng",
"type": "module",
"license": "MIT",
"version": "0.8.14",
"packageManager": "[email protected]",
"bin": {
"tatami": "cli.js"
},
"types": "./src/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./src/index.js",
"browser": "./dist/browser/index.js",
"exports": {
"types": "./src/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./src/index.js",
"browser": "./dist/browser/index.js"
},
"description": "Cross JavaScript runtime benchmarking library and CLI",
"homepage": "https://github.com/poolifier/tatami-ng#readme",
"keywords": ["benchmark", "browser", "bun", "deno", "node"],
"bugs": {
"url": "https://github.com/poolifier/tatami-ng/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/poolifier/tatami-ng.git"
},
"files": ["src", "dist"],
"scripts": {
"prepare": "bun prepare.ts",
"format": "biome format . --write",
"lint": "biome lint .",
"lint:write": "biome lint . --write",
"check": "biome check .",
"check:write": "biome check . --write",
"check:ci": "biome ci .",
"bundle": "bun bundle.ts",
"test": "run-s test:*",
"test:node": "node tests/test.js",
"test:deno": "deno run --allow-sys tests/test.js && deno run --allow-sys tests/test.ts",
"test:bun": "bun tests/test.js && bun tests/test.ts",
"build:cli": "run-s build:cli:*",
"build:cli:node": "npx --yes rimraf ./dist/node/tatami && npx --yes mkdirp ./dist/node && node --experimental-sea-config sea-config.json && npx --yes ncp $(volta which node || n which lts || nvm which node || command -v node) ./dist/node/tatami && npx --yes postject ./dist/node/tatami NODE_SEA_BLOB ./dist/node/tatami.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 && npx --yes rimraf ./dist/node/tatami.blob",
"build:cli:deno": "deno run --allow-env --allow-read --allow-write npm:rimraf tatami && deno compile --allow-read --allow-run --allow-sys --output=./dist/deno/tatami ./cli.js",
"build:cli:bun": "bunx rimraf ./dist/bun/tatami && bun build --compile --minify --sourcemap ./cli.js --outfile ./dist/bun/tatami"
},
"dependencies": {
"peowly": "^1.3.2"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@types/bun": "^1.1.14",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2"
},
"peerDependencies": {
"typescript": "^5.4.3"
}
}