-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
90 lines (90 loc) · 2.29 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
{
"name": "@ampproject/filesize",
"version": "4.2.1",
"description": "Audit the filesize of items specified in package.json.",
"author": "Kristofer Baxter",
"license": "Apache-2.0",
"main": "dist/api.js",
"module": "dist/api.mjs",
"files": [
"dist"
],
"engines": {
"node": ">=12"
},
"bin": {
"filesize": "./dist/filesize"
},
"repository": {
"type": "git",
"url": "https://github.com/ampproject/filesize.git"
},
"scripts": {
"clean": "rimraf dist output test/output",
"format": "prettier --write '**/*.ts'",
"build-tests": "tsc -p test/tsconfig.json",
"postbuild-tests": "tsc-esm -p test/tsconfig.json",
"pretest": "yarn npm-run-all build build-tests",
"test": "NODE_DISABLE_COLORS=1 tap --no-coverage --no-esm test/output/**/*.test.mjs",
"build": "rollup -c; chmod a+x dist/filesize",
"try": "./dist/filesize",
"release": "np --no-2fa --any-branch",
"prepublishOnly": "yarn npm-run-all clean build"
},
"dependencies": {
"@kristoferbaxter/async": "1.0.0",
"@kristoferbaxter/kleur": "4.0.2",
"@kristoferbaxter/bytes": "0.1.2",
"fast-glob": "3.2.5",
"mri": "1.1.6"
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "0.26.0",
"@rollup/plugin-commonjs": "17.1.0",
"@rollup/plugin-node-resolve": "11.1.1",
"@rollup/plugin-typescript": "8.1.1",
"@types/mri": "1.1.0",
"@types/node": "14.14.35",
"@types/tap": "14.10.2",
"np": "https://github.com/pixelastic/np/tarball/c3ab2e3b053c7da0ce40a572ca1616273ac080f8",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"rimraf": "3.0.2",
"rollup": "2.38.5",
"tap": "14.11.0",
"tslib": "2.1.0",
"typescript": "4.1.3",
"typescript-esm": "2.0.0"
},
"volta": {
"node": "14.16.0",
"yarn": "1.22.10"
},
"filesize": {
"track": [
"./dist/**/*.mjs",
"./dist/filesize"
],
"./dist/filesize": {
"brotli": "3 kB",
"gzip": "3.8 kB",
"none": "20 kB"
},
"./dist/api.js": {
"brotli": "5 kB",
"gzip": "6.5 kB"
},
"./dist/api.mjs": {
"gzip": "10 kB"
}
},
"publishConfig": {
"access": "public"
},
"prettier": {
"printWidth": 120,
"trailingComma": "all",
"parser": "typescript",
"singleQuote": true
}
}