mirror of
https://github.com/cupcakearmy/cometa.git
synced 2025-09-05 20:40:39 +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",
|
||||
"description": "Templating Engine",
|
||||
"main": "app.js",
|
||||
"scripts": {},
|
||||
"description": "Cometa Templating Engine",
|
||||
"keywords": [
|
||||
"Templating",
|
||||
"Engine"
|
||||
],
|
||||
"repository": {
|
||||
"url": "https://github.com/CupCakeArmy/cometa",
|
||||
"type": "github"
|
||||
},
|
||||
"author": "Niccolo Borgioli",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/node": "^9.4.0"
|
||||
"devDependencies": {
|
||||
"@types/node": "^9.4.1"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user