-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) · 2.76 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
{
"name": "@intellectronica/ruler",
"version": "0.3.44",
"description": "Ruler — apply the same rules to all coding agents",
"main": "dist/lib.js",
"types": "dist/lib.d.ts",
"scripts": {
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"format": "prettier --write package.json package-lock.json tsconfig.json README.md .prettierrc.js eslint.config.mjs jest.config.js jest.setup.js \".github/**/*.yml\" \"src/**/*.{ts,tsx,json,md}\" \"tests/**/*.{ts,tsx,json,md}\"",
"format:check": "prettier --check package.json package-lock.json tsconfig.json README.md .prettierrc.js eslint.config.mjs jest.config.js jest.setup.js \".github/**/*.yml\" \"src/**/*.{ts,tsx,json,md}\" \"tests/**/*.{ts,tsx,json,md}\"",
"test": "jest --coverage",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:integration": "jest tests/e2e tests/integration --verbose",
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
"build": "npm run clean && tsc",
"postbuild": "node -e \"require('node:fs').chmodSync('dist/cli/index.js', 0o755)\"",
"check:package-lock": "node -e \"const pkg=require('./package.json'); const lock=require('./package-lock.json'); const root=lock.packages?.['']; if (lock.version !== pkg.version || root?.version !== pkg.version) { console.error('package-lock.json version metadata must match package.json version'); process.exit(1); }\"",
"prepare": "npm run build",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/intellectronica/ruler.git"
},
"keywords": [
"ai",
"developer-tools",
"copilot",
"codex",
"claude",
"cursor",
"aider",
"config",
"rules",
"automation"
],
"author": "Eleanor Berger",
"license": "MIT",
"bugs": {
"url": "https://github.com/intellectronica/ruler/issues"
},
"homepage": "https://ai.intellectronica.net/ruler",
"engines": {
"node": "^20.19.0 || ^22.12.0 || >=23"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"bin": {
"ruler": "dist/cli/index.js"
},
"devDependencies": {
"@types/iarna__toml": "^2.0.5",
"@types/jest": "^29.5.14",
"@types/js-yaml": "^4.0.9",
"@types/node": "^24.9.2",
"@types/yargs": "^17.0.34",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.46.2",
"eslint": "^9.38.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"jest": "^29.7.0",
"jest-util": "^29.7.0",
"prettier": "^3.6.2",
"ts-jest": "^29.4.5",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.2"
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"js-yaml": "^4.3.0",
"yargs": "^18.0.0",
"zod": "^4.1.12"
}
}