@typeform/api-client
Version:
JS SDK for Typeform API
116 lines (115 loc) • 3.36 kB
JSON
{
"name": "@typeform/api-client",
"version": "2.5.1",
"description": "JS SDK for Typeform API",
"scripts": {
"test:unit": "jest ./tests/unit",
"test:unit:watch": "jest ./tests/unit --watch",
"test:integration": "jest ./tests/integration",
"test:integration:watch": "jest ./tests/integration --watch",
"build": "rm -rf ./dist && rollup -c",
"prepublish": "in-publish && npm run build || not-in-publish",
"prepare": "npm run build",
"lint": "eslint . --max-warnings=0",
"lint-staged": "lint-staged",
"prettier": "prettier --write . --ignore-path .eslintignore",
"release": "npm config set @typeform:registry https://registry.npmjs.org/ && yarn semantic-release",
"server": "node ./tests/integration/mockServer.js",
"server:dev": "nodemon ./tests/integration/mockServer.js",
"publish:github": "npm config set @typeform:registry https://npm.pkg.github.com/ && npm publish",
"typeform-api": "node ./dist/bin"
},
"bin": {
"typeform-api": "dist/bin"
},
"main": "dist/index.cjs.js",
"browser": "dist/typeform-api.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"engines": {
"node": ">=12"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Typeform/js-api-client.git"
},
"keywords": [
"sdk",
"typeform",
"js"
],
"contributors": [
"Jepser Bernardino",
"Michael Solati <mkslt04@gmail.com>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/Typeform/js-api-client/issues"
},
"homepage": "https://github.com/Typeform/js-api-client#readme",
"files": [
"dist/**",
"LICENSE.md",
"package.json",
"package-lock.json",
"README.md",
"yarn.lock"
],
"dependencies": {
"axios": "^1.7.8"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/github": "^9.2.4",
"@semantic-release/npm": "^11.0.1",
"@typeform/eslint-config": "^6.0.3",
"@types/jest": "^24.0.18",
"axios-mock-adapter": "^1.22.0",
"eslint": "^8.43.0",
"husky": "^4.0.0-beta.1",
"in-publish": "^2.0.0",
"jest": "^28.1.0",
"json-server": "^0.15.1",
"lint-staged": "^13.2.2",
"nodemon": "^1.19.2",
"nyc": "^17.0.0",
"prettier": "^2.8.8",
"rollup": "^1.21.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-copier": "^1.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.24.1",
"semantic-release": "^17.0.7",
"ts-jest": "^28.0.8",
"tslib": "^2.6.2",
"typescript": "^4.9.5"
},
"jest": {
"automock": false,
"testEnvironmentOptions": {
"url": "http://localhost/"
},
"preset": "ts-jest"
},
"prettier": "@typeform/eslint-config/prettier",
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --max-warnings=0"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}