forked from Zimbra/zm-api-js-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 4.15 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
{
"name": "@zimbra/api-client",
"amdName": "zmApiJsClient",
"version": "38.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 .tmp src/schema/generated-schema-types.ts && mkdirp .tmp && apollo-codegen introspect-schema src/schema/schema.graphql --output .tmp/introspected-schema.json && 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",
"test:no-synacor-npm-refs": "node ./scripts/synacor-npm-refs.js",
"clean": "rimraf dist",
"build": "npm-run-all clean generateSchemaTypes rollup:* -p build:ts minify:* copySchema",
"build:ts": "tsc --emitDeclarationOnly --declaration",
"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": "audit-ci --moderate --report-type summary --pass-enoaudit"
},
"keywords": [
"zimbra",
"api",
"graphql"
],
"repository": "Zimbra/zm-api-js-client",
"license": "BSD-3-Clause",
"dependencies": {
"apollo-cache-inmemory": "^1.6.5",
"apollo-link": "^1.2.13",
"apollo-link-batch": "^1.1.14",
"apollo-link-error": "^1.1.12",
"dataloader": "^1.4.0",
"graphql": "^14.5.8",
"graphql-tag": "^2.10.1",
"graphql-tools": "^4.0.6",
"lodash": "^4.17.15",
"mitt": "^1.2.0"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/plugin-external-helpers": "^7.7.4",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-typescript": "^7.7.7",
"@babel/register": "^7.7.7",
"@graphql-codegen/cli": "^1.15.1",
"@graphql-codegen/typescript": "^1.15.1",
"@types/graphql": "^14.5.0",
"@types/lodash": "^4.14.149",
"@types/node": "^12.12.21",
"@types/whatwg-fetch": "^0.0.33",
"apollo-codegen": "^0.20.2",
"audit-ci": "^3.0.1",
"babel-plugin-lodash": "^3.3.4",
"chai": "^4.2.0",
"copyfiles": "^2.1.1",
"cross-var": "^1.1.0",
"file-matcher": "^1.3.0",
"mkdirp": "^0.5.1",
"mocha": "^7.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"rollup": "^1.27.13",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-graphql": "^0.1.0",
"rollup-plugin-local-resolve": "^1.0.7",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-typescript2": "^0.25.3",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"typescript": "^3.7.3",
"uglify-js": "^3.7.2"
}
}