build chain

This commit is contained in:
cupcakearmy 2019-08-25 18:39:19 +02:00
parent 35fa03d5e3
commit 62ee26e225
3 changed files with 27 additions and 0 deletions

13
package.json Normal file
View File

@ -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"
}
}

5
src/js/index.js Normal file
View File

@ -0,0 +1,5 @@
import $ from 'jquery'
$(() => {
console.log('Ready')
})

9
src/styles/index.styl Normal file
View File

@ -0,0 +1,9 @@
html, body:
padding 0
margin 0
font-size: 1rem
*:
box-sizing border-box
-webkit-overflow-scrolling touch
scroll-behavior smooth