mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
131 lines
6.5 KiB
JSON
131 lines
6.5 KiB
JSON
{
|
|
"name": "es-dev-server",
|
|
"version": "1.23.1",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"description": "Development server for modern web apps",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/open-wc/open-wc.git",
|
|
"directory": "packages/es-dev-server"
|
|
},
|
|
"author": "open-wc",
|
|
"homepage": "https://github.com/open-wc/open-wc/",
|
|
"main": "./dist/es-dev-server.js",
|
|
"bin": {
|
|
"es-dev-server": "./dist/cli.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"scripts": {
|
|
"build": "babel src --out-dir dist --copy-files --include-dotfiles",
|
|
"generate-certificates": "node scripts/generate-certificates.js",
|
|
"prepublishOnly": "npm run build && ../../scripts/insert-header.js",
|
|
"start": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch",
|
|
"start:compatibility": "yarn build && node dist/cli.js -c demo/compatibility/server.js",
|
|
"start:compatibility:min": "yarn build && node dist/cli.js -c demo/compatibility/server.js --compatibility min",
|
|
"start:compatibility:max": "yarn build && node dist/cli.js -c demo/compatibility/server.js --compatibility max",
|
|
"start:babel": "yarn build && node dist/cli.js --app-index demo/babel/index.html --open --watch --babel",
|
|
"start:base-path": "yarn build && node dist/cli.js --app-index demo/base-path/index.html --base-path /my-base-path --node-resolve --watch --open",
|
|
"start:base-path-compat": "yarn build && node dist/cli.js --app-index demo/base-path/index.html --base-path /my-base-path --node-resolve --compatibility all --watch --open",
|
|
"start:compat-all": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch --compatibility all",
|
|
"start:compat-esm": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch --compatibility esm",
|
|
"start:compat-modern": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch --compatibility modern",
|
|
"start:config": "yarn build && node dist/cli.js --config demo/static/es-dev-server.config.js --open demo/static/",
|
|
"start:http1": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch --compatibility all",
|
|
"start:http2": "yarn build && node dist/cli.js --app-index demo/http2/index.html --config demo/http2/es-dev-server.config.js --open --watch --compatibility all",
|
|
"start:index-rewrite": "yarn build && node dist/cli.js --app-index demo/index-rewrite/index.html --config demo/index-rewrite/es-dev-server.config.js --node-resolve --open /",
|
|
"start:monorepo": "yarn build && node dist/cli.js --root-dir ../../ --app-index packages/es-dev-server/demo/monorepo/index.html --node-resolve --open --watch",
|
|
"start:no-babel": "yarn build && node dist/cli.js --app-index demo/babel/index.html --open --watch",
|
|
"start:no-watch": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --compatibility all",
|
|
"start:node": "yarn build && node dist/cli.js -c demo/node-resolve/server.js",
|
|
"start:node-compat-all": "yarn build && node dist/cli.js -c demo/node-resolve/server.js --compatibility all",
|
|
"start:node-compat-modern": "yarn build && node dist/cli.js -c demo/node-resolve/server.js --compatibility modern",
|
|
"start:performance": "yarn build && node dist/cli.js --root-dir ../../ --app-index packages/es-dev-server/demo/performance/index.html --node-resolve --watch",
|
|
"start:performance:compat-esm": "yarn build && node dist/cli.js --root-dir ../../ --app-index packages/es-dev-server/demo/performance/index.html --node-resolve --compatibility esm --watch",
|
|
"start:root-dir": "yarn build && node dist/cli.js --root-dir demo/static/ --open",
|
|
"start:static": "yarn build && node dist/cli.js --open demo/static/",
|
|
"start:transformers": "yarn build && node dist/cli.js --app-index demo/response-transformers/index.html --config demo/response-transformers/config.js --node-resolve --open --watch",
|
|
"start:typescript": "yarn build && node dist/cli.js --app-index demo/typescript/index.html --file-extensions .ts --node-resolve --open --watch --babel",
|
|
"test": "npm run test:node",
|
|
"test:node": "mocha test/**/*.test.js test/*.test.js --require @babel/register",
|
|
"test:update-snapshots": "mocha test/**/*.test.js test/*.test.js --require @babel/register --update-snapshots"
|
|
},
|
|
"files": [
|
|
".self-signed-dev-server-ssl.cert",
|
|
".self-signed-dev-server-ssl.key",
|
|
"dist"
|
|
],
|
|
"keywords": [
|
|
"server",
|
|
"http-server",
|
|
"polyfill"
|
|
],
|
|
"dependencies": {
|
|
"@babel/core": "^7.7.2",
|
|
"@babel/plugin-proposal-dynamic-import": "^7.7.0",
|
|
"@babel/plugin-syntax-class-properties": "^7.2.0",
|
|
"@babel/plugin-syntax-import-meta": "^7.2.0",
|
|
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.2.0",
|
|
"@babel/plugin-syntax-numeric-separator": "^7.2.0",
|
|
"@babel/plugin-syntax-optional-chaining": "^7.2.0",
|
|
"@babel/preset-env": "^7.7.1",
|
|
"@open-wc/building-utils": "^2.10.2",
|
|
"@types/minimatch": "^3.0.3",
|
|
"babel-plugin-bare-import-rewrite": "^1.5.1",
|
|
"browserslist": "^4.7.2",
|
|
"browserslist-useragent": "^3.0.2",
|
|
"camelcase": "^5.3.1",
|
|
"caniuse-api": "^3.0.0",
|
|
"caniuse-lite": "^1.0.30001008",
|
|
"chokidar": "^3.0.0",
|
|
"command-line-args": "^5.0.2",
|
|
"command-line-usage": "^5.0.5",
|
|
"debounce": "^1.2.0",
|
|
"deepmerge": "^3.2.0",
|
|
"es-module-lexer": "0.3.9",
|
|
"get-stream": "^5.1.0",
|
|
"is-stream": "^2.0.0",
|
|
"koa": "^2.7.0",
|
|
"koa-compress": "^3.0.0",
|
|
"koa-etag": "^3.0.0",
|
|
"koa-static": "^5.0.0",
|
|
"lru-cache": "^5.1.1",
|
|
"minimatch": "^3.0.4",
|
|
"opn": "^5.4.0",
|
|
"path-is-inside": "^1.0.2",
|
|
"portfinder": "^1.0.21",
|
|
"resolve": "^1.11.1",
|
|
"strip-ansi": "^5.2.0",
|
|
"useragent": "^2.3.0",
|
|
"whatwg-url": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.7.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.7.0",
|
|
"@babel/plugin-proposal-decorators": "^7.7.0",
|
|
"@babel/plugin-transform-modules-systemjs": "^7.7.0",
|
|
"@babel/preset-typescript": "^7.7.2",
|
|
"@babel/register": "^7.7.0",
|
|
"@types/koa": "^2.0.48",
|
|
"@types/koa-static": "^4.0.1",
|
|
"@types/lru-cache": "^5.1.0",
|
|
"@types/node-fetch": "^2.3.7",
|
|
"@types/request": "^2.48.1",
|
|
"abort-controller": "^3.0.0",
|
|
"chai": "^4.2.0",
|
|
"koa-proxies": "^0.8.1",
|
|
"lit-element": "^2.0.1",
|
|
"lit-html": "^1.0.0",
|
|
"lodash-es": "^4.17.15",
|
|
"mocha": "^6.0.0",
|
|
"node-fetch": "^2.6.0",
|
|
"request": "^2.88.0",
|
|
"selfsigned": "^1.10.4",
|
|
"sinon": "^7.4.1",
|
|
"uuid": "^3.3.2"
|
|
}
|
|
} |