This repository has been archived on 2022-09-16. You can view files and clone it, but cannot push or open issues or pull requests.
tlaternet-templates/package.json
Tristan Daniël Maat c08106fafd
Add .hbs extension to html output after dist build
This is necessary because rocket's templating uses file extensions to
identify which files to hand to its templating tool.

It would be nicer to work around this on the server end, or upstream,
but this is too much effort for now.
2020-05-31 03:56:28 +01:00

52 lines
1.5 KiB
JSON

{
"name": "tlaternet",
"version": "1.0.0",
"description": "tlaternet web interface",
"author": "Tristan Maat <tm@tlater.net>",
"license": "MIT",
"private": true,
"devDependencies": {
"@babel/preset-env": "^7.8.4",
"@types/jquery": "^3.3.33",
"jstransformer-markdown-it": "^2.1.0",
"parcel": "^2.0.0-alpha.3.2",
"posthtml-favicons": "^1.3.0",
"pug": "^2.0.4",
"sass": "^1.25.0",
"typescript-language-server": "^0.4.0"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.12.1",
"@types/react": "^16.9.23",
"@types/react-redux": "^7.1.7",
"bootstrap": "^4.0.0",
"classnames": "^2.2.6",
"immutability-helper": "^3.0.1",
"jquery": "^3.5.1",
"popper.js": "^1.16.1",
"react": "^16.13.0",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"redux-act": "^1.7.7",
"three": "^0.101.1"
},
"scripts": {
"build": "parcel build --no-autoinstall $(find src -path src/lib -prune -o -name '*.pug' -print)",
"serve": "parcel serve --no-autoinstall $(find src -path src/lib -prune -o -name '*.pug' -print)",
"watch": "parcel watch --no-autoinstall $(find src -path src/lib -prune -o -name '*.pug' -print)",
"build-dist": "parcel build --no-cache --no-autoinstall $(find src -path src/lib -prune -o -name '*.pug' -print); rename '.html' '.html.hbs' dist/browser/*.html"
},
"targets": {
"browser": {
"engines": {
"browsers": [
">1%",
"not dead"
]
},
"distDir": "dist"
}
}
}