UNPKG

@specifai-net/appsync-template-tester

Version:

Unit test AppSync VTL resolvers, with popular frameworks such as Jest

102 lines 2.49 kB
{ "name": "@specifai-net/appsync-template-tester", "description": "Unit test AppSync VTL resolvers, with popular frameworks such as Jest", "keywords": [ "appsync", "aws", "template", "resolver", "apache", "velocity", "vtl", "unit", "test", "tester", "jest", "mocha", "jasmine", "velocityjs", "compile", "parse", "util" ], "repository": "https://github.com/specifai-net/appsync-template-tester.git", "license": "MIT", "version": "1.1.9", "main": "dist/index.js", "scripts": { "build": "tsc --resolveJsonModule", "watch": "tsc -w --resolveJsonModule", "test": "./node_modules/.bin/jest", "coverage": "./node_modules/.bin/jest --collect-coverage", "lint": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx --ignore-path .gitignore", "bump": "./node_modules/.bin/versiony package.json --patch" }, "dependencies": { "moment-timezone": "^0.5.34", "uuid": "^8.3.2", "velocityjs": "^2.0.5" }, "devDependencies": { "@types/jest": "^27.4.0", "@types/moment-timezone": "^0.5.30", "@types/node": "^17.0.6", "@types/uuid": "^8.3.3", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", "eslint": "^7.32.0", "eslint-config-airbnb-typescript": "^14.0.2", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.25.3", "eslint-plugin-prettier": "^4.0.0", "jest": "^27.4.5", "prettier": "^2.5.1", "ts-jest": "^27.1.2", "typescript": "~4.4.4", "versiony-cli": "^1.3.0" }, "jest": { "testMatch": [ "**/*.test.ts" ], "transform": { "^.+\\.tsx?$": "ts-jest" }, "testEnvironment": "node", "coverageThreshold": { "global": { "branches": 90, "functions": 90, "lines": 90, "statements": 90 } } }, "eslintConfig": { "root": true, "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint", "prettier" ], "extends": [ "airbnb-typescript/base", "plugin:import/recommended", "plugin:prettier/recommended" ], "parserOptions": { "project": "./tsconfig.json", "ecmaVersion": 8, "sourceType": "module" }, "env": { "node": true }, "rules": { "prettier/prettier": "error", "no-new": "off", "no-console": "off", "import/prefer-default-export": "off" } } }