UNPKG

es-dev-server

Version:

Development server for modern web apps

166 lines (165 loc) 6.24 kB
{ "name": "es-dev-server", "version": "2.1.0", "publishConfig": { "access": "public" }, "description": "Development server for modern web apps", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/open-wc/es-dev-server.git" }, "author": "open-wc", "homepage": "https://github.com/open-wc/es-dev-server", "main": "./dist/es-dev-server.js", "bin": { "es-dev-server": "./dist/cli.js" }, "engines": { "node": ">=0.10.0" }, "scripts": { "build": "tsc", "generate-certificates": "node scripts/generate-certificates.js", "release": "standard-version && git push --follow-tags origin master && npm publish", "start:babel": "node dist/cli.js -c demo/babel/server.js --open --watch", "start:base-path": "node dist/cli.js -c demo/base-path/server.js", "start:dedupe": "node dist/cli.js -c demo/dedupe/server.js --open --watch", "start:http2": "node dist/cli.js -c demo/http2/server.js", "start:import-map": "node dist/cli.js -c demo/import-map/server.js", "start:multi-page": "node dist/cli.js -c demo/web-components/server.js --open /packages/es-dev-server/demo/multi-page/ --watch", "start:node-builtins": "node dist/cli.js -c demo/node-builtins/server.js --open --watch", "start:node-resolve": "node dist/cli.js -c demo/node-resolve/server.js --open --watch", "start:performance": "node dist/cli.js -c demo/performance/server.js", "start:plugin-serve": "node dist/cli.js -c demo/plugin-serve/server.js --open --watch", "start:root-dir": "node dist/cli.js --root-dir demo/static/ --open", "start:static": "node dist/cli.js -c demo/static/server.js --open", "start:syntax": "node dist/cli.js -c demo/syntax/server.js --open --watch", "start:syntax-error": "node dist/cli.js -c demo/syntax-error/server.js --open --watch", "start:transformers": "node dist/cli.js -c demo/response-transformers/server.js", "start:typescript": "node dist/cli.js -c demo/typescript/server.js --open --watch", "start:web-components": "node dist/cli.js -c demo/web-components/server.js --open --watch", "start:web-modules": "node dist/cli.js -c demo/web-modules/server.js --open --watch", "test": "npm run test:node", "test:integration": "mocha test-integration/**/*.test.js", "test:node": "ts-mocha test/**/*.test.ts test/*.test.ts && npm run test:integration", "test:update-snapshots": "ts-mocha test/**/*.test.ts test/*.test.ts --update-snapshots", "test:watch": "ts-mocha test/**/*.test.ts test/*.test.ts --watch --watch-extensions ts" }, "files": [ ".self-signed-dev-server-ssl.cert", ".self-signed-dev-server-ssl.key", "dist" ], "keywords": [ "server", "http-server", "polyfill" ], "dependencies": { "@babel/core": "^7.11.1", "@babel/plugin-proposal-dynamic-import": "^7.10.4", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", "@babel/plugin-proposal-optional-chaining": "^7.11.0", "@babel/plugin-syntax-class-properties": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", "@babel/plugin-syntax-numeric-separator": "^7.8.3", "@babel/plugin-syntax-optional-chaining": "^7.8.3", "@babel/plugin-transform-template-literals": "^7.8.3", "@babel/preset-env": "^7.9.0", "@koa/cors": "^3.1.0", "@open-wc/building-utils": "^2.18.3", "@rollup/plugin-node-resolve": "^11.0.0", "@rollup/pluginutils": "^3.0.0", "@types/babel__core": "^7.1.3", "@types/browserslist": "^4.8.0", "@types/browserslist-useragent": "^3.0.0", "@types/caniuse-api": "^3.0.0", "@types/command-line-args": "^5.0.0", "@types/command-line-usage": "^5.0.1", "@types/debounce": "^1.2.0", "@types/koa": "^2.0.48", "@types/koa-compress": "^2.0.9", "@types/koa-etag": "^3.0.0", "@types/koa-static": "^4.0.1", "@types/koa__cors": "^3.0.1", "@types/lru-cache": "^5.1.0", "@types/mime-types": "^2.1.0", "@types/minimatch": "^3.0.3", "@types/path-is-inside": "^1.0.0", "@types/whatwg-url": "^6.4.0", "browserslist": "^4.9.1", "browserslist-useragent": "^3.0.2", "builtin-modules": "^3.1.0", "camelcase": "^5.3.1", "caniuse-api": "^3.0.0", "caniuse-lite": "^1.0.30001033", "chokidar": "^3.0.0", "command-line-args": "^5.0.2", "command-line-usage": "^6.1.0", "debounce": "^1.2.0", "deepmerge": "^4.2.2", "es-module-lexer": "^0.3.13", "get-stream": "^5.1.0", "is-stream": "^2.0.0", "isbinaryfile": "^4.0.2", "koa": "^2.7.0", "koa-compress": "^3.0.0", "koa-etag": "^3.0.0", "koa-static": "^5.0.0", "lru-cache": "^5.1.1", "mime-types": "^2.1.27", "minimatch": "^3.0.4", "open": "^7.0.3", "parse5": "^5.1.1", "path-is-inside": "^1.0.2", "polyfills-loader": "^1.7.4", "portfinder": "^1.0.21", "rollup": "^2.7.2", "strip-ansi": "^5.2.0", "systemjs": "^6.3.1", "tslib": "^1.11.1", "useragent": "^2.3.0", "whatwg-url": "^7.0.0" }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-decorators": "^7.8.3", "@babel/plugin-proposal-private-methods": "^7.8.3", "@babel/plugin-transform-modules-systemjs": "^7.10.5", "@babel/preset-typescript": "^7.8.3", "@babel/register": "^7.9.0", "@types/koa__cors": "^3.0.1", "@types/mocha": "^8.0.3", "@types/node-fetch": "^2.3.7", "@types/puppeteer": "^2.0.0", "@types/request": "^2.48.1", "abort-controller": "^3.0.0", "buffer": "^5.4.3", "chai": "^4.2.0", "koa-proxies": "^0.8.1", "lit-element": "^2.4.0", "lit-html": "^1.3.0", "lodash-es": "^4.17.15", "mocha": "^8.2.0", "node-fetch": "^2.6.0", "prettier": "^2.1.2", "puppeteer": "^5.3.1", "request": "^2.88.0", "selfsigned": "^1.10.4", "sinon": "^9.2.0", "standard-version": "^9.0.0", "ts-mocha": "^7.0.0", "typescript": "~4.0.3", "uuid": "^3.3.2" }, "prettier": { "singleQuote": true, "arrowParens": "avoid", "printWidth": 100, "trailingComma": "all" } }