133 lines
3.9 KiB
JSON
133 lines
3.9 KiB
JSON
{
|
|
"name": "webdav",
|
|
"version": "5.8.0",
|
|
"description": "WebDAV client for NodeJS",
|
|
"exports": {
|
|
".": {
|
|
"browser": "./dist/web/index.js",
|
|
"react-native": "./dist/react-native/index.js",
|
|
"types": "./dist/node/index.d.ts",
|
|
"default": "./dist/node/index.js"
|
|
},
|
|
"./react-native": "./dist/react-native/index.js",
|
|
"./web": "./dist/web/index.js",
|
|
"./dist/*": "./dist/*"
|
|
},
|
|
"react-native": "./dist/react-native/index.js",
|
|
"type": "module",
|
|
"types": "./dist/node/index.d.ts",
|
|
"scripts": {
|
|
"build": "npm run clean && run-p build:node build:web",
|
|
"build:node": "tsc",
|
|
"build:web": "webpack --mode production --config webpack.config.cjs",
|
|
"clean": "rimraf dist web",
|
|
"dev": "nodemon -e ts,js --exec 'npm run build' --ignore 'dist/' --ignore 'web/'",
|
|
"format": "prettier --write '{source,test}/**/*.{js,ts}'",
|
|
"prepublishOnly": "npm run build",
|
|
"test": "run-s test:node test:web test:format",
|
|
"test:format": "prettier --check '{source,test}/**/*.{js,ts}'",
|
|
"test:node": "c8 --check-coverage --lines 89 --functions 91 --branches 77 --statements 89 mocha --config .mocharc.json",
|
|
"test:node:watch": "nodemon --exec 'npm run test:node' --ignore 'dist/'",
|
|
"test:web": "echo 'Currently disabled...'",
|
|
"xtest:web": "concurrently --success 'first' --kill-others 'npm run test:web:karma' 'npm run test:web:server'",
|
|
"xtest:web:karma": "karma start test/karma.conf.cjs",
|
|
"xtest:web:server": "node --loader ts-node/esm ./test/server.web.ts"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"test/server/",
|
|
"*.md"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/perry-mitchell/webdav-client.git"
|
|
},
|
|
"keywords": [
|
|
"webdav",
|
|
"client",
|
|
"remote",
|
|
"sync"
|
|
],
|
|
"engines": {
|
|
"node": ">=14"
|
|
},
|
|
"lint-staged": {
|
|
"{source,test}/**/*.{js,ts}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"author": "Perry Mitchell <perry@perrymitchell.net>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/perry-mitchell/webdav-client/issues"
|
|
},
|
|
"homepage": "https://github.com/perry-mitchell/webdav-client#readme",
|
|
"dependencies": {
|
|
"@buttercup/fetch": "^0.2.1",
|
|
"base-64": "^1.0.0",
|
|
"byte-length": "^1.0.2",
|
|
"entities": "^6.0.0",
|
|
"fast-xml-parser": "^4.5.1",
|
|
"hot-patcher": "^2.0.1",
|
|
"layerr": "^3.0.0",
|
|
"md5": "^2.3.0",
|
|
"minimatch": "^9.0.5",
|
|
"nested-property": "^4.0.0",
|
|
"node-fetch": "^3.3.2",
|
|
"path-posix": "^1.0.0",
|
|
"url-join": "^5.0.0",
|
|
"url-parse": "^1.5.10"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.8",
|
|
"@babel/preset-env": "^7.26.8",
|
|
"@babel/preset-typescript": "^7.26.0",
|
|
"@types/chai": "^4.3.20",
|
|
"@types/he": "^1.2.3",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "^22.13.1",
|
|
"@types/sinon": "^17.0.3",
|
|
"@types/url-parse": "^1.4.11",
|
|
"babel-loader": "^9.2.1",
|
|
"babel-plugin-transform-async-to-promises": "^0.8.18",
|
|
"buffer-equals": "^2.0.0",
|
|
"c8": "^10.1.3",
|
|
"chai": "^4.5.0",
|
|
"concurrently": "^8.2.2",
|
|
"copy-dir": "^1.3.0",
|
|
"directory-exists": "^2.0.1",
|
|
"exists-file": "^3.0.2",
|
|
"husky": "^4.3.8",
|
|
"karma": "^6.4.4",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-chrome-launcher": "^3.2.0",
|
|
"karma-firefox-launcher": "^2.1.3",
|
|
"karma-mocha": "^2.0.1",
|
|
"karma-sinon": "^1.0.5",
|
|
"karma-spec-reporter": "^0.0.36",
|
|
"karma-webpack": "^5.0.1",
|
|
"lint-staged": "^15.4.3",
|
|
"mkdirp": "^3.0.1",
|
|
"mocha": "^10.8.2",
|
|
"nock": "^13.5.6",
|
|
"nodemon": "^3.1.9",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.4.2",
|
|
"resolve-typescript-plugin": "^2.0.1",
|
|
"rimraf": "^6.0.1",
|
|
"sinon": "^18.0.1",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.7.3",
|
|
"wait-on": "^7.2.0",
|
|
"webdav-server": "^2.6.2",
|
|
"webpack": "^5.93.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-merge": "^6.0.1"
|
|
}
|
|
}
|