This commit is contained in:
Leandro Facchinetti 2022-10-31 19:37:52 +00:00
parent 1f475699f4
commit d42d26bcc1
3 changed files with 8 additions and 16 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
/node_modules/ /node_modules/
/distribution/ /build/
/data/ /data/

View File

@ -2,12 +2,6 @@
"name": "kill-the-newsletter", "name": "kill-the-newsletter",
"version": "1.0.1", "version": "1.0.1",
"description": "Convert email newsletters into Atom feeds", "description": "Convert email newsletters into Atom feeds",
"main": "distribution/index.js",
"types": "distribution/index.d.ts",
"bin": {
"kill-the-newsletter": "distribution/index.js"
},
"repository": "leafac/kill-the-newsletter",
"keywords": [ "keywords": [
"newsletter", "newsletter",
"atom feeds", "atom feeds",
@ -15,16 +9,18 @@
"self-hosted", "self-hosted",
"web application" "web application"
], ],
"author": "Leandro Facchinetti <kill-the-newsletter@leafac.com> (https://leafac.com)", "homepage": "https://kill-the-newsletter.com",
"license": "MIT", "repository": "https://github.com/leafac/kill-the-newsletter",
"bugs": "https://github.com/leafac/kill-the-newsletter/issues", "bugs": "https://github.com/leafac/kill-the-newsletter/issues",
"homepage": "https://github.com/leafac/kill-the-newsletter",
"funding": [ "funding": [
"https://patreon.com/leafac", "https://patreon.com/leafac",
"https://paypal.me/LeandroFacchinettiEU", "https://paypal.me/LeandroFacchinettiEU",
"https://github.com/sponsors/leafac", "https://github.com/sponsors/leafac",
"https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M" "https://btc.com/34KJBgtaFYMtDqpSgMayw9qiKWg2GQXA9M"
], ],
"author": "Leandro Facchinetti <kill-the-newsletter@leafac.com> (https://leafac.com)",
"license": "MIT",
"bin": "./build/index.mjs",
"scripts": { "scripts": {
"start": "node-dev source/index.ts", "start": "node-dev source/index.ts",
"test": "prettier --check \"source/**/*\" --end-of-line auto && jest", "test": "prettier --check \"source/**/*\" --end-of-line auto && jest",
@ -60,9 +56,5 @@
"ts-jest": "^27.0.5", "ts-jest": "^27.0.5",
"ts-node": "^9.1.1", "ts-node": "^9.1.1",
"typescript": "^4.2.3" "typescript": "^4.2.3"
},
"jest": {
"preset": "ts-jest",
"rootDir": "source"
} }
} }

View File

@ -1,13 +1,13 @@
{ {
"compilerOptions": { "compilerOptions": {
"rootDir": "./source/", "rootDir": "./source/",
"outDir": "./distribution/", "outDir": "./build/",
"module": "ESNext", "module": "ESNext",
"moduleResolution": "NodeNext", "moduleResolution": "NodeNext",
"esModuleInterop": true,
"lib": ["ESNext", "DOM", "DOM.Iterable"], "lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true, "skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"target": "ESNext", "target": "ESNext",
"declaration": true, "declaration": true,