-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.49 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.49 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
{
"name": "onlyrules",
"version": "0.0.36",
"type": "module",
"main": "dist/esm/esm.js",
"module": "dist/esm/esm.js",
"types": "dist/esm/esm.d.ts",
"exports": {
".": {
"import": "./dist/esm/esm.js",
"require": "./dist/esm.cjs",
"types": "./dist/esm/esm.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"templates"
],
"author": "ranglang",
"repository": {
"type": "git",
"url": "git+https://github.com/ranglang/onlyrules.git"
},
"engines": {
"node": ">=18.0.0",
"bun": ">=1.0.0"
},
"bin": {
"onlyrules": "dist/cli.js"
},
"scripts": {
"format": "biome format --write .",
"test": "npx vitest run",
"build": "npm run build:lib && npm run build:cjs && npm run build:cli && npm run postbuild",
"build:lib": "tsc --project tsconfig.lib.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:cli": "bun build ./src/cli.ts --outdir ./dist --target node",
"postbuild": "cp dist/cjs/index.js dist/index.cjs",
"test:watch": "npx vitest",
"dev": "bun run src/cli.ts",
"lint:fix": "biome check --apply .",
"test:coverage": "npx vitest run --coverage",
"lint": "biome check ."
},
"dependencies": {},
"devDependencies": {
"commander": "^12.0.0",
"chalk": "^5.3.0",
"ora": "^8.0.1",
"node-fetch": "^3.3.2",
"vitest": "^1.2.2",
"@biomejs/biome": "1.5.3",
"@types/bun": "latest",
"typescript": "^5.3.3",
"@types/node": "^20.11.24"
}
}