Add heml
This commit is contained in:
parent
99c35b1756
commit
f1545308ce
2 changed files with 819 additions and 40 deletions
|
|
@ -15,6 +15,7 @@
|
|||
"eslint-plugin-standard": "^3.0.1",
|
||||
"glob": "^7.1.2",
|
||||
"gray-matter": "^3.1.1",
|
||||
"heml": "^1.1.3",
|
||||
"js-yaml": "^3.10.0",
|
||||
"postcss": "^6.0.14",
|
||||
"postcss-cli": "^4.1.1",
|
||||
|
|
@ -43,8 +44,10 @@
|
|||
},
|
||||
"scripts": {
|
||||
"start": "npm run watch:content & react-scripts start",
|
||||
"start:heml": "heml develop email.heml",
|
||||
"build": "npm run prepare-content && react-scripts build && npm run build:postcss && react-snapshot && npm run sw",
|
||||
"build:postcss": "postcss build/static/css/*.css -r",
|
||||
"build:heml": "postcss build/static/css/*.css -r",
|
||||
"parse-content": "node ./functions/parse-content.js",
|
||||
"resize-images": "node ./functions/resize-images.js",
|
||||
"prepare-content": "npm run parse-content && npm run resize-images",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue