mirror of
https://github.com/cupcakearmy/wordpress-template.git
synced 2024-12-21 15:46:27 +00:00
build chain
This commit is contained in:
parent
35fa03d5e3
commit
62ee26e225
13
package.json
Normal file
13
package.json
Normal 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
5
src/js/index.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import $ from 'jquery'
|
||||||
|
|
||||||
|
$(() => {
|
||||||
|
console.log('Ready')
|
||||||
|
})
|
9
src/styles/index.styl
Normal file
9
src/styles/index.styl
Normal 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
|
Loading…
Reference in New Issue
Block a user