forked from GoogleChromeLabs/size-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.24 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "size-plugin",
"version": "3.0.0",
"description": "Tracks your Webpack asset sizes over time.",
"type": "module",
"main": "./dist/size-plugin.cjs",
"module": "./src/index.js",
"exports": {
"require": "./dist/size-plugin.cjs",
"default": "./src/index.js"
},
"types": "./dist/size-plugin.d.ts",
"scripts": {
"build": "microbundle -f cjs --target node --no-compress --no-sourcemap src/index.js",
"postbuild": "cd dist && mv index.d.ts size-plugin.d.ts && mv size-plugin.cjs.js size-plugin.cjs",
"doc": "documentation readme src/index.mjs -a public --section Options",
"prepare": "npm run -s build",
"test": "jest --coverage --colors",
"release": "npm t && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"repository": "googlechromelabs/size-plugin",
"files": [
"src",
"dist"
],
"keywords": [
"webpack plugin",
"file size",
"gzip size",
"bundle size"
],
"eslintConfig": {
"extends": "developit",
"rules": {
"no-console": "off",
"camelcase": "off"
}
},
"babel": {
"presets": [
"env"
]
},
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"mjs",
"js",
"json"
],
"transform": {
"^.+\\.m?js$": "babel-jest"
},
"coverageReporters": [
"text"
],
"collectCoverageFrom": [
"src/**/*"
],
"watchPathIgnorePatterns": [
"node_modules",
"dist"
]
},
"author": "Jason Miller <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"babel-core": "^6.26.3",
"babel-jest": "^23.6.0",
"babel-preset-env": "^1.7.0",
"documentation": "^12.1.1",
"eslint": "^5.16.0",
"eslint-config-developit": "^1.1.1",
"fs-extra": "^7.0.1",
"jest": "^23.6.0",
"microbundle": "^0.13.0",
"npm-merge-driver-install": "^1.1.1",
"webpack": "^4.41.2"
},
"dependencies": {
"axios": "^0.21.1",
"chalk": "^2.4.2",
"ci-env": "^1.9.0",
"escape-string-regexp": "^1.0.5",
"glob": "^7.1.4",
"minimatch": "^3.0.4",
"pretty-bytes": "^5.3.0",
"util.promisify": "^1.0.0"
},
"peerDependencies": {
"webpack": "*"
}
}