Skip to content

Commit

Permalink
Move src files into folder
Browse files Browse the repository at this point in the history
This will make the published package smaller
  • Loading branch information
Graham42 committed Feb 17, 2021
1 parent 4eaf99b commit 2ad4438
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
"name": "cfn-lint-to-codeframe",
"version": "1.0.4",
"description": "",
"main": "index.js",
"scripts": {
"lint:format": "prettier --check \"**/*.{js,jsx,ts,tsx,html,vue,css,less,scss,graphql,yaml,yml,json,md,mdx}\"",
"fix:format": "prettier --write \"**/*.{js,jsx,ts,tsx,html,vue,css,less,scss,graphql,yaml,yml,json,md,mdx}\"",
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin": "index.js",
"main": "src/index.js",
"bin": "src/index.js",
"files": [
"src/"
],
"keywords": [
"AWS",
"CloudFormation",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

template="$1"
input=$(cfn-lint -t "${template}" -f parseable)
echo "$input" | ./index.js >/dev/null
echo "$input" | ./src/index.js >/dev/null
if [ $? -ne 0 ]; then
echo "Error with $template"
fi

0 comments on commit 2ad4438

Please sign in to comment.