88 lines
2.9 KiB
JSON
88 lines
2.9 KiB
JSON
{
|
|
"name": "onspring-api-sdk",
|
|
"version": "0.0.2",
|
|
"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"
|
|
],
|
|
"main": "dist/cjs/index.js",
|
|
"types": "dist/types/index.d.ts",
|
|
"exports": {
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.js",
|
|
"default": "./dist/cjs/index.js"
|
|
},
|
|
"scripts": {
|
|
"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 tests && npm run clean && tsc --project tsconfig.cjs.json && tsc --project tsconfig.esm.json",
|
|
"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": {
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@types/chai": "^4.3.4",
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/node": "^18.14.0",
|
|
"@types/sinon": "^10.0.13",
|
|
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
|
"@typescript-eslint/parser": "^5.50.0",
|
|
"chai": "^4.3.7",
|
|
"dotenv": "^16.0.3",
|
|
"eslint": "^8.33.0",
|
|
"eslint-config-prettier": "^8.6.0",
|
|
"eslint-config-standard-with-typescript": "^34.0.0",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-mocha": "^10.1.0",
|
|
"eslint-plugin-n": "^15.6.1",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"husky": "^8.0.3",
|
|
"mocha": "^10.2.0",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.8.3",
|
|
"pretty-quick": "^3.1.3",
|
|
"sinon": "^15.0.1",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.2.4",
|
|
"form-data": "^4.0.0"
|
|
}
|
|
} |