mirror of
https://github.com/cupcakearmy/cometa.git
synced 2025-09-06 04:50:40 +00:00
cleanup
This commit is contained in:
16
app.ts
16
app.ts
@@ -1,16 +0,0 @@
|
|||||||
import * as express from 'express'
|
|
||||||
|
|
||||||
const app = express()
|
|
||||||
|
|
||||||
app.set('views', './views')
|
|
||||||
app.set('view engine', 'blitz')
|
|
||||||
app.engine('blitz', require('./src/blitz')._express)
|
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
|
||||||
res.render('new', {
|
|
||||||
myVar: 'whuup whuup',
|
|
||||||
arr: [{ test: true }, { test: false }],
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
app.listen(3000, () => console.log('Example app listening on port 3000!'))
|
|
14
package.json
14
package.json
@@ -1,16 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "template",
|
"name": "cometa",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Templating Engine",
|
"description": "Cometa Templating Engine",
|
||||||
"main": "app.js",
|
|
||||||
"scripts": {},
|
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Templating",
|
"Templating",
|
||||||
"Engine"
|
"Engine"
|
||||||
],
|
],
|
||||||
|
"repository": {
|
||||||
|
"url": "https://github.com/CupCakeArmy/cometa",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
"author": "Niccolo Borgioli",
|
"author": "Niccolo Borgioli",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^9.4.0"
|
"@types/node": "^9.4.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user