-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.37 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
{
"name": "@openameba/cwv-logger",
"version": "0.2.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"files": [
"dist"
],
"scripts": {
"test": "run-p bundlesize test:unit",
"test:unit": "jest --passWithNoTests",
"lint": "prettier --check '**/*.{js,ts}' && eslint --cache 'src/**/*.{js,ts}'",
"fix": "prettier --write '**/*.{js,ts}' && eslint --fix 'src/**/*.{js,ts}'",
"prebundlesize": "yarn build",
"bundlesize": "npx bundlesize",
"clean": "npx rimraf dist",
"prebuild": "yarn clean",
"build": "run-s build:esm build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "run-s build:esm:js build:esm:rename",
"build:esm:js": "tsc -p tsconfig.esm.json",
"build:esm:rename": "npx renamer --find js --replace mjs 'dist/**'"
},
"license": "MIT",
"dependencies": {
"web-vitals": "^3.0.0"
},
"devDependencies": {
"@types/jest": "^27.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"bundlesize": "^0.18.0",
"eslint": "^7.5.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^27.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"ts-jest": "^27.0.0",
"typescript": "^4.0.0"
}
}