-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
96 lines (96 loc) · 4.11 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
{
"name": "@zimbra/api-client",
"amdName": "zmApiJsClient",
"version": "94.0.0",
"description": "Zimbra JS API Client and GraphQL client for making requests against the Zimbra SOAP API.",
"main": "dist/zm-api-js-client.js",
"source": "index.ts",
"module": "dist/zm-api-js-client.esm.js",
"umd:main": "dist/zm-api-js-client.umd.js",
"types": "dist/index.d.ts",
"scripts": {
"generateSchemaTypes": "rimraf src/schema/generated-schema-types.ts && graphql-codegen",
"lint": "tslint --project .",
"lint:fix": "npm run lint -- --fix",
"test:unit": "BABEL_ENV=test mocha --require ./babelRegisterConfig.js test/**/*.js",
"test:watch": "npm run test:unit -- --watch",
"clean": "rimraf dist",
"build": "npm-run-all clean generateSchemaTypes rollup:* -p build:ts minify:* copySchema",
"build:ts": "tsc --emitDeclarationOnly --declaration --outDir \"dist\"",
"build:analyze": "visualize=true npm run build",
"copySchema": "copyfiles -f src/schema/schema.graphql dist",
"rollup:cjs": "cross-var rollup -c rollup.config.js -m -f cjs -n $npm_package_amdName $npm_package_source -o $npm_package_main",
"rollup:umd": "cross-var rollup -c rollup.config.js -m -f umd -n $npm_package_amdName $npm_package_source -o $npm_package_umd_main",
"rollup:esm": "cross-var rollup -c rollup.config.js -m -f es --environment FORMAT:es -n $npm_package_amdName $npm_package_source -o $npm_package_module",
"linkedBuild": "npm run rollup:esm -- --watch",
"minify:cjs": "cross-var uglifyjs $npm_package_main -c pure_getters,pure_funcs=classCallCheck -m toplevel,reserved=['_createClass'] --keep-fnames -o $npm_package_main --source-map content=$npm_package_main.map,url=zm-api-js-client.js.map,filename=$npm_package_main.map",
"minify:umd": "cross-var uglifyjs $npm_package_umd_main -c pure_getters,pure_funcs=classCallCheck -m toplevel,reserved=['_createClass'] --keep-fnames -o $npm_package_umd_main --source-map content=$npm_package_umd_main.map,url=zm-api-js-client.umd.js.map,filename=$npm_package_umd_main.map",
"size": "echo \"Gzipped Size: $(gzip-size $npm_package_main | pretty-bytes)\"",
"prepublishOnly": "npm test && npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags",
"publish:beta": "npm publish --tag=beta",
"security:audit": "npx audit-ci@^6 --moderate --report-type summary --pass-enoaudit --skip-dev",
"prepare": "is-ci || husky install"
},
"keywords": [
"zimbra",
"api",
"graphql"
],
"repository": "Zimbra/zm-api-js-client",
"engines": {
"node": ">=18.12.0"
},
"license": "BSD-3-Clause",
"lint-staged": {
"**/*.ts": [
"tslint"
]
},
"dependencies": {
"@apollo/client": "3.4.16",
"@graphql-tools/schema": "^10.0.3",
"dataloader": "^2.2.2",
"graphql": "^16.9.0",
"lodash": "^4.17.21",
"mitt": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.2",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@babel/register": "^7.17.7",
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/typescript": "^4.0.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-graphql": "^1.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^11.1.5",
"@types/graphql": "^14.5.0",
"@types/lodash": "^4.14.182",
"@types/node": "^20.10.4",
"@types/whatwg-fetch": "^0.0.33",
"babel-plugin-lodash": "^3.3.4",
"chai": "^4.3.7",
"copyfiles": "^2.4.1",
"cross-var": "^1.1.0",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"lint-staged": "15.2.8",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"rimraf": "^5.0.1",
"rollup": "^2.75.0",
"rollup-plugin-local-resolve": "^1.0.7",
"rollup-plugin-visualizer": "^5.11.0",
"tslib": "^2.5.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.3.0",
"typescript": "^5.3.3",
"uglify-js": "^3.15.5"
}
}