1 | {
|
2 | "name": "webdav",
|
3 | "version": "3.3.0",
|
4 | "description": "WebDAV client for NodeJS",
|
5 | "main": "dist/node/index.js",
|
6 | "scripts": {
|
7 | "build": "npm run clean && run-p build:node build:web",
|
8 | "build:node": "babel --out-dir dist/node source",
|
9 | "build:web": "webpack --mode production --config webpack.config.js",
|
10 | "clean": "rimraf dist web",
|
11 | "docs": "jsdoc2md 'source/**/*.js' > API.md",
|
12 | "format": "prettier --write '{source,test}/**/*.js'",
|
13 | "precommit": "lint-staged",
|
14 | "prepare:publish:web": "mkdirp ./web && mv ./dist/web/webdav.js ./web/index.js",
|
15 | "prepublishOnly": "run-s build prepare:publish:web",
|
16 | "test": "run-s test:node test:web test:format",
|
17 | "test:format": "prettier-check '{source,test}/**/*.js'",
|
18 | "test:node": "npm run build:node && mocha -r test/specs/index.js test/specs/**/*.spec.js",
|
19 | "test:node:watch": "nodemon --exec 'npm run test:node' --ignore 'dist/'",
|
20 | "test:web": "npm run test:web:pack && concurrently --success 'first' --kill-others 'npm run test:web:karma' 'npm run test:web:server'",
|
21 | "test:web:karma": "sleep 2 && karma start test/web/karma.conf.js",
|
22 | "test:web:pack": "webpack --mode development --config webpack.config.js",
|
23 | "test:web:server": "node test/web/server.js"
|
24 | },
|
25 | "files": [
|
26 | "dist/",
|
27 | "web/",
|
28 | "test/server/",
|
29 | "*.md"
|
30 | ],
|
31 | "repository": {
|
32 | "type": "git",
|
33 | "url": "git+https://github.com/perry-mitchell/webdav-client.git"
|
34 | },
|
35 | "keywords": [
|
36 | "webdav",
|
37 | "client",
|
38 | "remote",
|
39 | "sync"
|
40 | ],
|
41 | "lint-staged": {
|
42 | "{source,test}/**/*.js": [
|
43 | "prettier --write",
|
44 | "git add"
|
45 | ]
|
46 | },
|
47 | "author": "Perry Mitchell <perry@perrymitchell.net>",
|
48 | "license": "MIT",
|
49 | "bugs": {
|
50 | "url": "https://github.com/perry-mitchell/webdav-client/issues"
|
51 | },
|
52 | "homepage": "https://github.com/perry-mitchell/webdav-client#readme",
|
53 | "dependencies": {
|
54 | "axios": "^0.19.2",
|
55 | "base-64": "^0.1.0",
|
56 | "fast-xml-parser": "^3.16.0",
|
57 | "he": "^1.2.0",
|
58 | "hot-patcher": "^0.5.0",
|
59 | "minimatch": "^3.0.4",
|
60 | "nested-property": "^1.0.4",
|
61 | "path-posix": "^1.0.0",
|
62 | "url-join": "^4.0.1",
|
63 | "url-parse": "^1.4.7"
|
64 | },
|
65 | "devDependencies": {
|
66 | "@babel/cli": "^7.8.4",
|
67 | "@babel/core": "^7.9.0",
|
68 | "@babel/preset-env": "^7.9.5",
|
69 | "babel-loader": "^8.1.0",
|
70 | "buffer-equals": "^2.0.0",
|
71 | "chai": "^4.2.0",
|
72 | "concurrently": "^5.1.0",
|
73 | "copy-dir": "^1.2.0",
|
74 | "directory-exists": "^2.0.1",
|
75 | "exists-file": "^3.0.2",
|
76 | "husky": "^4.2.5",
|
77 | "jsdoc-to-markdown": "^5.0.3",
|
78 | "karma": "^4.4.1",
|
79 | "karma-chai": "^0.1.0",
|
80 | "karma-chrome-launcher": "^3.1.0",
|
81 | "karma-mocha": "^1.3.0",
|
82 | "lint-staged": "^10.1.3",
|
83 | "mkdirp": "^1.0.3",
|
84 | "mocha": "^7.1.1",
|
85 | "nock": "^11.7.2",
|
86 | "nodemon": "^2.0.3",
|
87 | "npm-run-all": "^4.1.5",
|
88 | "prettier": "^1.19.1",
|
89 | "prettier-check": "^2.0.0",
|
90 | "rimraf": "^3.0.2",
|
91 | "sinon": "^8.1.1",
|
92 | "wait-on": "^4.0.2",
|
93 | "webdav-server": "^2.6.2",
|
94 | "webpack": "^4.42.1",
|
95 | "webpack-cli": "^3.3.11"
|
96 | }
|
97 | }
|