1 | {
|
2 | "name": "webdav",
|
3 | "version": "4.6.1",
|
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": "tsc",
|
9 | "build:web": "webpack --mode production --config webpack.config.js && tsc --emitDeclarationOnly --outDir dist/web/",
|
10 | "clean": "rimraf dist web",
|
11 | "format": "prettier --write '{source,test}/**/*.{js,ts}'",
|
12 | "prepare:publish:web": "cp -r ./dist/web ./web && mv ./web/webdav.js ./web/index.js",
|
13 | "prepublishOnly": "run-s build prepare:publish:web",
|
14 | "test": "run-s test:node test:web test:format",
|
15 | "test:format": "prettier-check '{source,test}/**/*.{js,ts}'",
|
16 | "test:node": "npm run build:node && nyc mocha -r test/index.node.js \"test/node/**/*.spec.js\"",
|
17 | "test:node:watch": "nodemon --exec 'npm run test:node' --ignore 'dist/'",
|
18 | "test:web": "concurrently --success 'first' --kill-others 'npm run test:web:karma' 'npm run test:web:server'",
|
19 | "test:web:karma": "karma start test/karma.conf.js",
|
20 | "test:web:server": "node test/server.web.js"
|
21 | },
|
22 | "types": "dist/node/index.d.ts",
|
23 | "files": [
|
24 | "dist/",
|
25 | "web/",
|
26 | "test/server/",
|
27 | "*.md"
|
28 | ],
|
29 | "repository": {
|
30 | "type": "git",
|
31 | "url": "git+https://github.com/perry-mitchell/webdav-client.git"
|
32 | },
|
33 | "keywords": [
|
34 | "webdav",
|
35 | "client",
|
36 | "remote",
|
37 | "sync"
|
38 | ],
|
39 | "lint-staged": {
|
40 | "{source,test}/**/*.{js,ts}": [
|
41 | "prettier --write"
|
42 | ]
|
43 | },
|
44 | "husky": {
|
45 | "hooks": {
|
46 | "pre-commit": "lint-staged"
|
47 | }
|
48 | },
|
49 | "author": "Perry Mitchell <perry@perrymitchell.net>",
|
50 | "license": "MIT",
|
51 | "bugs": {
|
52 | "url": "https://github.com/perry-mitchell/webdav-client/issues"
|
53 | },
|
54 | "homepage": "https://github.com/perry-mitchell/webdav-client#readme",
|
55 | "dependencies": {
|
56 | "axios": "^0.21.1",
|
57 | "base-64": "^1.0.0",
|
58 | "fast-xml-parser": "^3.19.0",
|
59 | "he": "^1.2.0",
|
60 | "hot-patcher": "^0.5.0",
|
61 | "layerr": "^0.1.2",
|
62 | "md5": "^2.3.0",
|
63 | "minimatch": "^3.0.4",
|
64 | "nested-property": "^4.0.0",
|
65 | "path-posix": "^1.0.0",
|
66 | "url-join": "^4.0.1",
|
67 | "url-parse": "^1.5.1"
|
68 | },
|
69 | "devDependencies": {
|
70 | "@babel/core": "^7.14.2",
|
71 | "@babel/preset-env": "^7.14.2",
|
72 | "@babel/preset-typescript": "^7.13.0",
|
73 | "@types/node": "^15.3.0",
|
74 | "@types/url-parse": "^1.4.3",
|
75 | "babel-loader": "^8.2.2",
|
76 | "babel-plugin-transform-async-to-promises": "^0.8.15",
|
77 | "buffer-equals": "^2.0.0",
|
78 | "chai": "^4.3.4",
|
79 | "chai-as-promised": "^7.1.1",
|
80 | "concurrently": "^6.1.0",
|
81 | "copy-dir": "^1.3.0",
|
82 | "directory-exists": "^2.0.1",
|
83 | "exists-file": "^3.0.2",
|
84 | "husky": "^4.3.8",
|
85 | "karma": "^6.3.2",
|
86 | "karma-chai": "^0.1.0",
|
87 | "karma-chrome-launcher": "^3.1.0",
|
88 | "karma-firefox-launcher": "^2.1.0",
|
89 | "karma-mocha": "^2.0.1",
|
90 | "karma-sinon": "^1.0.5",
|
91 | "karma-spec-reporter": "0.0.32",
|
92 | "karma-webpack": "^5.0.0",
|
93 | "lint-staged": "^10.5.3",
|
94 | "mkdirp": "^1.0.4",
|
95 | "mocha": "^8.4.0",
|
96 | "nock": "^13.0.11",
|
97 | "nodemon": "^2.0.7",
|
98 | "npm-run-all": "^4.1.5",
|
99 | "nyc": "^15.1.0",
|
100 | "prettier": "^1.19.1",
|
101 | "prettier-check": "^2.0.0",
|
102 | "rimraf": "^3.0.2",
|
103 | "sinon": "^10.0.0",
|
104 | "typescript": "^4.2.4",
|
105 | "wait-on": "^5.3.0",
|
106 | "webdav-server": "^2.6.2",
|
107 | "webpack": "^5.37.0",
|
108 | "webpack-cli": "^4.7.0"
|
109 | }
|
110 | }
|