-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.7 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
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
{
"name": "@kitabisa/smockr",
"version": "2.7.0",
"description": "Supple mock server with random fake data using Faker.js",
"license": "MIT",
"author": "Kitabisa Engineer <[email protected]>",
"scripts": {
"prepare": "husky || true",
"precompile": "rimraf ./bin ./dist",
"compile": "bun build ./server.ts --outdir ./bin --target bun --format esm --minify",
"precompile:node": "rimraf ./bin ./dist",
"compile:node": "bun build ./server.ts --outdir ./bin --target node --entry-naming [dir]/[name].mjs --format esm --minify",
"predev": "bun run compile",
"dev": "cd commands && opaline dev",
"prebuild": "NODE_ENV=production bun run compile",
"build": "cd commands && opaline build",
"lint": "eslint $(git diff --diff-filter=d --name-only main -- '***.js' '***.ts')",
"lint:all": "eslint commands utils server.ts --ext .js,.ts",
"format": "prettier --write $(git diff --diff-filter=d --name-only main -- '***.js' '***.ts')",
"format:all": "prettier --write \"**/*.{js,ts}\""
},
"bin": {
"smockr": "dist/cli.js"
},
"files": [
"bin/*",
"dist/*"
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kitabisa/smockr.git"
},
"bugs": {
"url": "https://github.com/kitabisa/smockr/issues"
},
"keywords": [
"api",
"mock",
"mocking",
"faker",
"fakerjs",
"bun",
"cli",
"tools",
"server",
"service",
"front-end",
"back-end"
],
"dependencies": {
"@faker-js/faker": "^8.4.1",
"@opaline/core": "^0.5.5",
"cors": "^2.8.5",
"express": "^4.19.2",
"jsonschema": "^1.4.1",
"morgan": "^1.10.0",
"react": "^18",
"react-dom": "^18"
},
"devDependencies": {
"@commitlint/cli": "17.8.1",
"@commitlint/config-conventional": "17.8.1",
"@types/bun": "latest",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/json-schema": "^7.0.11",
"@types/morgan": "^1.9.9",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"danger": "^12.0.0",
"danger-plugin-conventional-commitlint": "^3.0.0",
"eslint": "^8",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"rimraf": "^5.0.5",
"typescript": "^5"
},
"trustedDependencies": [
"core-js"
],
"lint-staged": {
"*.@(js|ts)": [
"bun run format",
"bun run lint",
"bash -c \"bun run tsc\""
]
}
}