-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
102 lines (102 loc) · 3.71 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
{
"name": "nuxeo",
"description": "JavaScript client library for Nuxeo API",
"version": "4.0.5",
"main": "./lib/index.js",
"author": "Nuxeo (http://www.nuxeo.com/)",
"contributors": [
{
"name": "Thomas Roger",
"email": "[email protected]"
}
],
"license": "Apache-2.0",
"homepage": "https://github.com/nuxeo/nuxeo-js-client",
"repository": {
"type": "git",
"url": "git://github.com/nuxeo/nuxeo-js-client.git"
},
"engines": {
"node": ">= 14"
},
"keywords": [
"nuxeo"
],
"dependencies": {
"buffer": "^6.0.3",
"es6-promise": "^4.0.5",
"extend": "^3.0.0",
"form-data": "^4.0.0",
"md5": "^2.2.1",
"mocha": "^10.2.0",
"node-fetch": "^2.6.9",
"promise-queue": "^2.2.2",
"querystring": "^0.2.0",
"random-js": "^1.0.8",
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.1",
"@babel/preset-env": "^7.0.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"chai": "^4.1.2",
"content-disposition": "^0.5.2",
"dirty-chai": "^2.0.1",
"eslint": "^8.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"express": "^4.15.3",
"fs-extra": "^11.1.0",
"jsdoc": "4.0.0",
"jsonwebtoken": "^9.0.0",
"karma": "^6.4.1",
"karma-babel-preprocessor": "^8.0.2",
"karma-browserify": "^8.1.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.1",
"karma-firefox-launcher": "^2.1.2",
"karma-junit-reporter": "^2.0.0",
"karma-mocha": "^2.0.1",
"karma-sauce-launcher": "^4.3.6",
"mkdirp": "^2.1.3",
"mocha-jenkins-reporter": "^0.4.0",
"nyc": "^15.1.0",
"rimraf": "^4.1.2",
"watchify": "^4.0.0"
},
"resolutions": {
"webdriverio": "^7.19.5"
},
"scripts": {
"clean": "rimraf ${JS_DIST_DIR:-dist}",
"build": "yarn clean && yarn build:dist && yarn build:browser",
"build:dist": "node bin/build-dist.js",
"build:browser": "mkdirp ${JS_DIST_DIR:-dist} && browserify --entry lib/index-browserify.js --transform babelify --outfile ${JS_DIST_DIR:-dist}/nuxeo.js",
"lint": "eslint 'lib' 'test'",
"pretest": "rimraf coverage && yarn lint",
"test": "yarn test:cover && yarn test:browser",
"test:cover": "nyc --include lib --all --reporter text --reporter lcov yarn test:node",
"test:node": "mocha --timeout 30000 --require test/helpers/setup.js --require test/helpers/setup-node.js 'test/helpers/setup-logging.js' 'test/**/*.spec.js'",
"test:browser": "karma start karma.conf.local.js",
"it": "yarn it:checkstyle && yarn build && yarn it:cover && yarn it:browser",
"it:checkstyle": "eslint 'lib' 'test' --format checkstyle --output-file ftest/target/checkstyle-result.xml",
"it:cover": "nyc --include lib --all --reporter cobertura yarn it:node",
"it:node": "mocha --timeout 30000 --require test/helpers/setup.js --require test/helpers/setup-node.js 'test/helpers/setup-logging.js' --reporter mocha-jenkins-reporter --reporter-options junit_report_path=ftest/target/$JS_REPORTS_DIR/test-results-node.xml,junit_report_stack=1 'test/**/*.spec.js'",
"it:browser": "karma start karma.conf.saucelabs.js",
"doc": "jsdoc -c jsdoc.json",
"start": "yarn build:browser && node examples/server.js"
},
"browser": {
"promise-queue": "promise-queue/lib/index.js",
"./lib/deps/fetch.js": "./lib/deps/fetch-browser.js",
"./lib/deps/promise.js": "./lib/deps/promise-browser.js",
"./lib/deps/form-data.js": "./lib/deps/form-data-browser.js",
"./lib/deps/utils/buffer.js": "./lib/deps/utils/buffer-browser.js"
},
"react-native": {
"./lib/deps/fetch.js": "./lib/deps/fetch-react-native.js",
"./lib/deps/promise.js": "./lib/deps/promise.js"
}
}