Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.2 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.2 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
{
"name": "vague-lang",
"version": "3.4.3",
"description": "A declarative language for generating realistic test data",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"vague": "dist/cli.js"
},
"files": [
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mcclowes/vague.git"
},
"homepage": "https://github.com/mcclowes/vague#readme",
"bugs": {
"url": "https://github.com/mcclowes/vague/issues"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/mcclowes"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc",
"test": "vitest",
"test:run": "vitest run",
"dev": "tsc --watch",
"examples": "for f in examples/*.vague; do echo \"\\n=== $f ===\" && node dist/cli.js \"$f\"; done",
"example": "f() { node dist/cli.js \"examples/$1\"; }; f",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"lint:spec": "node dist/cli.js --lint-spec",
"prepare": "husky",
"prepublishOnly": "npm run build && npm run test:run",
"release": "npm run build && npm run test:run && npm publish"
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write",
"eslint --fix"
]
},
"keywords": [
"test-data",
"mock-data",
"fixture",
"faker",
"generator",
"dsl",
"openapi",
"json-schema",
"testing"
],
"author": "Max Clayton Clowes <max@mcclowes.com>",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^25.0.2",
"eslint": "^9.39.2",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"midi-writer-js": "^3.1.1",
"prettier": "^3.7.4",
"typescript": "^5.9.3",
"typescript-eslint": "^8.50.0",
"vitest": "^4.0.15"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^15.5.1",
"@faker-js/faker": "^10.1.0",
"@stoplight/spectral-core": "^1.20.0",
"@stoplight/spectral-rulesets": "^1.22.0",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"openapi-types": "^12.1.3",
"randexp": "^0.5.3"
}
}