mirror of
https://github.com/typicode/json-server.git
synced 2025-08-06 15:19:25 +08:00
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "json-server",
|
|
"version": "1.0.0-alpha.3",
|
|
"description": "",
|
|
"type": "module",
|
|
"exports": "./lib/index.js",
|
|
"types": "lib",
|
|
"files": [
|
|
"lib",
|
|
"public"
|
|
],
|
|
"scripts": {
|
|
"css": "tailwindcss -i ./views/input.css -o ./public/output.css",
|
|
"watch-ts": "tsx watch src/bin.ts db.json",
|
|
"watch-css": "npm run css -- --watch",
|
|
"dev": "concurrently npm:watch-*",
|
|
"build": "rm -rf lib && tsc && npm run css",
|
|
"test": "npm run css && node --import tsx/esm --test src/*.test.ts",
|
|
"lint": "eslint src --ext .ts --ignore-path .gitignore",
|
|
"prepare": "husky install",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "SEE LICENSE IN ./LICENSE",
|
|
"devDependencies": {
|
|
"@sindresorhus/tsconfig": "^5.0.0",
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"@types/node": "^20.10.0",
|
|
"@typicode/eslint-config": "^1.2.0",
|
|
"concurrently": "^8.2.2",
|
|
"get-port": "^7.0.0",
|
|
"husky": "^8.0.3",
|
|
"tailwindcss": "^3.3.5",
|
|
"tempy": "^3.1.0",
|
|
"tsx": "^4.5.0",
|
|
"type-fest": "^4.8.2",
|
|
"typescript": "^5.3.2"
|
|
},
|
|
"dependencies": {
|
|
"@tinyhttp/app": "^2.2.1",
|
|
"chokidar": "^3.5.3",
|
|
"dot-prop": "^8.0.2",
|
|
"eta": "^3.1.1",
|
|
"inflection": "^3.0.0",
|
|
"json5": "^2.2.3",
|
|
"lowdb": "^6.1.1",
|
|
"milliparsec": "^2.3.0",
|
|
"sirv": "^2.0.3",
|
|
"sort-on": "^6.0.0",
|
|
"zod": "^3.22.4"
|
|
}
|
|
}
|