Skip to content

Instantly share code, notes, and snippets.

@henrikbjorn
Created July 4, 2019 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henrikbjorn/bae6d54c772890ebf30157ef041d7681 to your computer and use it in GitHub Desktop.
Save henrikbjorn/bae6d54c772890ebf30157ef041d7681 to your computer and use it in GitHub Desktop.
Serverless not excluding devDependencies
.serverless/test
└── node_modules
β”œβ”€β”€ @mrmlnc
β”œβ”€β”€ @nodelib
β”œβ”€β”€ @serverless
β”œβ”€β”€ @types
β”œβ”€β”€ accepts
β”œβ”€β”€ agent-base
β”œβ”€β”€ ansi
β”œβ”€β”€ ansi-align
β”œβ”€β”€ ansi-escapes
β”œβ”€β”€ ansi-regex
β”œβ”€β”€ ansi-styles
β”œβ”€β”€ archiver
β”œβ”€β”€ archiver-utils
β”œβ”€β”€ are-we-there-yet
β”œβ”€β”€ argparse
β”œβ”€β”€ arr-diff
β”œβ”€β”€ arr-flatten
β”œβ”€β”€ arr-union
β”œβ”€β”€ array-flatten
β”œβ”€β”€ array-union
β”œβ”€β”€ array-uniq
β”œβ”€β”€ array-unique
β”œβ”€β”€ assign-symbols
β”œβ”€β”€ async
β”œβ”€β”€ asynckit
β”œβ”€β”€ atob
β”œβ”€β”€ aws-sdk
β”œβ”€β”€ balanced-match
β”œβ”€β”€ base
β”œβ”€β”€ base64-js
β”œβ”€β”€ bl
β”œβ”€β”€ bluebird
β”œβ”€β”€ body-parser
β”œβ”€β”€ boxen
β”œβ”€β”€ brace-expansion
β”œβ”€β”€ braces
β”œβ”€β”€ buffer
β”œβ”€β”€ buffer-alloc
β”œβ”€β”€ buffer-alloc-unsafe
β”œβ”€β”€ buffer-crc32
β”œβ”€β”€ buffer-fill
β”œβ”€β”€ buffer-from
β”œβ”€β”€ bytes
β”œβ”€β”€ cache-base
β”œβ”€β”€ cachedir
β”œβ”€β”€ call-me-maybe
β”œβ”€β”€ camelcase
β”œβ”€β”€ capture-stack-trace
β”œβ”€β”€ caw
β”œβ”€β”€ chalk
β”œβ”€β”€ ci-info
β”œβ”€β”€ class-utils
β”œβ”€β”€ cli-boxes
β”œβ”€β”€ cli-cursor
β”œβ”€β”€ cli-width
β”œβ”€β”€ code-point-at
β”œβ”€β”€ collection-visit
β”œβ”€β”€ color-convert
β”œβ”€β”€ color-name
β”œβ”€β”€ combined-stream
β”œβ”€β”€ commander
β”œβ”€β”€ component-emitter
β”œβ”€β”€ compress-commons
β”œβ”€β”€ concat-map
β”œβ”€β”€ concat-stream
β”œβ”€β”€ config-chain
β”œβ”€β”€ configstore
β”œβ”€β”€ content-disposition
β”œβ”€β”€ content-type
β”œβ”€β”€ cookie
β”œβ”€β”€ cookie-signature
β”œβ”€β”€ cookiejar
β”œβ”€β”€ copy-descriptor
β”œβ”€β”€ core-util-is
β”œβ”€β”€ cors
β”œβ”€β”€ crc
β”œβ”€β”€ crc32-stream
β”œβ”€β”€ create-error-class
β”œβ”€β”€ cross-spawn
β”œβ”€β”€ crypto-random-string
β”œβ”€β”€ debug
β”œβ”€β”€ decode-uri-component
β”œβ”€β”€ decompress
β”œβ”€β”€ decompress-tar
β”œβ”€β”€ decompress-tarbz2
β”œβ”€β”€ decompress-targz
β”œβ”€β”€ decompress-unzip
β”œβ”€β”€ deep-extend
β”œβ”€β”€ define-property
β”œβ”€β”€ delayed-stream
β”œβ”€β”€ delegates
β”œβ”€β”€ depd
β”œβ”€β”€ destroy
β”œβ”€β”€ dir-glob
β”œβ”€β”€ dot-prop
β”œβ”€β”€ download
β”œβ”€β”€ duplexer3
β”œβ”€β”€ ee-first
β”œβ”€β”€ encodeurl
β”œβ”€β”€ encoding
β”œβ”€β”€ end-of-stream
β”œβ”€β”€ es6-promise
β”œβ”€β”€ es6-promisify
β”œβ”€β”€ escape-html
β”œβ”€β”€ escape-string-regexp
β”œβ”€β”€ esprima
β”œβ”€β”€ etag
β”œβ”€β”€ events
β”œβ”€β”€ execa
β”œβ”€β”€ exit-hook
β”œβ”€β”€ expand-brackets
β”œβ”€β”€ express
β”œβ”€β”€ extend
β”œβ”€β”€ extend-shallow
β”œβ”€β”€ external-editor
β”œβ”€β”€ extglob
β”œβ”€β”€ fast-glob
β”œβ”€β”€ fast-levenshtein
β”œβ”€β”€ fd-slicer
β”œβ”€β”€ figures
β”œβ”€β”€ file-type
β”œβ”€β”€ filename-reserved-regex
β”œβ”€β”€ filenamify
β”œβ”€β”€ filesize
β”œβ”€β”€ fill-range
β”œβ”€β”€ finalhandler
β”œβ”€β”€ flat
β”œβ”€β”€ for-in
β”œβ”€β”€ form-data
β”œβ”€β”€ formidable
β”œβ”€β”€ forwarded
β”œβ”€β”€ fragment-cache
β”œβ”€β”€ fresh
β”œβ”€β”€ fs-constants
β”œβ”€β”€ fs-extra
β”œβ”€β”€ fs.realpath
β”œβ”€β”€ gauge
β”œβ”€β”€ get-proxy
β”œβ”€β”€ get-stdin
β”œβ”€β”€ get-stream
β”œβ”€β”€ get-value
β”œβ”€β”€ glob
β”œβ”€β”€ glob-parent
β”œβ”€β”€ glob-to-regexp
β”œβ”€β”€ global-dirs
β”œβ”€β”€ globby
β”œβ”€β”€ got
β”œβ”€β”€ graceful-fs
β”œβ”€β”€ graceful-readlink
β”œβ”€β”€ graphlib
β”œβ”€β”€ has-ansi
β”œβ”€β”€ has-flag
β”œβ”€β”€ has-symbol-support-x
β”œβ”€β”€ has-to-string-tag-x
β”œβ”€β”€ has-unicode
β”œβ”€β”€ has-value
β”œβ”€β”€ has-values
β”œβ”€β”€ http-errors
β”œβ”€β”€ https-proxy-agent
β”œβ”€β”€ iconv-lite
β”œβ”€β”€ ieee754
β”œβ”€β”€ ignore
β”œβ”€β”€ immediate
β”œβ”€β”€ import-lazy
β”œβ”€β”€ imurmurhash
β”œβ”€β”€ inflight
β”œβ”€β”€ inherits
β”œβ”€β”€ ini
β”œβ”€β”€ inquirer
β”œβ”€β”€ ipaddr.js
β”œβ”€β”€ is-accessor-descriptor
β”œβ”€β”€ is-buffer
β”œβ”€β”€ is-ci
β”œβ”€β”€ is-data-descriptor
β”œβ”€β”€ is-descriptor
β”œβ”€β”€ is-docker
β”œβ”€β”€ is-extendable
β”œβ”€β”€ is-extglob
β”œβ”€β”€ is-fullwidth-code-point
β”œβ”€β”€ is-glob
β”œβ”€β”€ is-installed-globally
β”œβ”€β”€ is-natural-number
β”œβ”€β”€ is-npm
β”œβ”€β”€ is-number
β”œβ”€β”€ is-obj
β”œβ”€β”€ is-object
β”œβ”€β”€ is-path-inside
β”œβ”€β”€ is-plain-object
β”œβ”€β”€ is-promise
β”œβ”€β”€ is-redirect
β”œβ”€β”€ is-retry-allowed
β”œβ”€β”€ is-stream
β”œβ”€β”€ is-windows
β”œβ”€β”€ is-wsl
β”œβ”€β”€ isarray
β”œβ”€β”€ isexe
β”œβ”€β”€ iso8601-duration
β”œβ”€β”€ isobject
β”œβ”€β”€ isomorphic-fetch
β”œβ”€β”€ isurl
β”œβ”€β”€ jmespath
β”œβ”€β”€ js-yaml
β”œβ”€β”€ json-cycle
β”œβ”€β”€ json-refs
β”œβ”€β”€ json-stringify-safe
β”œβ”€β”€ jsonata
β”œβ”€β”€ jsonfile
β”œβ”€β”€ jszip
β”œβ”€β”€ jwt-decode
β”œβ”€β”€ kind-of
β”œβ”€β”€ klaw
β”œβ”€β”€ latest-version
β”œβ”€β”€ lazystream
β”œβ”€β”€ lie
β”œβ”€β”€ lodash
β”œβ”€β”€ lodash.difference
β”œβ”€β”€ lodash.pad
β”œβ”€β”€ lodash.padend
β”œβ”€β”€ lodash.padstart
β”œβ”€β”€ lodash.uniq
β”œβ”€β”€ lowercase-keys
β”œβ”€β”€ lru-cache
β”œβ”€β”€ lsmod
β”œβ”€β”€ make-dir
β”œβ”€β”€ map-cache
β”œβ”€β”€ map-visit
β”œβ”€β”€ media-typer
β”œβ”€β”€ merge-descriptors
β”œβ”€β”€ merge2
β”œβ”€β”€ methods
β”œβ”€β”€ micromatch
β”œβ”€β”€ mime
β”œβ”€β”€ mime-db
β”œβ”€β”€ mime-types
β”œβ”€β”€ minimatch
β”œβ”€β”€ minimist
β”œβ”€β”€ mixin-deep
β”œβ”€β”€ mkdirp
β”œβ”€β”€ moment
β”œβ”€β”€ ms
β”œβ”€β”€ mute-stream
β”œβ”€β”€ nanomatch
β”œβ”€β”€ native-promise-only
β”œβ”€β”€ negotiator
β”œβ”€β”€ node-dir
β”œβ”€β”€ node-fetch
β”œβ”€β”€ normalize-path
β”œβ”€β”€ npm-conf
β”œβ”€β”€ npm-run-path
β”œβ”€β”€ npmlog
β”œβ”€β”€ number-is-nan
β”œβ”€β”€ object-assign
β”œβ”€β”€ object-copy
β”œβ”€β”€ object-hash
β”œβ”€β”€ object-visit
β”œβ”€β”€ object.pick
β”œβ”€β”€ on-finished
β”œβ”€β”€ once
β”œβ”€β”€ onetime
β”œβ”€β”€ opn
β”œβ”€β”€ os-shim
β”œβ”€β”€ os-tmpdir
β”œβ”€β”€ p-finally
β”œβ”€β”€ package-json
β”œβ”€β”€ pako
β”œβ”€β”€ parseurl
β”œβ”€β”€ pascalcase
β”œβ”€β”€ path-dirname
β”œβ”€β”€ path-is-absolute
β”œβ”€β”€ path-is-inside
β”œβ”€β”€ path-key
β”œβ”€β”€ path-loader
β”œβ”€β”€ path-to-regexp
β”œβ”€β”€ path-type
β”œβ”€β”€ pend
β”œβ”€β”€ pify
β”œβ”€β”€ pinkie
β”œβ”€β”€ pinkie-promise
β”œβ”€β”€ posix-character-classes
β”œβ”€β”€ prepend-http
β”œβ”€β”€ process-nextick-args
β”œβ”€β”€ promise-queue
β”œβ”€β”€ proto-list
β”œβ”€β”€ proxy-addr
β”œβ”€β”€ pseudomap
β”œβ”€β”€ punycode
β”œβ”€β”€ qs
β”œβ”€β”€ querystring
β”œβ”€β”€ ramda
β”œβ”€β”€ range-parser
β”œβ”€β”€ raven
β”œβ”€β”€ raw-body
β”œβ”€β”€ rc
β”œβ”€β”€ readable-stream
β”œβ”€β”€ regenerator-runtime
β”œβ”€β”€ regex-not
β”œβ”€β”€ registry-auth-token
β”œβ”€β”€ registry-url
β”œβ”€β”€ remove-trailing-separator
β”œβ”€β”€ repeat-element
β”œβ”€β”€ repeat-string
β”œβ”€β”€ replaceall
β”œβ”€β”€ resolve-url
β”œβ”€β”€ restore-cursor
β”œβ”€β”€ ret
β”œβ”€β”€ rimraf
β”œβ”€β”€ run-async
β”œβ”€β”€ rx
β”œβ”€β”€ safe-buffer
β”œβ”€β”€ safe-regex
β”œβ”€β”€ safer-buffer
β”œβ”€β”€ sax
β”œβ”€β”€ seek-bzip
β”œβ”€β”€ semver
β”œβ”€β”€ semver-diff
β”œβ”€β”€ semver-regex
β”œβ”€β”€ send
β”œβ”€β”€ serve-static
β”œβ”€β”€ set-immediate-shim
β”œβ”€β”€ set-value
β”œβ”€β”€ setprototypeof
β”œβ”€β”€ shebang-command
β”œβ”€β”€ shebang-regex
β”œβ”€β”€ signal-exit
β”œβ”€β”€ slash
β”œβ”€β”€ snapdragon
β”œβ”€β”€ snapdragon-node
β”œβ”€β”€ snapdragon-util
β”œβ”€β”€ source-map
β”œβ”€β”€ source-map-resolve
β”œβ”€β”€ source-map-support
β”œβ”€β”€ source-map-url
β”œβ”€β”€ spawn-sync
β”œβ”€β”€ split-string
β”œβ”€β”€ sprintf-js
β”œβ”€β”€ stack-trace
β”œβ”€β”€ static-extend
β”œβ”€β”€ statuses
β”œβ”€β”€ string-width
β”œβ”€β”€ string_decoder
β”œβ”€β”€ strip-ansi
β”œβ”€β”€ strip-dirs
β”œβ”€β”€ strip-eof
β”œβ”€β”€ strip-json-comments
β”œβ”€β”€ strip-outer
β”œβ”€β”€ superagent
β”œβ”€β”€ supports-color
β”œβ”€β”€ tabtab
β”œβ”€β”€ tar-stream
β”œβ”€β”€ term-size
β”œβ”€β”€ through
β”œβ”€β”€ timed-out
β”œβ”€β”€ tmp
β”œβ”€β”€ to-buffer
β”œβ”€β”€ to-object-path
β”œβ”€β”€ to-regex
β”œβ”€β”€ to-regex-range
β”œβ”€β”€ toidentifier
β”œβ”€β”€ trim-repeated
β”œβ”€β”€ tunnel-agent
β”œβ”€β”€ type-is
β”œβ”€β”€ typedarray
β”œβ”€β”€ unbzip2-stream
β”œβ”€β”€ union-value
β”œβ”€β”€ unique-string
β”œβ”€β”€ universalify
β”œβ”€β”€ unpipe
β”œβ”€β”€ unset-value
β”œβ”€β”€ untildify
β”œβ”€β”€ unzip-response
β”œβ”€β”€ update-notifier
β”œβ”€β”€ uri-js
β”œβ”€β”€ urix
β”œβ”€β”€ url
β”œβ”€β”€ url-parse-lax
β”œβ”€β”€ url-to-options
β”œβ”€β”€ use
β”œβ”€β”€ util-deprecate
β”œβ”€β”€ utils-merge
β”œβ”€β”€ uuid
β”œβ”€β”€ vary
β”œβ”€β”€ walkdir
β”œβ”€β”€ whatwg-fetch
β”œβ”€β”€ which
β”œβ”€β”€ widest-line
β”œβ”€β”€ wrappy
β”œβ”€β”€ write-file-atomic
β”œβ”€β”€ xdg-basedir
β”œβ”€β”€ xml2js
β”œβ”€β”€ xmlbuilder
β”œβ”€β”€ xtend
β”œβ”€β”€ yallist
β”œβ”€β”€ yaml-ast-parser
β”œβ”€β”€ yamljs
β”œβ”€β”€ yauzl
└── zip-stream
397 directories
{
"name": "test",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"devDependencies": {
"serverless": "^1.46.1",
"serverless-plugin-typescript": "^1.1.7",
"typescript": "^3.5.2"
}
}
service: test
plugins:
- serverless-plugin-typescript
provider:
name: aws
runtime: nodejs10.x
memorySize: 256
functions:
app:
handler: app.handler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment