UNPKG

@regru/webpack-babel-multi-target-plugin

Version:

A Webpack plugin that works with Babel to allow deployment of ES2015 builds targeted to modern browsers, with an ES5 fallback for legacy browsers.

142 lines (141 loc) 4.88 kB
{ "name": "@regru/webpack-babel-multi-target-plugin", "description": "A Webpack plugin that works with Babel to allow deployment of ES2015 builds targeted to modern browsers, with an ES5 fallback for legacy browsers.", "keywords": [ "webpack", "webpack-plugin", "babel", "babel-loader", "esnext", "esmodules", "es2015", "es2016", "es2017", "es6", "es7" ], "version": "2.3.2", "author": { "name": "Daniel Schaffer", "email": "dan@dandoes.net", "url": "https://github.com/DanielSchaffer" }, "repository": { "type": "git", "url": "git@github.com:DanielSchaffer/webpack-babel-multi-target-plugin.git" }, "homepage": "https://github.com/DanielSchaffer/webpack-babel-multi-target-plugin", "bugs": "https://github.com/DanielSchaffer/webpack-babel-multi-target-plugin/issues", "license": "ISC", "main": "dist/index.js", "module": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "*.md", "dist/**/*", "package.json" ], "scripts": { "install-examples": "sh ./install-examples.sh", "example": "ts-node --files -P tsconfig.ts-node.json examples/build", "examples": "ts-node --files -P tsconfig.ts-node.json examples/build", "start": "ts-node --files -P tsconfig.ts-node.json examples/serve", "copy:js": "rsync -R ./src/**/*.js ./dist", "copy": "npm run copy:js", "lint": "eslint . --ext js,ts", "lint:fix": "npm run lint -- --fix", "prebuild": "rimraf dist", "build": "tsc -p ./tsconfig.build.json", "postbuild": "npm run copy", "bump-version": "./script/bump_version", "precoverage": "rimraf coverage .nyc_output", "coverage": "nyc npm test", "coverage-report": "nyc report --reporter=text-lcov | coveralls", "test": "TS_NODE_PROJECT=tsconfig.spec.json TS_NODE_FILES=true mocha src/**/*.spec.ts", "e2e": "TS_NODE_PROJECT=tsconfig.e2e.json TS_NODE_FILES=true DOTENV_CONFIG_PATH=examples/.env node -r dotenv/config -r ts-node/register node_modules/.bin/protractor examples/protractor.conf.js", "e2e-ci": "TS_NODE_PROJECT=tsconfig.e2e.json TS_NODE_FILES=true DOTENV_CONFIG_PATH=examples/.env node -r dotenv/config -r ts-node/register node_modules/.bin/protractor examples/protractor.conf.js" }, "peerDependencies": { "html-webpack-plugin": "^3.2.0", "webpack": "^4.19.0", "webpack-dev-server": "^3.1.0" }, "dependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.2.2", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.3.1", "@babel/runtime": "^7.3.1", "babel-loader": "^8.0.5", "core-js": "^2.6.3", "tapable": "^1.1.1", "webpack-merge": "^4.2.1", "webpack-sources": "^1.3.0" }, "optionalDependencies": { "html-webpack-plugin": "^3.2.0" }, "devDependencies": { "@types/babel-core": "^6.25.5", "@types/chai": "^4.1.7", "@types/compression": "0.0.36", "@types/core-js": "^2.5.0", "@types/cors": "^2.8.4", "@types/html-webpack-plugin": "^3.2.0", "@types/jasmine": "^3.3.5", "@types/jasminewd2": "^2.0.6", "@types/mocha": "^5.2.5", "@types/node": "^10.12.18", "@types/sinon-chai": "^3.2.2", "@types/tapable": "^1.0.4", "@types/webpack": "^4.4.23", "@types/webpack-dev-middleware": "^2.0.2", "@types/webpack-dev-server": "^3.1.1", "@types/webpack-merge": "^4.1.3", "@types/webpack-sources": "^0.1.5", "acorn": "^6.0.5", "acorn-dynamic-import": "^4.0.0", "browserstack-local": "^1.3.7", "chai": "^4.2.0", "compression": "^1.7.3", "cors": "^2.8.5", "coveralls": "^3.0.2", "css-loader": "^2.1.0", "dotenv": "^6.2.0", "eslint": "^5.12.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-mocha": "^5.2.0", "eslint-plugin-typescript": "^0.14.0", "express": "^4.16.4", "express-history-api-fallback": "^2.2.1", "file-loader": "^3.0.1", "hard-source-webpack-plugin": "^0.13.1", "html-loader": "^0.5.5", "html-webpack-include-assets-plugin": "^1.0.7", "html-webpack-plugin": "^3.2.0", "jasmine-core": "^3.3.0", "jasmine-spec-reporter": "^4.2.1", "mini-css-extract-plugin": "^0.5.0", "mocha": "^5.2.0", "node-sass": "^4.11.0", "null-loader": "^0.1.1", "nyc": "^13.1.0", "protractor": "^5.4.2", "pug-html-loader": "^1.1.5", "raw-loader": "^1.0.0", "rimraf": "^2.6.3", "sass-loader": "^7.1.0", "sinon": "^7.2.2", "sinon-chai": "^3.3.0", "to-string-loader": "^1.1.5", "ts-custom-error-shim": "^1.0.0-alpha.2", "ts-node": "^8.0.1", "typescript": "^3.2.4", "typescript-eslint-parser": "^22.0.0", "uglifyjs-webpack-plugin": "^2.1.1", "webpack": "^4.29.0", "webpack-dev-middleware": "^3.5.1", "webpack-dev-server": "^3.1.14" } }