mirror of
https://github.com/typicode/json-server.git
synced 2025-08-05 22:51:54 +08:00
94 lines
2.2 KiB
JSON
94 lines
2.2 KiB
JSON
{
|
|
"name": "json-server",
|
|
"version": "0.9.4",
|
|
"description": "Serves JSON files through REST routes.",
|
|
"main": "./lib/server/index.js",
|
|
"bin": "./bin/index.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"dependencies": {
|
|
"body-parser": "^1.15.2",
|
|
"chalk": "^1.1.3",
|
|
"compression": "^1.6.0",
|
|
"connect-pause": "^0.1.0",
|
|
"cors": "^2.3.0",
|
|
"errorhandler": "^1.2.0",
|
|
"express": "^4.9.5",
|
|
"json-parse-helpfulerror": "^1.0.3",
|
|
"lodash": "^4.11.2",
|
|
"lowdb": "^0.14.0",
|
|
"method-override": "^2.1.2",
|
|
"morgan": "^1.3.1",
|
|
"object-assign": "^4.0.1",
|
|
"pluralize": "^3.0.0",
|
|
"request": "^2.72.0",
|
|
"server-destroy": "^1.0.1",
|
|
"shortid": "^2.2.6",
|
|
"underscore-db": "^0.12.2",
|
|
"update-notifier": "^1.0.2",
|
|
"yargs": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.10.1",
|
|
"babel-preset-es2015": "^6.16.0",
|
|
"babel-register": "^6.16.3",
|
|
"cross-env": "^2.0.1",
|
|
"husky": "^0.11.4",
|
|
"markdown-toc": "^0.13.0",
|
|
"mkdirp": "^0.5.1",
|
|
"mocha": "^3.1.2",
|
|
"os-tmpdir": "^1.0.1",
|
|
"rimraf": "^2.5.2",
|
|
"server-ready": "^0.3.1",
|
|
"standard": "^8.3.0",
|
|
"supertest": "^2.0.0",
|
|
"temp-write": "^2.1.0"
|
|
},
|
|
"scripts": {
|
|
"test": "npm run test:cli && npm run test:server && standard --fix",
|
|
"test:cli": "npm run build && cross-env NODE_ENV=test mocha test/cli/*.js",
|
|
"test:server": "cross-env NODE_ENV=test mocha test/server/*.js",
|
|
"start": "node bin",
|
|
"prepush": "npm t",
|
|
"build": "babel src -d lib --copy-files",
|
|
"toc": "markdown-toc -i README.md",
|
|
"prepublish": "npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/typicode/json-server.git"
|
|
},
|
|
"keywords": [
|
|
"JSON",
|
|
"server",
|
|
"fake",
|
|
"REST",
|
|
"API",
|
|
"prototyping",
|
|
"mock",
|
|
"mocking",
|
|
"test",
|
|
"testing",
|
|
"rest",
|
|
"data",
|
|
"dummy",
|
|
"sandbox"
|
|
],
|
|
"author": "Typicode <typicode@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/typicode/json-server/issues"
|
|
},
|
|
"homepage": "https://github.com/typicode/json-server",
|
|
"standard": {
|
|
"fix": true,
|
|
"env": {
|
|
"mocha": true
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.12"
|
|
}
|
|
}
|