cleanup
This commit is contained in:
parent
34a910273e
commit
660b95b999
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!'))
|
16
package.json
16
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"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue