UNPKG

webpack-ext-reloader-mv3

Version:

Watch for file changes and reload WebExtensions on browsers.

120 lines (119 loc) 3.97 kB
{ "name": "webpack-ext-reloader-mv3", "version": "2.1.1", "private": false, "description": "Watch for file changes and reload WebExtensions on browsers.", "main": "dist/webpack-ext-reloader.js", "bin": "./dist/webpack-ext-reloader-cli.js", "types": "typings/webpack-ext-reloader.d.ts", "repository": { "type": "git", "url": "git://github.com/WebExp0528/webpack-ext-reloader.git" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "npm test" } }, "lint-staged": { "*.{js,ts}": [ "npm run lint:files", "npm run format:files" ] }, "scripts": { "build": "NODE_ENV=production webpack", "test": "NODE_ENV=test webpack && mocha dist/tests.js", "analyze": "NODE_ENV=production webpack --env.analyze", "start:dev": "NODE_ENV=development webpack --watch", "start:sample:chrome": "cross-env NODE_ENV=development cross-env TARGET_BROWSER=chrome webpack --config sample/webpack.plugin.js --watch", "start:sample:firefox": "cross-env NODE_ENV=development cross-env TARGET_BROWSER=firefox webpack --config sample/webpack.plugin.js --watch", "prepublishOnly": "npm run build", "lint": "eslint \"{src,client,typings,specs}/**/*.ts\" --fix --format codeframe", "format": "prettier --write \"{src,client,typings,specs}/**/*.ts\"", "lint:files": "eslint --fix --format codeframe", "format:files": "prettier --write" }, "author": "Rubens Pinheiro Gonçalves Cavalcante", "license": "MIT", "bugs": { "url": "https://github.com/WebExp0528/webpack-ext-reloader/issues" }, "homepage": "https://github.com/WebExp0528/webpack-ext-reloader#readme", "keywords": [ "webpack", "plugin", "browser", "extension", "WebExtensions", "hot-reload" ], "dependencies": { "@types/webextension-polyfill": "^0.8.3", "@types/webpack": "^5.28.0", "@types/webpack-sources": "^3.2.0", "clean-webpack-plugin": "^4.0.0", "colors": "^1.4.0", "cross-env": "^7.0.3", "lodash": "^4.17.21", "minimist": "^1.2.6", "useragent": "^2.3.0", "webextension-polyfill": "^0.9.0", "webpack-sources": "^3.2.3", "ws": "^8.6.0" }, "peerDependencies": { "webpack": "^5.61.0" }, "devDependencies": { "@babel/core": "7.17.10", "@babel/eslint-parser": "7.17.0", "@babel/plugin-proposal-class-properties": "7.16.7", "@babel/plugin-proposal-logical-assignment-operators": "7.16.7", "@babel/plugin-proposal-object-rest-spread": "7.17.3", "@babel/plugin-syntax-dynamic-import": "7.8.3", "@babel/plugin-transform-regenerator": "7.17.9", "@babel/preset-env": "7.17.10", "@types/chai": "4.3.1", "@types/lodash": "4.14.182", "@types/minimist": "1.2.2", "@types/mocha": "9.1.1", "@types/sinon": "10.0.11", "@types/useragent": "2.3.1", "@types/ws": "8.5.3", "@typescript-eslint/eslint-plugin": "5.23.0", "@typescript-eslint/parser": "5.23.0", "autoprefixer": "10.4.7", "babel-loader": "8.2.5", "chai": "4.3.6", "copy-webpack-plugin": "10.2.4", "css-loader": "6.7.1", "eslint": "8.15.0", "eslint-config-airbnb": "19.0.4", "eslint-config-prettier": "8.5.0", "eslint-formatter-codeframe": "7.32.1", "eslint-import-resolver-alias": "1.1.2", "eslint-plugin-import": "2.26.0", "eslint-plugin-jsx-a11y": "6.5.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "4.0.0", "eslint-plugin-react": "7.29.4", "eslint-plugin-react-hooks": "4.5.0", "husky": "4.3.8", "json-loader": "0.5.7", "lint-staged": "12.4.1", "mini-css-extract-plugin": "2.6.0", "mocha": "9.2.2", "prettier": "2.6.2", "raw-loader": "4.0.2", "sinon": "13.0.1", "source-map-support": "0.5.21", "style-loader": "3.3.1", "ts-loader": "9.3.0", "typescript": "4.6.4", "webpack": "5.72.1", "webpack-bundle-analyzer": "4.5.0", "webpack-cli": "4.9.2" } }