diff --git a/package.json b/package.json new file mode 100644 index 0000000..8aedf4e --- /dev/null +++ b/package.json @@ -0,0 +1,13 @@ +{ + "private": true, + "scripts": { + "dev": "parcel watch -d theme/dist ./src/js/index.js ./src/styles/index.styl" + }, + "dependencies": { + "jquery": "^3.4.1" + }, + "devDependencies": { + "parcel-bundler": "^1.12.3", + "stylus": "^0.54.7" + } +} diff --git a/src/js/index.js b/src/js/index.js new file mode 100644 index 0000000..c555fb6 --- /dev/null +++ b/src/js/index.js @@ -0,0 +1,5 @@ +import $ from 'jquery' + +$(() => { + console.log('Ready') +}) \ No newline at end of file diff --git a/src/styles/index.styl b/src/styles/index.styl new file mode 100644 index 0000000..be8576b --- /dev/null +++ b/src/styles/index.styl @@ -0,0 +1,9 @@ +html, body: + padding 0 + margin 0 + font-size: 1rem + +*: + box-sizing border-box + -webkit-overflow-scrolling touch + scroll-behavior smooth \ No newline at end of file