gulp-server-io
Version:
A local static server, plus livereload and a socket.io debugger for your SPA development with gulp
156 lines (155 loc) • 4 kB
JSON
{
"name": "gulp-server-io",
"version": "1.5.1",
"description": "A local static server, plus livereload and a socket.io debugger for your SPA development with gulp",
"homepage": "https://newbran.ch",
"author": [
{
"name": "NEWBRAN.CH",
"email": "info@newbran.ch",
"url": "https://newbran.ch"
},
{
"name": "Joel Chu",
"email": "joelckchu@gmail.com",
"url": "https://joelchu.com"
}
],
"files": [
"src",
"index.js",
"server.js",
"cli.js"
],
"main": "index.js",
"keywords": [
"node",
"connect",
"server",
"express",
"livereload",
"socket.io",
"gulp",
"development",
"SPA",
"deployment"
],
"devDependencies": {
"ava": "2.0.0",
"debug": "^4.1.1",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-xo": "^0.26.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^2.4.0",
"lint-staged": "^8.2.0",
"nsp": "^3.2.1",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"supertest": "^4.0.2"
},
"scripts": {
"prepublish-Only": "nsp check",
"pretest": "eslint . --fix",
"precommit": "lint-staged",
"test": "DEBUG=gulp-server-io:* ava --timeout=10s",
"meow": "node ./cli-meow.js",
"dev": "node ./__tests__/examples/site.js",
"test-jest": "NODE_TLS_REJECT_UNAUTHORIZED=0 jest --runInBand --forceExit",
"test:option": "DEBUG=gulp-server-io:inject jest standalone/6-option.test.js",
"test:socket": "jest standalone/1-basic.test.js",
"test:part": "DEBUG=gulp-server-io:main jest --forceExit --detectOpenHandles ./__tests__/main/1-basic-1.test.js",
"test:cli": "NODE_TLS_REJECT_UNAUTHORIZED=0 jest main/4-fallback.test.js",
"example:gulp": "DEBUG=gulp-server-io:watchers,gulp-server-io:main gulp wire --gulpfile ./__tests__/examples/gulpfile.js",
"example:dev": "DEBUG=gulp-server-io:watchers,gulp-server-io:main gulp dev --gulpfile ./__tests__/examples/gulpfile.js",
"example:standalone": "DEBUG=gulp-server-io:mock node ./__tests__/examples/standalone.js",
"example:main": "NODE_ENV=testx node ./__tests__/examples/index.js",
"example:fork": "DEBUG=gulp-webserver-io:stream-watcher node ./__tests__/examples/child.js"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
},
"eslintConfig": {
"extends": [
"xo",
"prettier"
],
"env": {
"jest": true,
"node": true
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"printWidth": 90
}
]
},
"plugins": [
"prettier"
]
},
"repository": {
"url": "git@gitlab.com:newbranltd/gulp-server-io.git",
"type": "git"
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/fixtures/",
"/examples/"
],
"collectCoverage": true
},
"ava": {
"files": [
"__tests__/ava/**/*.js",
"!__tests__/examples/**/*.js",
"!__tests__/funcs/**/*.js",
"!__tests__/gulp/**/*.js",
"!__tests__/main/**/*.js",
"!__tests__/standalone/**/*.js"
],
"failFast": true
},
"license": "MIT",
"dependencies": {
"body-parser": "^1.19.0",
"chalk": "^2.4.2",
"cheerio": "^1.0.0-rc.2",
"chokidar": "^3.0.1",
"express": "^4.17.1",
"express-interceptor": "^1.2.0",
"fancy-log": "^1.3.3",
"fs-extra": "^8.0.1",
"gulp": "github:gulpjs/gulp#v4.0.0",
"helmet": "^3.18.0",
"http-proxy-middleware": "^0.19.1",
"json-server": "^0.15.0",
"lodash": "^4.17.11",
"meow": "^5.0.0",
"morgan": "^1.9.1",
"open": "^6.3.0",
"socket.io": "^2.2.0",
"stacktrace-js": "^2.0.0",
"through2": "^3.0.1",
"vinyl": "^2.2.0",
"yargs": "^13.2.4"
},
"bin": {
"gulp-server-io": "./cli.js",
"gsio": "./cli.js"
},
"engines": {
"node": ">=7.00"
}
}