UNPKG

6.68 kBJSONView Raw
1{
2 "name": "serverless",
3 "version": "1.71.1",
4 "engines": {
5 "node": ">=6.0"
6 },
7 "engineStrict": true,
8 "preferGlobal": true,
9 "homepage": "https://serverless.com/framework/docs/",
10 "description": "Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more",
11 "author": "serverless.com",
12 "license": "MIT",
13 "repository": {
14 "type": "git",
15 "url": "https://github.com/serverless/serverless"
16 },
17 "keywords": [
18 "serverless",
19 "serverless framework",
20 "serverless applications",
21 "serverless modules",
22 "api gateway",
23 "lambda",
24 "aws",
25 "aws lambda",
26 "amazon",
27 "amazon web services",
28 "azure",
29 "azure functions",
30 "google cloud functions",
31 "apache open whisk",
32 "iot",
33 "internet of things",
34 "serverless.com"
35 ],
36 "files": [
37 "bin",
38 "lib",
39 "scripts/postinstall.js",
40 "scripts/preuninstall.js",
41 "scripts/pre-release.js",
42 "package.json",
43 "README.md",
44 "LICENSE.txt",
45 "CHANGELOG.md"
46 ],
47 "main": "lib/Serverless.js",
48 "bin": {
49 "serverless": "./bin/serverless.js",
50 "slss": "./bin/serverless.js",
51 "sls": "./bin/serverless.js"
52 },
53 "scripts": {
54 "commitlint": "commitlint -f HEAD@{15}",
55 "commitlint:pull-request": "commitlint -f HEAD~1",
56 "coverage": "nyc npm test",
57 "integration-test-cleanup": "node tests/utils/aws-cleanup.js",
58 "integration-test-run-all": "mocha-isolated --pass-through-aws-creds --skip-fs-cleanup-check --max-workers=20 tests/integration-all/**/tests.js",
59 "integration-test-run-basic": "mocha tests/integration-basic/tests.js",
60 "integration-test-run-package": "mocha-isolated --skip-fs-cleanup-check tests/integration-package/**/*.tests.js",
61 "lint": "eslint . --cache",
62 "lint:fix": "npm run lint -- --fix",
63 "lint:updated": "pipe-git-updated --ext=js -- eslint --cache",
64 "pkg:build": "node ./scripts/pkg/build.js",
65 "pkg:generate-choco-package": "node ./scripts/pkg/generate-choco-package.js",
66 "pkg:upload": "node ./scripts/pkg/upload.js",
67 "postinstall": "node ./scripts/postinstall.js",
68 "prepare-release": "standard-version && prettier --write CHANGELOG.md",
69 "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
70 "prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
71 "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
72 "prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
73 "test": "mocha \"!(node_modules)/**/*.test.js\"",
74 "test:ci": "npm run prettier-check:updated && npm run lint:updated && npm run test:isolated",
75 "test:isolated": "mocha-isolated"
76 },
77 "eslintConfig": {
78 "extends": "@serverless/eslint-config/node",
79 "root": true,
80 "overrides": [
81 {
82 "files": [
83 "scripts/pkg/*"
84 ],
85 "parserOptions": {
86 "ecmaVersion": 2018
87 }
88 }
89 ]
90 },
91 "eslintIgnore": [
92 "lib/plugins/create/templates/**",
93 "lib/plugins/aws/customResources/node_modules/**"
94 ],
95 "mocha": {
96 "reporter": "./tests/mocha-reporter",
97 "require": [
98 "@serverless/test/setup/log",
99 "@serverless/test/setup/async-leaks-detector",
100 "@serverless/test/setup/async-leaks-detector/bluebird-patch",
101 "@serverless/test/setup/mock-homedir",
102 "@serverless/test/setup/restore-cwd",
103 "@serverless/test/setup/restore-env"
104 ],
105 "timeout": 15000
106 },
107 "nyc": {
108 "all": true,
109 "exclude": [
110 "**/*.test.js",
111 "bin/**",
112 "coverage/**",
113 "dist/**",
114 "scripts/**",
115 "tests/**",
116 "tmp/**",
117 "prettier.config.js"
118 ],
119 "reporter": [
120 "lcov",
121 "html",
122 "text-summary"
123 ]
124 },
125 "standard-version": {
126 "skip": {
127 "commit": true,
128 "tag": true
129 },
130 "types": [
131 {
132 "type": "feat",
133 "section": "Features"
134 },
135 {
136 "type": "fix",
137 "section": "Bug Fixes"
138 },
139 {
140 "type": "perf",
141 "section": "Performance Improvements"
142 },
143 {
144 "type": "refactor",
145 "section": "Maintanance Improvements"
146 }
147 ]
148 },
149 "devDependencies": {
150 "@commitlint/cli": "^8.3.5",
151 "@serverless/eslint-config": "^1.2.1",
152 "@serverless/test": "^3.7.0",
153 "chai": "^4.2.0",
154 "chai-as-promised": "^7.1.1",
155 "cli-progress-footer": "^1.1.1",
156 "eslint": "^7.0.0",
157 "eslint-plugin-import": "^2.20.2",
158 "git-list-updated": "^1.2.1",
159 "github-release-from-cc-changelog": "^2.2.0",
160 "jszip": "^3.4.0",
161 "log": "^6.0.0",
162 "mocha": "^6.2.3",
163 "mocha-lcov-reporter": "^1.3.0",
164 "mock-require": "^3.0.3",
165 "nyc": "^15.0.1",
166 "pkg": "^4.4.8",
167 "prettier": "^1.19.1",
168 "process-utils": "^3.1.0",
169 "proxyquire": "^2.1.3",
170 "sinon": "^8.1.1",
171 "sinon-chai": "^3.5.0",
172 "standard-version": "^8.0.0",
173 "strip-ansi": "^5.2.0",
174 "ws": "^7.3.0",
175 "xml2js": "^0.4.23"
176 },
177 "dependencies": {
178 "@serverless/cli": "^1.4.0",
179 "@serverless/components": "^2.30.10",
180 "@serverless/enterprise-plugin": "^3.6.12",
181 "archiver": "^3.1.1",
182 "async": "^1.5.2",
183 "aws-sdk": "^2.677.0",
184 "bluebird": "^3.7.2",
185 "boxen": "^3.2.0",
186 "cachedir": "^2.3.0",
187 "chalk": "^2.4.2",
188 "child-process-ext": "^2.1.1",
189 "ci-info": "^2.0.0",
190 "d": "^1.0.1",
191 "dayjs": "^1.8.27",
192 "decompress": "^4.2.1",
193 "download": "^7.1.0",
194 "essentials": "^1.1.1",
195 "fast-levenshtein": "^2.0.6",
196 "filesize": "^3.6.1",
197 "fs-extra": "^8.1.0",
198 "get-stdin": "^6.0.0",
199 "globby": "^6.1.0",
200 "graceful-fs": "^4.2.4",
201 "https-proxy-agent": "^5.0.0",
202 "inquirer": "^6.5.2",
203 "is-docker": "^1.1.0",
204 "is-wsl": "^2.2.0",
205 "js-yaml": "^3.13.1",
206 "json-cycle": "^1.3.0",
207 "json-refs": "^2.1.7",
208 "jwt-decode": "^2.2.0",
209 "lodash": "^4.17.15",
210 "memoizee": "^0.4.14",
211 "mkdirp": "^0.5.4",
212 "nanomatch": "^1.2.13",
213 "ncjsm": "^4.0.1",
214 "node-fetch": "^2.6.0",
215 "object-hash": "^2.0.3",
216 "p-limit": "^2.3.0",
217 "promise-queue": "^2.2.5",
218 "rc": "^1.2.8",
219 "replaceall": "^0.1.6",
220 "semver": "^6.3.0",
221 "semver-regex": "^2.0.0",
222 "stream-promise": "^3.2.0",
223 "tabtab": "^3.0.2",
224 "untildify": "^3.0.3",
225 "update-notifier": "^2.5.0",
226 "uuid": "^8.0.0",
227 "write-file-atomic": "^2.4.3",
228 "yaml-ast-parser": "0.0.43",
229 "yargs-parser": "^18.1.3"
230 }
231}