-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
122 lines (122 loc) · 3.94 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "opennms",
"version": "2.5.10-SNAPSHOT",
"description": "Client API for the OpenNMS network monitoring platform",
"main": "dist/opennms.js",
"bin": {
"opennms": "dist/cli.node.js"
},
"author": "Benjamin Reed",
"license": "MIT",
"bugs": {
"url": "https://github.com/OpenNMS/opennms-js/issues"
},
"homepage": "https://github.com/OpenNMS/opennms-js",
"repository": {
"type": "git",
"url": "https://github.com/OpenNMS/opennms-js.git"
},
"devDependencies": {
"@antora/cli": "^3.1.3",
"@antora/site-generator-default": "^3.1.3",
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.7",
"@babel/eslint-parser": "^7.22.15",
"@babel/plugin-proposal-async-generator-functions": "^7.16.8",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.8",
"@babel/preset-typescript": "^7.16.7",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@types/btoa": "^1.2.3",
"@types/jest": "^29.1.2",
"@types/lodash": "^4.14.182",
"@types/lodash.clonedeep": "^4.5.6",
"@types/lodash.startcase": "^4.4.6",
"@types/node": "^16.11.27",
"@types/object-hash": "^3.0.1",
"@types/urijs": "^1.19.17",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.17.0",
"babel-loader": "^9.1.0",
"babel-plugin-angularjs-annotate": "^0.10.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-module-resolver": "^5.0.0",
"cache-loader": "^4.1.0",
"chai": "^5.0.0",
"child_process": "^1.0.2",
"eslint": "^8.49.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-tsdoc": "^0.4.0",
"eslint-webpack-plugin": "^4.0.1",
"husky": "^9.0.3",
"jest": "^29.2.0",
"lodash-webpack-plugin": "^0.11.6",
"parallel-webpack": "^2.6.0",
"rimraf": "^6.0.1",
"standard-changelog": "^5.0.0",
"terser-webpack-plugin": "^5.3.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.4.0",
"typedoc": "^0.27.5",
"typescript": "~5.7.2",
"urijs": "^1.19.1",
"webpack": "^5.66.0",
"webpack-cli": "^5.0.0",
"webpack-closure-compiler": "^2.1.6"
},
"jest": {
"verbose": true,
"detectOpenHandles": true,
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.17.9",
"@xmldom/xmldom": "^0.9.3",
"axios": "^1.1.3",
"btoa": "^1.2.1",
"commander": "^12.0.0",
"core-js": "^3.22.2",
"fs": "^0.0.1-security",
"html-to-formatted-text": "^2.6.0",
"ip-address": "^10.0.1",
"lodash": "^4.17.20",
"moment": "^2.29.1",
"object-hash": "^3.0.0",
"picocolors": "^1.0.0",
"qs": "^6.10.3",
"table": "^6.8.0",
"version_compare": "^0.0.3",
"x2js": "^3.4.2"
},
"scripts": {
"changelog": "standard-changelog -i CHANGELOG.md -s -f",
"update-browserslist": "npx --yes browserslist@latest --update-db",
"build": "webpack --mode production --env production",
"dev": "webpack --mode=development --progress",
"dist": "npm run lint && npm run test && npm run update-browserslist && npm run build && npm run docs",
"api": "typedoc",
"docs": "npm run api && antora --stacktrace generate local-site.yml",
"watch": "webpack --progress --watch",
"test": "jest",
"watch-test": "jest --watch",
"smoke": "node test/smoke.js",
"lint": "eslint && tsc --project tsconfig-check.json",
"cli": "ts-node src/CLI.ts",
"docker-build": "npm ci && npm run dist && npm run changelog && ./fix-ownership.sh",
"docker": "docker run --rm --name opennms-js -v `pwd`:/build -w /build node:carbon npm run docker-build",
"prepare": "husky",
"full": "npm run dist",
"merge": "npm run update-browserslist && npm run build && npm run docs && npm run changelog"
}
}