aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRubén Beltrán del Río <ben@nsovocal.com>2018-04-22 16:40:39 -0500
committerGitHub <noreply@github.com>2018-04-22 16:40:39 -0500
commitf45bcde17fe0a8849e647ac843106fb51d2e8971 (patch)
tree92ce036ffb5cbcae446c4ad74c6dcbf5cb690156 /scripts
parent493ec31cb19b4211c703762d14a4e6232c4c2143 (diff)
Use Parcel (#5)
* Replace webpack with parcel * Use relative paths on the main index * Include the babel polyfill * Add missing semicolon * Add hooks to lint before commits * Delete webpack config
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/git-hooks/pre-commit3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/git-hooks/pre-commit b/scripts/git-hooks/pre-commit
new file mode 100755
index 0000000..fc83971
--- /dev/null
+++ b/scripts/git-hooks/pre-commit
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+npm run lint