UNPKG

@zainulbr/i18n-webpack-plugin

Version:

Rewrite original embed localization into your bundle with support webpack 5

92 lines (91 loc) 2.4 kB
{ "name": "@zainulbr/i18n-webpack-plugin", "version": "2.0.3", "author": "Zainul Bahar", "description": "Rewrite original embed localization into your bundle with support webpack 5", "main": "dist/cjs.js", "files": [ "dist" ], "keywords": [ "i18n", "webpack-plugin", "i18n-webpack-plugin", "webpack", "webpack5", "translation", "internationalization" ], "license": "MIT", "scripts": { "start": "npm run build -- -w", "appveyor:test": "npm run test", "build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js'", "clean": "del-cli dist", "clean:dist": "del-cli dist", "lint": "eslint --cache src test", "lint-staged": "lint-staged", "prebuild": "npm run clean", "prepublish": "npm run build", "release": "standard-version", "security": "nsp check", "serve:dev": "nodemon $2 --exec babel-node", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage", "travis:coverage": "npm run test:coverage -- --runInBand", "travis:lint": "npm run lint", "travis:test": "npm run test -- --runInBand", "webpack-defaults": "webpack-defaults" }, "devDependencies": { "@babel/cli": "^7.12.1", "@babel/core": "^7.12.3", "@babel/preset-env": "^7.12.1", "babel-jest": "^26.6.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-polyfill": "^6.26.0", "cross-env": "^7.0.2", "del-cli": "^3.0.1", "eslint": "^7.12.1", "eslint-config-webpack": "^1.2.5", "eslint-plugin-import": "^2.22.1", "jest": "^26.6.1", "lint-staged": "^10.5.0", "nsp": "^3.2.1", "pre-commit": "^1.2.2", "standard-version": "^9.0.0", "webpack": "^5.4.0", "webpack-defaults": "^4.0.0" }, "peerDependencies": { "webpack": "*" }, "jest": { "roots": [ "./" ], "moduleDirectories": [ "node_modules", "src" ] }, "engines": { "node": ">=12" }, "homepage": "https://webpack.js.org", "repository": { "type": "git", "url": "git+https://github.com/zainulbr/i18n-webpack-plugin.git" }, "bugs": { "url": "https://github.com/zainulbr/i18n-webpack-plugin/issues" }, "pre-commit": "lint-staged", "lint-staged": { "*.js": [ "eslint --fix", "git add" ] } }