1 | {
|
2 | "name": "web-vitals",
|
3 | "version": "1.1.0",
|
4 | "description": "Easily measure performance metrics in JavaScript",
|
5 | "main": "dist/web-vitals.umd.js",
|
6 | "module": "dist/web-vitals.js",
|
7 | "typings": "dist/modules/index.d.ts",
|
8 | "files": [
|
9 | "base.js",
|
10 | "base.d.ts",
|
11 | "dist",
|
12 | "src"
|
13 | ],
|
14 | "scripts": {
|
15 | "build": "run-s clean build:ts build:js",
|
16 | "build:ts": "tsc -b",
|
17 | "build:js": "rollup -c",
|
18 | "clean": "rm -rf dist tsconfig.tsbuildinfo",
|
19 | "dev": "run-p watch test:server",
|
20 | "lint": "eslint \"*.js\" \"src/**/*.ts\" \"test/**/*.js\"",
|
21 | "lint:fix": "eslint --fix \"*.js\" \"src/**/*.ts\" \"test/**/*.js\"",
|
22 | "postversion": "git push --follow-tags",
|
23 | "release:major": "npm version major -m 'Release v%s' && npm publish",
|
24 | "release:minor": "npm version minor -m 'Release v%s' && npm publish",
|
25 | "release:patch": "npm version patch -m 'Release v%s' && npm publish",
|
26 | "test": "npm-run-all build -p -r test:*",
|
27 | "test:e2e": "wdio wdio.conf.js",
|
28 | "test:server": "node test/server.js",
|
29 | "watch": "run-p watch:*",
|
30 | "watch:ts": "tsc -b -w",
|
31 | "watch:js": "rollup -c -w",
|
32 | "version": "run-s build"
|
33 | },
|
34 | "keywords": [
|
35 | "crux",
|
36 | "performance",
|
37 | "metrics",
|
38 | "CLS",
|
39 | "FCP",
|
40 | "FID",
|
41 | "LCP",
|
42 | "TTFB"
|
43 | ],
|
44 | "author": {
|
45 | "name": "Philip Walton",
|
46 | "email": "philip@philipwalton.com",
|
47 | "url": "http://philipwalton.com"
|
48 | },
|
49 | "license": "Apache-2.0",
|
50 | "repository": {
|
51 | "type": "git",
|
52 | "url": "https://github.com/GoogleChrome/web-vitals.git"
|
53 | },
|
54 | "bugs": {
|
55 | "url": "https://github.com/GoogleChrome/web-vitals/issues"
|
56 | },
|
57 | "husky": {
|
58 | "hooks": {
|
59 | "pre-commit": "npm run lint"
|
60 | }
|
61 | },
|
62 | "devDependencies": {
|
63 | "@babel/core": "^7.12.9",
|
64 | "@babel/preset-env": "^7.12.7",
|
65 | "@rollup/plugin-replace": "^2.3.4",
|
66 | "@typescript-eslint/eslint-plugin": "^4.8.2",
|
67 | "@typescript-eslint/parser": "^4.8.2",
|
68 | "@wdio/cli": "^6.10.0",
|
69 | "@wdio/local-runner": "^6.10.0",
|
70 | "@wdio/mocha-framework": "^6.8.0",
|
71 | "@wdio/selenium-standalone-service": "^6.10.0",
|
72 | "@wdio/spec-reporter": "^6.8.1",
|
73 | "babel-eslint": "^10.1.0",
|
74 | "body-parser": "^1.19.0",
|
75 | "chromedriver": "^87.0.5",
|
76 | "eslint": "^7.14.0",
|
77 | "eslint-config-google": "^0.14.0",
|
78 | "express": "^4.17.1",
|
79 | "fs-extra": "^9.0.1",
|
80 | "husky": "^4.3.0",
|
81 | "npm-run-all": "^4.1.5",
|
82 | "nunjucks": "^3.2.2",
|
83 | "rollup": "^2.33.3",
|
84 | "rollup-plugin-babel": "^4.4.0",
|
85 | "rollup-plugin-terser": "^7.0.2",
|
86 | "typescript": "^4.1.2",
|
87 | "wdio-chromedriver-service": "^6.0.4"
|
88 | }
|
89 | }
|