UNPKG

@amazon-codecatalyst/blueprints.sam-serverless-application

Version:

This blueprint creates a project that leverages a serverless application model (SAM) to quickly create and deploy an API. You can choose Java, TypeScript, or Python as the programming language

147 lines (146 loc) 4.99 kB
{ "name": "@amazon-codecatalyst/blueprints.sam-serverless-application", "description": "This blueprint creates a project that leverages a serverless application model (SAM) to quickly create and deploy an API. You can choose Java, TypeScript, or Python as the programming language", "scripts": { "build": "npx projen build", "bump": "npx projen bump", "bump:preview": "npx projen bump:preview", "clobber": "npx projen clobber", "compile": "npx projen compile", "default": "npx projen default", "eject": "npx projen eject", "eslint": "npx projen eslint", "package": "rm -rf ./dist/js/ && npx projen package", "post-compile": "npx projen post-compile", "post-upgrade": "npx projen post-upgrade", "pre-compile": "npx projen pre-compile", "test": "npx projen test", "test:update": "npx projen test:update", "test:watch": "npx projen test:watch", "unbump": "npx projen unbump", "upgrade": "npx projen upgrade", "watch": "npx projen watch", "projen": "npx projen --no-post", "blueprint:build-ast": "blueprint build-ast ./lib/blueprint.d.ts --outdir ./lib/", "blueprint:validate-options": "blueprint validate-options ./lib/ast.json ./lib/defaults.json", "build:lib": "rm -rf ./lib/ && yarn build && yarn blueprint:build-ast && yarn blueprint:validate-options", "blueprint:package": "yarn build:lib && yarn blueprint:synth --cache --clean-up false && yarn package", "npm:publish": "npm publish dist/js/*.tgz", "blueprint:preview": "yarn bump:preview && yarn blueprint:package && blueprint publish ./ --publisher blueprints $*", "blueprint:release": "yarn build:lib && yarn bump && yarn blueprint:synth --cache --clean-up false && yarn package && blueprint publish ./ --publisher blueprints $*", "blueprint:synth": "blueprint drive-synth --blueprint ./ --outdir ./synth --default-options ./src/defaults.json --additional-options ./src/wizard-configurations $*", "blueprint:resynth": "blueprint drive-resynth --blueprint ./ --outdir ./synth --default-options ./src/defaults.json --additional-options ./src/wizard-configurations $*" }, "author": { "name": "Amazon Web Services", "organization": false }, "devDependencies": { "@amazon-codecatalyst/blueprint-util.cli": "*", "@amazon-codecatalyst/blueprint-util.projen-blueprint": "*", "@types/jest": "*", "@types/node": "^18", "@types/pino": "^6.3.12", "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", "eslint": "^8", "eslint-import-resolver-node": "*", "eslint-import-resolver-typescript": "*", "eslint-plugin-import": "*", "jest": "*", "jest-junit": "^15", "npm-check-updates": "^16", "pino": "^6.13.4", "pino-pretty": "^4.8.0", "projen": "0.71.112", "standard-version": "^9", "ts-jest": "*", "ts-node": "^10", "typescript": "^4.x" }, "peerDependencies": { "@amazon-codecatalyst/blueprint-util.cli": "*" }, "dependencies": { "@amazon-codecatalyst/blueprint-component.dev-environments": "*", "@amazon-codecatalyst/blueprint-component.environments": "*", "@amazon-codecatalyst/blueprint-component.source-repositories": "*", "@amazon-codecatalyst/blueprint-component.workflows": "*", "@amazon-codecatalyst/blueprints.blueprint": "*", "globule": "*", "pino": "^6.13.4", "projen": "0.71.112", "ts-deepmerge": "*" }, "resolutions": { "@aws-sdk/client-codecatalyst": "3.414.0", "projen": "0.71.112" }, "keywords": [ "aws lambda", "java", "node", "nodejs", "python", "sam", "serverless" ], "main": "lib/index.js", "license": "Apache-2.0", "homepage": "https://aws.amazon.com/", "version": "0.3.155", "jest": { "testMatch": [ "<rootDir>/src/**/__tests__/**/*.ts?(x)", "<rootDir>/(test|src)/**/*(*.)@(spec|test).ts?(x)" ], "clearMocks": true, "collectCoverage": true, "coverageReporters": [ "json", "lcov", "clover", "cobertura", "text" ], "coverageDirectory": "coverage", "coveragePathIgnorePatterns": [ "/node_modules/" ], "testPathIgnorePatterns": [ "/node_modules/" ], "watchPathIgnorePatterns": [ "/node_modules/" ], "reporters": [ "default", [ "jest-junit", { "outputDirectory": "test-reports" } ] ], "preset": "ts-jest", "globals": { "ts-jest": { "tsconfig": "tsconfig.dev.json" } }, "modulePathIgnorePatterns": [ "/synth/" ] }, "types": "lib/index.d.ts", "publishingSpace": "blueprints", "mediaUrls": [ "https://media.amazonwebservices.com/blog/2018/sam_squirrel_1.jpg" ], "displayName": "Serverless application model (SAM) API", "files": [ "static-assets", "lib" ], "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"." }