-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
86 lines (86 loc) · 2.31 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
{
"name": "@esmj/monitor",
"version": "0.5.3",
"description": "Node.js performance measurement metrics (cpu, memory, event loop, gc)",
"keywords": [
"memory",
"cpu",
"usage",
"metrics",
"monitor",
"node",
"utilization",
"event-loop",
"gc"
],
"main": "dist/index",
"module": "dist/index",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"scripts": {
"preversion": "npm test && npm run lint",
"version": "npm run changelog && git add CHANGELOG.md",
"postversion": "git push && git push --tags",
"build": "node_modules/.bin/rollup -c --bundleConfigAsCjs",
"test": "NODE_OPTIONS=--experimental-vm-modules ./node_modules/.bin/jest --no-watchman -c ./jest.config.js",
"lint:cmd": "eslint -c ./.eslintrc.js --ignore-path ./.prettierignore --no-eslintrc",
"lint": "npm run lint:cmd -- './src/**/*.{mjs,cjs,js,jsx}'",
"lint:fix": "npm run lint -- --fix",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"commit": "git-cz",
"prepare": "husky install"
},
"author": "Miroslav Jancarik",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mjancarik/esmj-monitor.git"
},
"bugs": {
"url": "https://github.com/mjancarik/esmj-monitor/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"devDependencies": {
"@commitlint/cli": "^17.6.5",
"@commitlint/config-conventional": "^17.6.5",
"@rollup/plugin-node-resolve": "^15.1.0",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^3.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jasmine": "^4.1.3",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"git-cz": "^4.9.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"rollup": "^3.24.0",
"to-mock": "^1.6.2"
},
"lint-staged": {
"**/*.{js,mjs}": "npm run lint:cmd"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "git-cz"
}
},
"dependencies": {
"@esmj/observable": "^0.1.1"
}
}