This commit is contained in:
parent
68f933a194
commit
d36ed3ef47
|
@ -1,3 +1,5 @@
|
||||||
|
node_modules
|
||||||
|
lib
|
||||||
.caddy
|
.caddy
|
||||||
static/feeds/*
|
static/feeds/*
|
||||||
!static/feeds/.gitkeep
|
!static/feeds/.gitkeep
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"type": "npm",
|
||||||
|
"script": "dev:start",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"scripts": {
|
||||||
|
"start": "node src/index.js",
|
||||||
|
"test": "tsc && prettier --check 'src/**'",
|
||||||
|
"dev:start": "concurrently \"tsc --watch\" \"nodemon lib/index.js\""
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"express": "^4.17.1",
|
||||||
|
"xml2js": "^0.4.23"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/express": "^4.17.3",
|
||||||
|
"@types/jest": "^25.1.4",
|
||||||
|
"concurrently": "^5.1.0",
|
||||||
|
"jest": "^25.1.0",
|
||||||
|
"nodemon": "^2.0.2",
|
||||||
|
"prettier": "^1.19.1",
|
||||||
|
"typescript": "^3.8.3"
|
||||||
|
},
|
||||||
|
"jest": {
|
||||||
|
"rootDir": "lib",
|
||||||
|
"testEnvironment": "node"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
import express from "express";
|
||||||
|
|
||||||
|
const app = express();
|
||||||
|
|
||||||
|
app.listen(4000);
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ESNEXT",
|
||||||
|
"module": "commonjs",
|
||||||
|
"jsx": "react",
|
||||||
|
"sourceMap": true,
|
||||||
|
"rootDir": "src",
|
||||||
|
"outDir": "lib",
|
||||||
|
"strict": true,
|
||||||
|
"esModuleInterop": true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue