-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.68 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 3.68 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "mocker-data-generator",
"version": "4.0.0",
"description": "A simplified way to generate mock data, builds using a simple schema and with the FakerJs",
"type": "module",
"main": "./build/index.cjs",
"module": "./build/index.js",
"types": "./build/index.d.ts",
"exports": {
".": {
"import": {
"types": "./build/index.d.ts",
"default": "./build/index.js"
},
"require": {
"types": "./build/index.d.cts",
"default": "./build/index.cjs"
}
},
"./package.json": "./package.json"
},
"unpkg": "./build/browser/mocker-data-generator.min.js",
"jsdelivr": "./build/browser/mocker-data-generator.min.js",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/danibram/mocker-data-generator.git"
},
"keywords": [
"mock",
"data",
"faker",
"fakerjs",
"chance",
"chancejs",
"casual",
"randexp",
"json",
"fake",
"mocks",
"massive",
"generator"
],
"author": {
"name": "Daniel Biedma Ramos",
"email": "info@dbr.io",
"url": "https://dbr.io"
},
"files": [
"build/**/*",
"package.json",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/danibram/mocker-data-generator/issues"
},
"engines": {
"node": ">=20"
},
"scripts": {
"clean": "trash build",
"build": "npm run clean && tsc -p tsconfig.json && node scripts/bundle.mjs",
"build:browser": "node scripts/bundle.mjs",
"lint": "biome lint src",
"format": "biome format --write .",
"check": "biome check --write src",
"test": "biome ci src && c8 ava",
"test:only": "ava",
"test:watch": "ava --watch",
"coverage": "c8 --reporter=lcov --reporter=text ava",
"watch": "tsc -p tsconfig.json -w",
"docs": "typedoc src/index.ts --excludePrivate --out build/docs",
"docs:json": "typedoc --json build/docs/typedoc.json src/index.ts",
"docs:dev": "cd _docs_website && next",
"docs:build": "cd _docs_website && next build",
"docs:start": "cd _docs_website && next start",
"docs:examples": "node _docs_website/generateExamples.js",
"docs:serve": "http-server build/docs",
"docs:deploy:gh-pages": "gh-pages -d _docs_website/out -b gh-pages -t",
"changeset": "changeset",
"version": "changeset version",
"release": "npm run build && changeset publish"
},
"devDependencies": {
"@biomejs/biome": "^2.5.2",
"@changesets/cli": "^2.31.0",
"@faker-js/faker": "^10.5.0",
"@types/node": "^22.10.0",
"ava": "^8.0.1",
"c8": "^11.0.0",
"casual-browserify": "^1.5.19",
"chance": "^1.1.13",
"esbuild": "^0.28.1",
"gh-pages": "^6.3.0",
"http-server": "^14.1.1",
"randexp": "^0.5.3",
"trash-cli": "^7.2.0",
"tsx": "^4.22.4",
"typedoc": "^0.28.19",
"typescript": "^6.0.3"
},
"ava": {
"extensions": [
"ts"
],
"nodeArguments": [
"--import=tsx"
],
"workerThreads": false,
"files": [
"src/**/*.spec.ts"
]
},
"c8": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.spec.ts",
"src/lib/types.ts"
],
"reporter": [
"text"
]
}
}