-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
40 lines (40 loc) · 1.77 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "how-to-optimize-momentjs-with-webpack",
"version": "1.1.0",
"description": "Explaining how to optimize the large bundle size of moment.js with webpack",
"main": "index.js",
"scripts": {
"build:default": "webpack --config default/webpack.config.js",
"build:contextReplacementPlugin": "webpack --config contextReplacementPlugin/webpack.config.js",
"build:ignorePlugin": "webpack --config ignorePlugin/webpack.config.js",
"build": "npm-run-all build:*",
"analyze:default": "npm run build:default && source-map-explorer default/bundle.js",
"analyze:contextReplacementPlugin": "npm run build:contextReplacementPlugin && source-map-explorer contextReplacementPlugin/bundle.js",
"analyze:ignorePlugin": "npm run build:ignorePlugin && source-map-explorer ignorePlugin/bundle.js",
"analyze": "npm-run-all --parallel analyze:*",
"test:default": "mocha default/bundle.js",
"test:contextReplacementPlugin": "mocha contextReplacementPlugin/bundle.js",
"test:ignorePlugin": "mocha ignorePlugin/bundle.js",
"test": "npm-run-all build test:*",
"gzip-size:default": "gzip-size default/bundle.js",
"gzip-size:contextReplacementPlugin": "gzip-size contextReplacementPlugin/bundle.js",
"gzip-size:ignorePlugin": "gzip-size ignorePlugin/bundle.js",
"gzip-size": "npm-run-all gzip-size:*"
},
"keywords": [],
"author": "Yoshihide Jimbo",
"license": "MIT",
"devDependencies": {
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.12.0",
"gzip-size-cli": "^2.1.0",
"mocha": "^10.2.0",
"moment": "^2.29.2",
"npm-run-all": "^4.1.2",
"pretty-bytes-cli": "^2.0.0",
"source-map-explorer": "^1.5.0",
"uglifyjs-webpack-plugin": "^1.1.4",
"webpack": "^5.75.0"
}
}