mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
221 lines
6.2 KiB
JSON
221 lines
6.2 KiB
JSON
{
|
|
"name": "serverless",
|
|
"version": "2.41.2",
|
|
"description": "Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more",
|
|
"preferGlobal": true,
|
|
"homepage": "https://serverless.com/framework/docs/",
|
|
"author": "serverless.com",
|
|
"repository": "serverless/serverless",
|
|
"keywords": [
|
|
"serverless",
|
|
"lambda",
|
|
"aws",
|
|
"amazon",
|
|
"azure",
|
|
"google-cloud",
|
|
"apache-open-whisk",
|
|
"iot"
|
|
],
|
|
"main": "lib/Serverless.js",
|
|
"bin": {
|
|
"serverless": "./bin/serverless.js",
|
|
"sls": "./bin/serverless.js"
|
|
},
|
|
"dependencies": {
|
|
"@serverless/cli": "^1.5.2",
|
|
"@serverless/components": "^3.9.2",
|
|
"@serverless/dashboard-plugin": "^5.0.0",
|
|
"@serverless/utils": "^4.1.0",
|
|
"ajv": "^6.12.6",
|
|
"ajv-keywords": "^3.5.2",
|
|
"archiver": "^5.3.0",
|
|
"aws-sdk": "^2.906.0",
|
|
"bluebird": "^3.7.2",
|
|
"boxen": "^5.0.1",
|
|
"cachedir": "^2.3.0",
|
|
"chalk": "^4.1.1",
|
|
"child-process-ext": "^2.1.1",
|
|
"ci-info": "^3.1.1",
|
|
"d": "^1.0.1",
|
|
"dayjs": "^1.10.4",
|
|
"decompress": "^4.2.1",
|
|
"dotenv": "^9.0.2",
|
|
"download": "^8.0.0",
|
|
"essentials": "^1.1.1",
|
|
"fastest-levenshtein": "^1.0.12",
|
|
"filesize": "^6.3.0",
|
|
"fs-extra": "^9.1.0",
|
|
"get-stdin": "^8.0.0",
|
|
"globby": "^11.0.3",
|
|
"got": "^11.8.2",
|
|
"graceful-fs": "^4.2.6",
|
|
"https-proxy-agent": "^5.0.0",
|
|
"is-docker": "^2.2.1",
|
|
"is-wsl": "^2.2.0",
|
|
"js-yaml": "^4.1.0",
|
|
"json-cycle": "^1.3.0",
|
|
"json-refs": "^3.0.15",
|
|
"lodash": "^4.17.21",
|
|
"memoizee": "^0.4.15",
|
|
"micromatch": "^4.0.4",
|
|
"ncjsm": "^4.2.0",
|
|
"node-fetch": "^2.6.1",
|
|
"object-hash": "^2.1.1",
|
|
"path2": "^0.1.0",
|
|
"promise-queue": "^2.2.5",
|
|
"replaceall": "^0.1.6",
|
|
"semver": "^7.3.5",
|
|
"tabtab": "^3.0.2",
|
|
"tar": "^6.1.0",
|
|
"timers-ext": "^0.1.7",
|
|
"type": "^2.5.0",
|
|
"untildify": "^4.0.0",
|
|
"uuid": "^8.3.2",
|
|
"yaml-ast-parser": "0.0.43"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^12.1.4",
|
|
"@serverless/eslint-config": "^3.0.0",
|
|
"@serverless/test": "^8.1.0",
|
|
"chai": "^4.3.4",
|
|
"chai-as-promised": "^7.1.1",
|
|
"cos-nodejs-sdk-v5": "^2.9.15",
|
|
"eslint": "^7.26.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"git-list-updated": "^1.2.1",
|
|
"github-release-from-cc-changelog": "^2.2.0",
|
|
"husky": "^4.3.8",
|
|
"jszip": "^3.6.0",
|
|
"lint-staged": "^10.5.4",
|
|
"log": "^6.0.0",
|
|
"log-node": "^7.0.0",
|
|
"mocha": "^8.4.0",
|
|
"mock-require": "^3.0.3",
|
|
"nyc": "^15.1.0",
|
|
"pkg": "^4.5.1",
|
|
"prettier": "^2.3.0",
|
|
"process-utils": "^4.0.0",
|
|
"proxyquire": "^2.1.3",
|
|
"semver-regex": "^3.1.2",
|
|
"sinon": "^10.0.0",
|
|
"sinon-chai": "^3.6.0",
|
|
"standard-version": "^9.3.0",
|
|
"strip-ansi": "^6.0.0",
|
|
"ws": "^7.4.5",
|
|
"xml2js": "^0.4.23"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@serverless/eslint-config/node",
|
|
"root": true,
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"test/fixtures/**"
|
|
],
|
|
"rules": {
|
|
"no-console": "off"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"eslintIgnore": [
|
|
"!/.github",
|
|
"/lib/plugins/create/templates/**",
|
|
"/lib/plugins/aws/customResources/node_modules/**",
|
|
"!/test/fixtures/programmatic/locallyInstalledServerless/node_modules/**"
|
|
],
|
|
"mocha": {
|
|
"require": [
|
|
"./test/mochaPatch",
|
|
"@serverless/test/setup/log",
|
|
"@serverless/test/setup/mock-homedir",
|
|
"@serverless/test/setup/mock-cwd",
|
|
"@serverless/test/setup/restore-env"
|
|
],
|
|
"timeout": 30000
|
|
},
|
|
"nyc": {
|
|
"all": true,
|
|
"exclude": [
|
|
".github",
|
|
"coverage/**",
|
|
"dist/**",
|
|
"docs/**",
|
|
"scripts/test/**",
|
|
"test/**",
|
|
"tmp/**",
|
|
"prettier.config.js"
|
|
],
|
|
"reporter": [
|
|
"lcov",
|
|
"html",
|
|
"text-summary"
|
|
]
|
|
},
|
|
"standard-version": {
|
|
"skip": {
|
|
"commit": true,
|
|
"tag": true
|
|
},
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "Bug Fixes"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"section": "Performance Improvements"
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"section": "Maintenance Improvements"
|
|
}
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint"
|
|
],
|
|
"*.{css,html,js,json,md,yaml,yml}": [
|
|
"prettier -c"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"commitlint": "commitlint -f HEAD@{15}",
|
|
"coverage": "nyc npm test",
|
|
"integration-test-cleanup": "node test/utils/awsCleanup.js",
|
|
"integration-test-run-all": "mocha-isolated --pass-through-aws-creds --skip-fs-cleanup-check --max-workers=20 \"test/integration/**/*.test.js\"",
|
|
"integration-test-run-basic": "mocha test/integrationBasic.test.js",
|
|
"integration-test-run-package": "mocha-isolated --skip-fs-cleanup-check test/integrationPackage/**/*.tests.js",
|
|
"integration-test-setup": "node ./scripts/test/integration-setup/index.js",
|
|
"integration-test-teardown": "node ./scripts/test/integration-teardown.js",
|
|
"lint": "eslint .",
|
|
"lint:updated": "pipe-git-updated --ext=js -- eslint",
|
|
"pkg:build": "node ./scripts/pkg/build.js",
|
|
"pkg:generate-choco-package": "node ./scripts/pkg/generate-choco-package.js",
|
|
"pkg:upload": "node ./scripts/pkg/upload/index.js",
|
|
"postinstall": "node ./scripts/postinstall.js",
|
|
"prepare-release": "standard-version && prettier --write CHANGELOG.md",
|
|
"prettier-check": "prettier -c \"**/*.{css,html,js,json,md,yaml,yml}\"",
|
|
"prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
|
|
"prettify": "prettier --write \"**/*.{css,html,js,json,md,yaml,yml}\"",
|
|
"prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
|
|
"test": "mocha \"test/unit/**/*.test.js\"",
|
|
"test:ci": "npm run prettier-check:updated && npm run lint:updated && npm run test:isolated",
|
|
"test:isolated": "mocha-isolated \"test/unit/**/*.test.js\""
|
|
},
|
|
"engines": {
|
|
"node": ">=10.0"
|
|
},
|
|
"license": "MIT"
|
|
}
|