UNPKG

sp-rest-proxy

Version:

SharePoint REST API Proxy for Node.js and Express local serve

76 lines (75 loc) 2.23 kB
{ "name": "sp-rest-proxy", "description": "SharePoint REST API Proxy for Node.js and Express local serve", "version": "3.3.6", "main": "./dist/index.js", "typings": "./dist/index/RestProxy", "scripts": { "serve": "ts-node ./src/server", "build": "npm run lint && npx rimraf ./dist && tsc -p .", "lint": "tsc --noEmit && eslint \"*/**/*.{js,ts,tsx}\" --quiet --fix", "test:init": "ts-node ./test/init --init", "test": "npm run test:init && mocha --config ./test/.mocharc.json || ECHO.", "test:manual": "ts-node ./test/manual/server", "test:ci": "mocha --config ./test/.mocharc.json --ci || ECHO.", "docker": "ts-node ./docker/scripts/publish" }, "keywords": [ "SharePoint", "rest", "proxy", "debug", "API" ], "repository": { "type": "git", "url": "git+https://github.com/koltyakov/sp-rest-proxy.git" }, "author": "Andrew Koltyakov <andrew.koltyakov@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/koltyakov/sp-rest-proxy/issues" }, "homepage": "https://github.com/koltyakov/sp-rest-proxy#readme", "dependencies": { "body-parser": "^1.20.0", "cors": "^2.8.5", "express": "^4.18.1", "node-fetch": "^2.6.7", "node-sp-auth": "^3.0.7", "node-sp-auth-config": "^3.0.5", "socket.io": "^4.5.2", "socket.io-client": "^4.5.1" }, "devDependencies": { "@pnp/pnpjs-commonjs": "^2.12.0", "@types/chai": "^4.3.3", "@types/core-js": "^2.5.5", "@types/cors": "^2.8.12", "@types/express": "^4.17.13", "@types/minimist": "^1.2.2", "@types/mocha": "^9.1.1", "@types/node": "^17.0.17", "@types/node-fetch": "^2.6.2", "@types/socket.io": "^3.0.2", "@types/socket.io-client": "^3.0.0", "@types/xml2js": "^0.4.11", "@typescript-eslint/eslint-plugin": "^5.33.0", "@typescript-eslint/parser": "^5.33.0", "axios": "^0.27.2", "chai": "^4.3.6", "colors": "^1.4.0", "cpass": "^2.3.0", "dotenv": "^16.0.1", "eslint": "^8.22.0", "minimist": "^1.2.6", "mocha": "^9.2.0", "sp-pnp-node": "^3.0.1", "ts-node": "^10.9.1", "typescript": "^4.7.4", "xml2js": "^0.4.23" }, "volta": { "node": "16.16.0" } }