UNPKG

citeright-sdk-js

Version:
118 lines (117 loc) 3.49 kB
{ "name": "citeright-sdk-js", "version": "1.0.120", "description": "An SDK to connect to the CiteRight API.", "main": "index.js", "scripts": { "clean": "shx rm -rf dist", "watch": "watch \"npm run build\" src", "test": "nyc mocha", "integration-test": "nyc mocha --timeout 15000 --full-trace ./integration_tests/*.test.ts", "build": "run-s compile copy-statics", "compile": "tsc --skipLibCheck", "copy-statics": "shx cp package.json LICENSE README.md dist", "lint": "tslint '**/*.ts' --exclude 'node_modules/**/*' --exclude 'dist/**/*'", "publish-node-module": "npm publish dist", "prepublish-node-module": "run-s clean lint test version-patch build", "version-patch": "npm version patch", "postversion-patch": "git push" }, "repository": { "type": "git", "url": "git@bitbucket.org:citeright/citeright-sdk-js.git" }, "keywords": [ "CiteRight", "Legal", "Citation", "API" ], "author": "Fred Read", "license": "GPL-3.0", "bugs": { "url": "https://github.com/fred-citeright/CiteRight-SDK-JS/issues" }, "husky": { "hooks": { "pre-commit": "npm run lint", "pre-push": "" } }, "mocha": { "spec": "./unit_tests/*.test.ts", "require": [ "ts-node/register", "mocha-junit-reporter", "source-map-support/register" ] }, "nyc": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "require": [ "ts-node/register" ], "reporter": [ "text-summary", "html" ], "exclude": [ "**/*.test.ts", "**/*.test.tsx", "node_modules", "dist", "coverage" ], "awesomeTypescriptLoaderOptions": { "useCache": true, "useBabel": true }, "engines": { "node": ">=6.11.0" }, "config": {}, "sourceMap": true, "instrument": true }, "homepage": "https://bitbucket.org/citeright/citeright-sdk-js/src/master/README.md", "dependencies": { "axios": "^0.19.0", "querystring": "^0.2.0", "validator": "^11.1.0" }, "devDependencies": { "@types/mocha": "^5.2.7", "@types/node": "^12.7.1", "@types/validator": "^10.11.2", "chai": "^4.2.0", "chai-sorted": "^0.2.0", "dotenv": "^8.0.0", "eslint": "^6.1.0", "eslint-config-prettier": "^6.0.0", "eslint-plugin-prettier": "^3.1.0", "husky": "^4.2.3", "merge2": "^1.2.4", "mocha": "^6.2.0", "mocha-junit-reporter": "^1.23.1", "nock": "^10.0.6", "npm": "^6.14.3", "npm-run-all": "^4.1.5", "nyc": "^14.1.1", "prettier": "^1.18.2", "run-sequence": "^2.2.1", "shelljs": "^0.8.3", "shx": "^0.3.2", "source-map-support": "^0.5.13", "ts-node": "^8.3.0", "tslint": "^5.18.0", "tslint-config-prettier": "^1.18.0", "tslint-plugin-prettier": "^2.0.1", "typescript": "^3.5.3", "watch": "^1.0.2" } }