UNPKG

zopfli-webpack-plugin

Version:

Prepare compressed versions of assets with node-zopfli

75 lines (74 loc) 2.14 kB
{ "name": "zopfli-webpack-plugin", "version": "0.1.0", "description": "Prepare compressed versions of assets with node-zopfli", "author": "Joshua Wiens @d3viant0ne", "main": "dist/cjs.js", "files": [ "dist" ], "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", "lint": "eslint --cache src test", "lint-staged": "lint-staged", "prebuild": "npm run clean", "prepublish": "npm run build", "release": "standard-version", "security": "nsp check", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage", "travis:lint": "npm run lint && npm run security", "travis:test": "npm run test -- --runInBand", "travis:coverage": "npm run test:coverage -- --runInBand", "webpack-defaults": "webpack-defaults" }, "dependencies": { "async": "^2.4.0", "node-zopfli": "^2.0.2", "webpack-sources": "^1.0.1" }, "devDependencies": { "babel-cli": "^6.24.1", "babel-jest": "^20.0.3", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-polyfill": "^6.23.0", "babel-preset-env": "^1.5.1", "cross-env": "^5.0.1", "del-cli": "^1.0.0", "eslint": "^3.19.0", "eslint-config-webpack": "^1.2.2", "eslint-plugin-import": "^2.2.0", "jest": "^20.0.4", "lint-staged": "^3.4.1", "nsp": "^2.6.3", "pre-commit": "^1.2.2", "standard-version": "^4.0.0", "webpack-defaults": "^1.4.0" }, "engines": { "node": ">= 4.3 < 5.0.0 || >= 5.10" }, "peerDependencies": { "webpack": "^2.0.0 || ^3.0.0" }, "homepage": "https://webpack.js.org", "repository": { "type": "git", "url": "git+https://github.com/webpack-contrib/zopfli-webpack-plugin.git" }, "bugs": { "url": "https://github.com/webpack-contrib/zopfli-webpack-plugin/issues" }, "pre-commit": "lint-staged", "lint-staged": { "*.js": [ "eslint --fix", "git add" ] } }