forked from GoogleChrome/web-vitals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.56 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": "web-vitals",
"version": "2.1.4",
"description": "Easily measure performance metrics in JavaScript",
"main": "dist/web-vitals.umd.js",
"module": "dist/web-vitals.js",
"typings": "dist/modules/index.d.ts",
"files": [
"base.js",
"base.d.ts",
"dist",
"src"
],
"scripts": {
"build": "run-s clean build:ts build:js",
"build:ts": "tsc -b",
"build:js": "rollup -c",
"clean": "rm -rf dist tsconfig.tsbuildinfo",
"dev": "run-p watch test:server",
"lint": "eslint \"*.js\" \"src/**/*.ts\" \"test/**/*.js\"",
"lint:fix": "eslint --fix \"*.js\" \"src/**/*.ts\" \"test/**/*.js\"",
"postversion": "git push --follow-tags",
"release:major": "npm version major -m 'Release v%s' && npm publish",
"release:minor": "npm version minor -m 'Release v%s' && npm publish",
"release:patch": "npm version patch -m 'Release v%s' && npm publish",
"test": "npm-run-all build -p -r test:*",
"test:e2e": "wdio wdio.conf.js",
"test:server": "node test/server.js",
"start": "run-s build:ts test:server watch",
"watch": "run-p watch:*",
"watch:ts": "tsc -b -w",
"watch:js": "rollup -c -w",
"version": "run-s build",
"prepare": "husky install"
},
"keywords": [
"crux",
"performance",
"metrics",
"CLS",
"FCP",
"FID",
"LCP",
"TTFB"
],
"author": {
"name": "Philip Walton",
"email": "[email protected]",
"url": "http://philipwalton.com"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/GoogleChrome/web-vitals.git"
},
"bugs": {
"url": "https://github.com/GoogleChrome/web-vitals/issues"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"devDependencies": {
"@babel/core": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"@rollup/plugin-replace": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"@wdio/cli": "^7.16.13",
"@wdio/local-runner": "^7.16.13",
"@wdio/mocha-framework": "^7.16.13",
"@wdio/selenium-standalone-service": "^7.16.13",
"@wdio/spec-reporter": "^7.16.13",
"body-parser": "^1.19.1",
"chromedriver": "^97.0.0",
"eslint": "^8.7.0",
"eslint-config-google": "^0.14.0",
"express": "^4.17.2",
"fs-extra": "^10.0.0",
"husky": "^7.0.4",
"npm-run-all": "^4.1.5",
"nunjucks": "^3.2.3",
"rollup": "^2.64.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.5.5",
"wdio-chromedriver-service": "^7.2.6"
}
}