UNPKG

6.9 kBJSONView Raw
1{
2 "name": "serverless",
3 "version": "1.73.0",
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/pre-release.js",
41 "package.json",
42 "README.md",
43 "LICENSE.txt",
44 "CHANGELOG.md"
45 ],
46 "main": "lib/Serverless.js",
47 "bin": {
48 "serverless": "./bin/serverless.js",
49 "slss": "./bin/serverless.js",
50 "sls": "./bin/serverless.js"
51 },
52 "scripts": {
53 "commitlint": "commitlint -f HEAD@{15}",
54 "commitlint:pull-request": "commitlint -f HEAD~1",
55 "coverage": "nyc npm test",
56 "integration-test-cleanup": "node tests/utils/aws-cleanup.js",
57 "integration-test-run-all": "mocha-isolated --pass-through-aws-creds --skip-fs-cleanup-check --max-workers=20 tests/integration-all/**/tests.js",
58 "integration-test-run-basic": "mocha tests/integration-basic/tests.js",
59 "integration-test-run-package": "mocha-isolated --skip-fs-cleanup-check tests/integration-package/**/*.tests.js",
60 "lint": "eslint .",
61 "lint:updated": "pipe-git-updated --ext=js -- eslint",
62 "pkg:build": "node ./scripts/pkg/build.js",
63 "pkg:generate-choco-package": "node ./scripts/pkg/generate-choco-package.js",
64 "pkg:upload": "node ./scripts/pkg/upload.js",
65 "postinstall": "node ./scripts/postinstall.js",
66 "prepare-release": "standard-version && prettier --write CHANGELOG.md",
67 "prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
68 "prettier-check:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
69 "prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
70 "prettify:updated": "pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write",
71 "test": "mocha \"!(node_modules)/**/*.test.js\"",
72 "test:ci": "npm run prettier-check:updated && npm run lint:updated && npm run test:isolated",
73 "test:isolated": "mocha-isolated"
74 },
75 "eslintConfig": {
76 "extends": "@serverless/eslint-config/node",
77 "root": true,
78 "overrides": [
79 {
80 "files": [
81 "scripts/pkg/*"
82 ],
83 "parserOptions": {
84 "ecmaVersion": 2018
85 }
86 }
87 ]
88 },
89 "eslintIgnore": [
90 "lib/plugins/create/templates/**",
91 "lib/plugins/aws/customResources/node_modules/**"
92 ],
93 "mocha": {
94 "reporter": "./tests/mocha-reporter",
95 "require": [
96 "@serverless/test/setup/log",
97 "@serverless/test/setup/async-leaks-detector",
98 "@serverless/test/setup/async-leaks-detector/bluebird-patch",
99 "@serverless/test/setup/mock-homedir",
100 "@serverless/test/setup/restore-cwd",
101 "@serverless/test/setup/restore-env"
102 ],
103 "timeout": 15000
104 },
105 "nyc": {
106 "all": true,
107 "exclude": [
108 "**/*.test.js",
109 "bin/**",
110 "coverage/**",
111 "dist/**",
112 "scripts/**",
113 "tests/**",
114 "tmp/**",
115 "prettier.config.js"
116 ],
117 "reporter": [
118 "lcov",
119 "html",
120 "text-summary"
121 ]
122 },
123 "standard-version": {
124 "skip": {
125 "commit": true,
126 "tag": true
127 },
128 "types": [
129 {
130 "type": "feat",
131 "section": "Features"
132 },
133 {
134 "type": "fix",
135 "section": "Bug Fixes"
136 },
137 {
138 "type": "perf",
139 "section": "Performance Improvements"
140 },
141 {
142 "type": "refactor",
143 "section": "Maintanance Improvements"
144 }
145 ]
146 },
147 "husky": {
148 "hooks": {
149 "pre-commit": "lint-staged"
150 }
151 },
152 "lint-staged": {
153 "*.js": [
154 "eslint"
155 ],
156 "*.{css,html,js,json,md,yaml,yml}": [
157 "prettier -c"
158 ]
159 },
160 "devDependencies": {
161 "@commitlint/cli": "^8.3.5",
162 "@serverless/eslint-config": "^1.2.1",
163 "@serverless/test": "^3.8.0",
164 "chai": "^4.2.0",
165 "chai-as-promised": "^7.1.1",
166 "cli-progress-footer": "^1.1.1",
167 "eslint": "^7.2.0",
168 "eslint-plugin-import": "^2.21.2",
169 "git-list-updated": "^1.2.1",
170 "github-release-from-cc-changelog": "^2.2.0",
171 "husky": "^4.2.5",
172 "jszip": "^3.5.0",
173 "lint-staged": "^10.2.10",
174 "log": "^6.0.0",
175 "mocha": "^6.2.3",
176 "mocha-lcov-reporter": "^1.3.0",
177 "mock-require": "^3.0.3",
178 "nyc": "^15.1.0",
179 "pkg": "^4.4.8",
180 "prettier": "^1.19.1",
181 "process-utils": "^3.1.0",
182 "proxyquire": "^2.1.3",
183 "sinon": "^8.1.1",
184 "sinon-chai": "^3.5.0",
185 "standard-version": "^8.0.0",
186 "strip-ansi": "^5.2.0",
187 "ws": "^7.3.0",
188 "xml2js": "^0.4.23"
189 },
190 "dependencies": {
191 "@serverless/cli": "^1.5.0",
192 "@serverless/components": "^2.30.15",
193 "@serverless/enterprise-plugin": "^3.6.13",
194 "@serverless/inquirer": "^1.1.2",
195 "@serverless/utils": "^1.1.0",
196 "archiver": "^3.1.1",
197 "async": "^1.5.2",
198 "aws-sdk": "^2.697.0",
199 "bluebird": "^3.7.2",
200 "boxen": "^3.2.0",
201 "cachedir": "^2.3.0",
202 "chalk": "^2.4.2",
203 "child-process-ext": "^2.1.1",
204 "d": "^1.0.1",
205 "dayjs": "^1.8.28",
206 "decompress": "^4.2.1",
207 "download": "^7.1.0",
208 "essentials": "^1.1.1",
209 "fast-levenshtein": "^2.0.6",
210 "filesize": "^3.6.1",
211 "fs-extra": "^8.1.0",
212 "get-stdin": "^6.0.0",
213 "globby": "^9.2.0",
214 "graceful-fs": "^4.2.4",
215 "https-proxy-agent": "^5.0.0",
216 "is-docker": "^1.1.0",
217 "is-wsl": "^2.2.0",
218 "js-yaml": "^3.14.0",
219 "json-cycle": "^1.3.0",
220 "json-refs": "^3.0.15",
221 "jwt-decode": "^2.2.0",
222 "lodash": "^4.17.15",
223 "memoizee": "^0.4.14",
224 "mkdirp": "^0.5.4",
225 "nanomatch": "^1.2.13",
226 "ncjsm": "^4.0.1",
227 "node-fetch": "^2.6.0",
228 "object-hash": "^2.0.3",
229 "p-limit": "^2.3.0",
230 "promise-queue": "^2.2.5",
231 "rc": "^1.2.8",
232 "replaceall": "^0.1.6",
233 "semver": "^6.3.0",
234 "semver-regex": "^2.0.0",
235 "stream-promise": "^3.2.0",
236 "tabtab": "^3.0.2",
237 "type": "^2.0.0",
238 "untildify": "^3.0.3",
239 "update-notifier": "^2.5.0",
240 "uuid": "^3.4.0",
241 "write-file-atomic": "^2.4.3",
242 "yaml-ast-parser": "0.0.43",
243 "yargs-parser": "^18.1.3"
244 }
245}