mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
98 lines
4.9 KiB
JSON
98 lines
4.9 KiB
JSON
{
|
|
"name": "es-dev-server",
|
|
"main": "./dist/es-dev-server.js",
|
|
"version": "1.10.2",
|
|
"description": "Development server for modern web apps",
|
|
"author": "open-wc",
|
|
"homepage": "https://github.com/open-wc/open-wc/",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"es-dev-server": "./dist/cli.js"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
".self-signed-dev-server-ssl.key",
|
|
".self-signed-dev-server-ssl.cert",
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "babel src --out-dir dist --copy-files --include-dotfiles",
|
|
"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",
|
|
"start": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch --http2",
|
|
"start:compat-esm": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch --http2 --compatibility esm",
|
|
"start:compat-modern": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch --http2 --compatibility modern",
|
|
"start:compat-all": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch --http2 --compatibility all",
|
|
"start:node": "yarn build && node dist/cli.js --app-index demo/node-resolve/index.html --node-resolve --open --watch --http2",
|
|
"start:node-compat-modern": "yarn build && node dist/cli.js --app-index demo/node-resolve/index.html --node-resolve --open --watch --http2 --compatibility modern",
|
|
"start:node-compat-all": "yarn build && node dist/cli.js --app-index demo/node-resolve/index.html --node-resolve --open --watch --http2 --compatibility all",
|
|
"start:static": "yarn build && node dist/cli.js --open demo/static/",
|
|
"start:monorepo": "yarn build && node dist/cli.js --root-dir ../../ --app-index packages/es-dev-server/demo/monorepo/index.html --node-resolve --open --watch --http2",
|
|
"start:config": "yarn build && node dist/cli.js --config demo/static/es-dev-server.config.js --open demo/static/",
|
|
"start:root-dir": "yarn build && node dist/cli.js --root-dir demo/static/ --open",
|
|
"start:http1": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --watch --compatibility all",
|
|
"start:no-watch": "yarn build && node dist/cli.js --app-index demo/import-map/index.html --open --compatibility all",
|
|
"start:babel": "yarn build && node dist/cli.js --app-index demo/babel/index.html --open --watch --http2 --babel",
|
|
"start:no-babel": "yarn build && node dist/cli.js --app-index demo/babel/index.html --open --http2 --watch",
|
|
"start:typescript": "yarn build && node dist/cli.js --app-index demo/typescript/index.html --file-extensions .ts --node-resolve --open --watch --http2 --babel",
|
|
"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:base-path": "yarn build && node dist/cli.js --app-index demo/base-path/index.html --base-path /my-base-path --node-resolve --http2 --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 --http2 --watch --open",
|
|
"generate-certificates": "node scripts/generate-certificates.js",
|
|
"prepublishOnly": "npm run build && ../../scripts/insert-header.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/open-wc/open-wc.git",
|
|
"directory": "packages/es-dev-server"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.4.5",
|
|
"@babel/plugin-syntax-import-meta": "^7.2.0",
|
|
"@babel/preset-env": "^7.4.5",
|
|
"@open-wc/building-utils": "^2.5.3",
|
|
"@types/minimatch": "^3.0.3",
|
|
"babel-plugin-bare-import-rewrite": "^1.5.1",
|
|
"camelcase": "^5.3.1",
|
|
"chokidar": "^3.0.0",
|
|
"command-line-args": "^5.0.2",
|
|
"command-line-usage": "^5.0.5",
|
|
"debounce": "^1.2.0",
|
|
"deepmerge": "^3.3.0",
|
|
"get-stream": "^5.1.0",
|
|
"is-stream": "^2.0.0",
|
|
"koa": "^2.7.0",
|
|
"koa-etag": "^3.0.0",
|
|
"koa-static": "^5.0.0",
|
|
"lru-cache": "^5.1.1",
|
|
"minimatch": "^3.0.4",
|
|
"opn": "^5.4.0",
|
|
"strip-ansi": "^5.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.2.3",
|
|
"@babel/plugin-proposal-class-properties": "^7.4.4",
|
|
"@babel/plugin-proposal-decorators": "^7.4.4",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@babel/register": "^7.0.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",
|
|
"babel-preset-typescript": "^7.0.0-alpha.19",
|
|
"chai": "^4.2.0",
|
|
"koa-proxies": "^0.8.1",
|
|
"lit-element": "2.0.0",
|
|
"lit-html": "0.14.0",
|
|
"mocha": "^5.0.0",
|
|
"node-fetch": "^2.6.0",
|
|
"request": "^2.88.0",
|
|
"selfsigned": "^1.10.4"
|
|
}
|
|
}
|