97 lines
3.3 KiB
JSON
97 lines
3.3 KiB
JSON
{
|
|
"name": "onspring-api-sdk",
|
|
"version": "0.0.0-semantic-release",
|
|
"description": "A javascript SDK for interacting with version 2 of the Onspring API.",
|
|
"keywords": [
|
|
"onspring",
|
|
"api",
|
|
"sdk",
|
|
"javascript"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/StevanFreeborn/onspring-api-sdk-javascript.git"
|
|
},
|
|
"homepage": "https://github.com/StevanFreeborn/onspring-api-sdk-javascript",
|
|
"bugs": {
|
|
"url": "https://github.com/StevanFreeborn/onspring-api-sdk-javascript/issues",
|
|
"email": "stevan.freeborn@gmail.com"
|
|
},
|
|
"author": {
|
|
"name": "Stevan Freeborn",
|
|
"email": "stevan.freeborn@gmail.com",
|
|
"url": "https://stevanfreeborn.com"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=14.x"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"License.txt",
|
|
"package.json"
|
|
],
|
|
"types": "dist/types/index.d.ts",
|
|
"main": "dist/cjs/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"generate-docs": "typedoc src/index.ts --plugin typedoc-material-theme --themeColor '#194488' --gitRemote github",
|
|
"clean": "rimraf dist",
|
|
"lint": "eslint --ignore-path .eslintignore --ext .js,.ts .",
|
|
"lint-fix": "eslint --fix --ignore-path .eslintignore --ext .js,.ts . --max-warnings=0",
|
|
"format-staged": "pretty-quick --staged",
|
|
"format": "pretty-quick",
|
|
"build": "npm run test-coverage:ci && npm run clean && tsc --project tsconfig.cjs.json && tsc --project tsconfig.esm.json && node ./scripts/create_dist_package_json.js",
|
|
"test:unit": "mocha -r ts-node/register",
|
|
"test:integration": "mocha -r ts-node/register -r integrationTests/mochaRootHooks.ts",
|
|
"tests:unit": "mocha -R progress -r ts-node/register ./tests/**/*.spec.ts",
|
|
"tests:integration": "mocha -R progress -r ts-node/register -r integrationTests/mochaRootHooks.ts ./integrationTests/**/*.spec.ts",
|
|
"tests": "mocha -R progress -r ts-node/register ./tests/**/*.spec.ts && mocha -R progress -r ts-node/register -r integrationTests/mochaRootHooks.ts ./integrationTests/**/*.spec.ts",
|
|
"test-coverage": "nyc npm run tests:unit",
|
|
"test-coverage:ci": "nyc npm run tests",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.8.1",
|
|
"@commitlint/config-conventional": "^17.8.1",
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@types/chai": "^4.3.16",
|
|
"@types/mocha": "^10.0.7",
|
|
"@types/node": "^18.19.41",
|
|
"@types/sinon": "^10.0.20",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
"chai": "^4.4.1",
|
|
"dotenv": "^16.4.5",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^8.10.0",
|
|
"eslint-config-standard-with-typescript": "^34.0.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-mocha": "^10.4.3",
|
|
"eslint-plugin-n": "^15.7.0",
|
|
"eslint-plugin-promise": "^6.4.0",
|
|
"husky": "^8.0.3",
|
|
"mocha": "^10.6.0",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.8.8",
|
|
"pretty-quick": "^3.3.1",
|
|
"sinon": "^15.2.0",
|
|
"ts-node": "^10.9.2",
|
|
"typedoc": "^0.25.13",
|
|
"typedoc-material-theme": "^1.1.0",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.7.2",
|
|
"form-data": "^4.0.0"
|
|
}
|
|
}
|