-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.47 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
{
"name": "@inchill/time-to-interactive",
"version": "0.1.0",
"description": "Easily measure performance metrics of time to interactive in JavaScript.",
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "types/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/index.esm",
"require": "./dist/index.cjs",
"types": "./types/index.d.ts"
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky install",
"lint": "eslint \"*.js\" \"src/**/*.ts\" \"test/**/*.js\"",
"lint:fix": "eslint --fix \"*.js\" \"src/**/*.ts\" \"test/**/*.js\"",
"build:esm": "rollup -c --environment NODE_ENV:esm",
"build:cjs": "rollup -c --environment NODE_ENV:cjs",
"build:umd": "rollup -c --environment NODE_ENV:umd",
"build:min": "rollup -c --environment NODE_ENV:min",
"build": "rimraf dist/* && run-p build:esm build:cjs build:umd build:min",
"release:major": "pnpm build && npm version major -m 'Release v%s' && npm publish --access public",
"release:minor": "pnpm build && npm version minor -m 'Release v%s' && npm publish --access public",
"release:patch": "pnpm build && npm version patch -m 'Release v%s' && npm publish --access public",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"engines": {
"node": "16.x"
},
"keywords": [
"performance",
"metrics",
"TTI"
],
"author": "Inchill",
"license": "MIT",
"files": [
"types",
"dist/",
"package.json",
"README.md"
],
"devDependencies": {
"@babel/core": "^7.22.20",
"@babel/preset-env": "^7.22.20",
"@babel/preset-typescript": "^7.22.15",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-terser": "^0.4.3",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^8.49.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"lodash.merge": "^4.6.2",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"rollup": "^3.29.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.35.0",
"typescript": "^5.2.2"
},
"husky": {
"hooks": {
"pre-commit": "pnpm run lint"
}
},
"lint-staged": {
"src/**/*.{js,ts}": "eslint --fix --ignore-path .gitignore",
"src/**/*.{cjs,css,html,js,json,html,md,ts,yml,yaml}": "prettier --write --ignore-path .gitignore"
}
}