Skip to content

Commit d91f1b2

Browse files
author
Won-Kyung Chung
committed
Add prettier:all script
1 parent e3272f0 commit d91f1b2

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

.git-blame-ignore-revs

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Run prettier
2+

.prettierignore

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.DS_Store
2+
3+
.git/
4+
5+
# IDEA specific
6+
/.idea
7+
*.iml
8+
9+
# VS Code specific
10+
.vscode
11+
jsconfig.json
12+
typings
13+
typings.json
14+
15+
# Eclipse specific
16+
.jshintrc
17+
.project
18+
.settings/
19+
20+
# Settings
21+
config/localSettings.js
22+
23+
# Logs
24+
logs/*
25+
*.log
26+
27+
# Dependency directory for NPM
28+
node_modules/*
29+
30+
# Docker
31+
*.env
32+
33+
# Generated with npm dependencies.
34+
35+
# test coverage
36+
coverage
37+
38+
# Handlebars
39+
*.handlebars

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"main": "app.js",
77
"private": true,
88
"scripts": {
9+
"prettier:all": "prettier --write \"**/*.js\"",
910
"test": "jest",
1011
"test:watch": "jest --watch",
1112
"test:unit-in-docker": "docker build --progress plain -t node-api . && bash -c 'LOCAL_IMAGE_ID=node-api docker-compose -f docker-compose-unit-tests.yml* up --abort-on-container-exit --build --remove-orphans'",

0 commit comments

Comments
 (0)