-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
126 lines (126 loc) · 4.45 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
123
124
125
126
{
"name": "@cpanel/api",
"version": "6.0.0",
"description": "cPanel API JavaScript and TypeScript interface libraries. This library provides a set of classes for calling cPanel WHM API 1 and UAPI calls. The classes hide much of the complexity of these APIs behind classes the abstract the underlying variances between these API systems. Users of this library can focus on what they want to accomplish rather the having to learn the various complexities of the underlying wire formats for each of the cPanel Products APIs",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
},
"sideEffects": false,
"files": [
"*.d.ts",
"*.js",
"*.map.js",
"**/*.d.ts",
"**/*.js",
"**/*.map.js",
"documentation/**/*"
],
"lint-staged": {
"*.ts": "npx eslint",
"**/*": "prettier --write --ignore-unknown"
},
"scripts": {
"build:prod": "npm run clean && npm run build:ts && npm run webpack:prod",
"build:dev": "npm run clean && npm run build:ts-dev && npm run webpack:dev",
"build:ts": "tsc -p tsconfig.prod-esm.json & tsc -p tsconfig.prod-cjs.json",
"build:ts-dev": "tsc -p tsconfig.esm.json & tsc -p tsconfig.cjs.json",
"build:test-watch": "tsc -w -p tsconfig.cjs.json",
"webpack:dev": "webpack --env dev",
"webpack:prod": "webpack --env prod",
"clean": "rm -rf dist",
"build-docs": "compodoc -p tsconfig.esm.json -d ./docs",
"serve-docs": "compodoc -p tsconfig.esm.json -d ./docs -r 4214 -s",
"test": "npm run build:dev && jasmine --config=jasmine.json --reporter=jasmine-console-reporter",
"test:cover": "npm run build:dev && nyc -r lcov -x '**/*.spec.ts' jasmine --config=jasmine.json && nyc report",
"test:watch": "npm run build:test-watch && onchange -i -v -d 100 dist -- jasmine --config=jasmine.json --reporter=jasmine-console-reporter",
"prepare": "husky install",
"prepublish": "npm run build:prod",
"lint": "npx eslint 'src/**/*.ts'",
"lint:fix": "npx eslint 'src/**/*.ts' --fix",
"tidy": "npx prettier --write .",
"tidy:check": "npx prettier --check .",
"tidy:file": "npx prettier --write ",
"tidy:watch": "onchange \"**/*\" -- prettier --write --ignore-unknown {{changed}}"
},
"repository": {
"type": "git",
"url": "https://github.com/CpanelInc/cpanel-node-api"
},
"author": "cPanel L.L.C.",
"contributors": [
{
"name": "Sruthi Sanigarapu",
"email": "sruthi@cpanel.net"
},
{
"name": "Caitlin Flattery",
"email": "c.flattery@cpanel.net"
},
{
"name": "Sarah Kiniry",
"email": "sarah.kiniry@cpanel.net"
},
{
"name": "Thomas Green",
"email": "tomg@cpanel.net"
},
{
"name": "Aneece Yazdani",
"email": "aneece@cpanel.net"
},
{
"name": "Philip King",
"email": "phil@cpanel.net"
},
{
"name": "Dustin Scherer",
"email": "dustin.scherer@cpanel.net"
},
{
"name": "Aspen Hollyer",
"email": "a.hollyer@cpanel.net"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/CpanelInc/cpanel-node-api/issues"
},
"homepage": "https://cpanel.com",
"dependencies": {
"lodash": "4.17.21"
},
"devDependencies": {
"@compodoc/compodoc": "1.1.25",
"@types/jasmine": "5.1.4",
"@types/lodash": "4.17.9",
"@types/node": "17.0.23",
"@typescript-eslint/eslint-plugin": "7.18.0",
"eslint": "8.57.1",
"eslint-config-prettier": "8.5.0",
"http-server": "0.12.3",
"husky": "8.0.1",
"jasmine": "5.3.0",
"jasmine-console-reporter": "3.1.0",
"lint-staged": "13.0.3",
"nyc": "17.1.0",
"onchange": "7.1.0",
"prettier": "3.3.3",
"tslib": "2.7.0",
"typescript": "5.4.5",
"webpack": "5.95.0",
"webpack-cli": "5.1.4"
},
"keywords": [
"api",
"uapi",
"whmapi",
"cpanel",
"whm"
]
}