@whook/example
Version:
A basic Whook server
157 lines (156 loc) • 3.71 kB
JSON
{
"name": "@whook/example",
"version": "4.0.0-alpha.7",
"description": "A basic Whook server",
"main": "dist/index.js",
"metapak": {
"configs": [
"main",
"readme",
"eslint",
"babel",
"jest"
],
"data": {
"childPackage": true,
"files": "'src/**/*.js'",
"ignore": [
"dist"
],
"bundleFiles": [
"dist/**/*.js",
"src/**/*",
"bin/**/*"
]
}
},
"scripts": {
"cli": "env NODE_ENV=${NODE_ENV:-cli}",
"compile": "babel src --out-dir=dist",
"cover": "npm run jest -- --coverage",
"debug": "NODE_ENV=${NODE_ENV:-development} DESTROY_SOCKETS=1 babel-node --inspect bin/dev",
"dev": "NODE_ENV=${NODE_ENV:-development} DESTROY_SOCKETS=1 babel-node bin/dev",
"jest": "NODE_ENV=test jest",
"lint": "eslint 'src/**/*.js'",
"metapak": "metapak",
"prettier": "prettier --write 'src/**/*.js'",
"preversion": "npm run compile",
"start": "NODE_ENV=${NODE_ENV:-development} node bin/start",
"test": "npm run jest",
"whook": "NODE_ENV=${NODE_ENV:-development} whook"
},
"author": {
"name": "Nicolas Froidure",
"email": "nicolas.froidure@insertafter.com",
"url": "http://insertafter.com/en/index.html"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nfroidure/whook.git"
},
"bugs": {
"url": "https://github.com/nfroidure/whook/issues"
},
"homepage": "https://github.com/nfroidure/whook",
"dependencies": {
"@whook/authorization": "^4.0.0-alpha.7",
"@whook/cli": "^4.0.0-alpha.7",
"@whook/cors": "^4.0.0-alpha.7",
"@whook/http-router": "^4.0.0-alpha.7",
"@whook/swagger-ui": "^4.0.0-alpha.7",
"@whook/whook": "^4.0.0-alpha.7",
"ecstatic": "^3.3.0",
"http-auth-utils": "^2.1.0",
"knifecycle": "^5.3.0",
"yerror": "^4.0.1",
"yhttperror": "^4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/node": "^7.2.2",
"@babel/plugin-proposal-object-rest-spread": "^7.3.1",
"@babel/preset-env": "^7.3.1",
"@babel/register": "^7.0.0",
"axios": "^0.18.0",
"babel-eslint": "^10.0.1",
"babel-plugin-knifecycle": "^1.0.3",
"eslint": "^5.13.0",
"eslint-plugin-prettier": "^3.0.1",
"jest": "^24.0.0",
"jsdoc-to-markdown": "^4.0.1",
"metapak": "^3.1.5",
"metapak-nfroidure": "9.6.2",
"openapi-schema-validator": "^3.0.3",
"prettier": "^1.16.3"
},
"contributors": [],
"engines": {
"node": ">=8.12.0"
},
"files": [
"dist/**/*.js",
"src/**/*",
"bin/**/*",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"eslintConfig": {
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"modules": true
},
"env": {
"es6": true,
"node": true,
"jest": true,
"mocha": true
},
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error"
}
},
"prettier": {
"semi": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "always"
},
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "8.12.0"
}
}
]
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"babel-plugin-knifecycle"
]
},
"jest": {
"coverageReporters": [
"lcov",
"html"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"roots": [
"<rootDir>/src"
]
},
"gitHead": "cc97c27a885e55f4e124c7815f34805c3fcaf055"
}