Sign inSign up

svls/node

By svls

•Updated over 8 years ago

node images for nodejs beautify check, lint, and unit test. Mostly used for serverless projects.

Image
0

1.4K

svls/node repository overview

⁠node

node images for nodejs beautify check, lint, and unit test (mocha). Mostly used for serverless projects.

If you need add more common packages for serverless project, raise PR.

⁠Usage

New generation CI/CD pipeline can use docker image to run the build and deploy commands, this image is mostly used for this purpose.

⁠js beautify

Add below steps in CI/CD pipeline, such Circle CI, Drone, Buildkite, bitbucket pipeline, etc.

- if [ `find . -name "*.js" -exec js-beautify -r {} \; |grep -v unchanged |wc -l` -ne 0 ]; then echo "Some js files need be formatted, run 'js-beautify -r <name>.js' to fix"; exit 1; fi

Tag summary

Content type

Image

Digest

Size

29.3 MB

Last updated

over 8 years ago

docker pull svls/node