Skip to content

Commit

Permalink
Added build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
pozil committed Oct 21, 2019
1 parent 153fa44 commit d018116
Show file tree
Hide file tree
Showing 5 changed files with 10,658 additions and 9,946 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.localdevserver
.sfdx
.vscode
15 changes: 15 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"trailingComma": "none",
"singleQuote": true,
"tabWidth": 4,
"overrides": [
{
"files": "**/lwc/**/*.html",
"options": { "parser": "lwc" }
},
{
"files": "*.{cmp,page,component}",
"options": { "parser": "html" }
}
]
}
10 changes: 10 additions & 0 deletions install-scripts/check-version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const semver = require('semver');
const pjson = require('../package.json');

const version = pjson.engines.node;
if (!semver.satisfies(process.version, version)) {
console.log(
`\n\nRequired node version ${version} not satisfied with current version ${process.version}.\n\n`
);
process.exit(1);
}
Loading

0 comments on commit d018116

Please sign in to comment.