UNPKG

twilio-subscription-context

Version:
129 lines (128 loc) 2.88 kB
{ "name": "twilio-subscription-context", "version": "1.0.5", "description": "Tracks opt-in and opt-out in Twilio Serverless.", "license": "ISC", "repository": { "type": "git", "url": "https://github.com/yucadoo/twilio-subscription-context" }, "bugs": { "url": "https://github.com/yucadoo/twilio-subscription-context/issues" }, "homepage": "https://github.com/yucadoo/twilio-subscription-context#readme", "author": "Hrvoje Jukic", "engines": { "node": ">=6", "npm": ">=3" }, "scripts": { "build:clean": "rimraf dist", "build:transpile": "babel --ignore '**/*.spec.js' -d dist src", "build": "run-s build:*", "prepublishOnly": "run-s build", "lint:eslint": "eslint --ignore-path .gitignore .", "lint:prettier": "prettier --ignore-path .gitignore --list-different '**/*.{js,json,md,yml}'", "lint": "run-p lint:*", "start": "cross-env NODE_ENV=development jest --watch --notify", "test": "jest" }, "files": [ "dist" ], "main": "dist/index.js", "keywords": [ "twilio", "serverless", "opt-in", "opt-out", "subscription" ], "dependencies": {}, "devDependencies": { "@babel/cli": "^7.1.5", "@babel/core": "^7.1.5", "@babel/preset-env": "^7.1.5", "@babel/register": "^7.0.0", "babel-core": "^7.0.0-bridge.0", "cross-env": "^5.2.0", "eslint": "^5.8.0", "eslint-config-airbnb-base": "^13.1.0", "eslint-config-prettier": "^4.1.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-prettier": "^3.0.0", "eslint-plugin-unicorn": "^8.0.0", "husky": "^2.0.0", "jest": "^23.6.0", "lint-staged": "^8.0.4", "npm-run-all": "^4.1.3", "prettier": "^1.15.1", "rimraf": "^2.6.2" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*": "prettier --list-different", "*.js": [ "eslint", "jest --bail --findRelatedTests" ] }, "babel": { "presets": [ [ "@babel/preset-env", { "targets": { "node": "0.10" } } ] ] }, "jest": { "testEnvironment": "node", "coverageReporters": [ "lcov", "text", "html" ] }, "prettier": { "singleQuote": true, "trailingComma": "all" }, "eslintConfig": { "extends": [ "airbnb-base", "plugin:prettier/recommended", "plugin:unicorn/recommended", "prettier", "prettier/unicorn" ], "env": { "browser": false }, "overrides": [ { "files": [ "*.spec.js" ], "env": { "jest": true }, "rules": { "import/no-extraneous-dependencies": [ "error", { "devDependencies": true } ] } } ] } }