optimize-js-plugin
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "optimize-js-plugin", | ||
"version": "0.0.2", | ||
"description": "webpack plugin to optimize a JavaScript file for faster execution", | ||
"main": "index.js", | ||
"version": "0.0.3", | ||
"description": "webpack plugin to optimize initial JavaScript execution/parsing by wrapping eager functions", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "babel src --out-dir lib", | ||
"example": "npm run build && webpack --config example/webpack.config.js", | ||
"prepublish": "npm run build" | ||
}, | ||
"keywords": [ | ||
"optimize", | ||
"js", | ||
"webpack" | ||
"webpack", | ||
"webpack-plugin" | ||
], | ||
"author": "Vignesh Shanmugam <vignesh.shanmugam22@gmail.com> (https://vigneshh.in)", | ||
"license": "MIT", | ||
"dependencies": { | ||
"optimize-js": "^1.0.0", | ||
"webpack-sources": "^0.1.2" | ||
}, | ||
"repository": { | ||
@@ -24,3 +25,13 @@ "type": "git", | ||
}, | ||
"homepage": "https://github.com/vigneshshanmugam/optimize-js-plugin#readme" | ||
"homepage": "https://github.com/vigneshshanmugam/optimize-js-plugin#readme", | ||
"license": "MIT", | ||
"dependencies": { | ||
"optimize-js": "^1.0.0", | ||
"webpack-sources": "^0.1.2" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.14.0", | ||
"babel-preset-es2015": "^6.14.0", | ||
"webpack": "^1.13.2" | ||
} | ||
} |
@@ -10,3 +10,3 @@ # optimize-js-plugin | ||
```sh | ||
npm i --save-dev optimise-js-plugin | ||
npm i --save-dev optimize-js-plugin | ||
``` | ||
@@ -31,4 +31,12 @@ | ||
### Example | ||
To check the example, run | ||
```js | ||
npm run example | ||
``` | ||
### Options | ||
All options as mentioned [here](https://github.com/nolanlawson/optimize-js#javascript-api) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5263
6
44
41
3