UNPKG

wordpress-enqueue-chunks-webpack-plugin

Version:

A webpack plugin that manages registering and enqueing split chunks in a wordpress environment

48 lines (47 loc) 1.46 kB
{ "name": "wordpress-enqueue-chunks-webpack-plugin", "version": "0.2.1", "description": "A webpack plugin that manages registering and enqueing split chunks in a wordpress environment", "main": "index.js", "scripts": { "build": "tsc", "build:watch": "npm run build -- -w", "lint": "tslint src/**/*.ts", "lint:fix": "npm run lint -- --fix", "prepublishOnly": "npm run preflight && npm run build", "preversion": "npm run preflight && npm run build", "postversion": "git push && git push --tags", "test:php": "composer test", "test:js": "export NODE_ENV=test && jest --verbose", "test:watch": "npm run test:js -- --watch", "test": "npm run test:php && npm run test:js", "preflight": "npm run lint && npm run test" }, "keywords": [ "webpack", "webpack-plugin", "splitchunks", "wordpress" ], "author": "Josh Arens <josh@pro.photo> (https://github.com/j-arens)", "license": "MIT", "repository": { "url": "https://github.com/j-arens/wordpress-enqueue-chunks-webpack-plugin", "type": "git" }, "bugs": { "url": "https://github.com/j-arens/wordpress-enqueue-chunks-webpack-plugin/issues" }, "peerDependencies": { "webpack": "^4.0.0" }, "devDependencies": { "@types/jest": "^23.3.5", "@types/node": "^10.7.1", "@types/webpack": "^4.4.10", "jest": "^23.6.0", "tslint": "^5.11.0", "typescript": "^3.0.1", "webpack": "^4.17.0" } }