This commit is contained in:
parent
33ea83e0c1
commit
d9a47f1814
|
@ -23,7 +23,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 15
|
||||
node-version: 16
|
||||
- run: |
|
||||
npm ci
|
||||
${{ matrix.build }}
|
||||
|
@ -36,12 +36,13 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [windows, macos, ubuntu]
|
||||
node-version: [14, 15, 16]
|
||||
runs-on: ${{ matrix.os }}-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 15
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm install-ci-test
|
||||
|
||||
deploy:
|
||||
|
@ -84,7 +85,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 15
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: npm ci && npm publish
|
||||
env:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
/node_modules/
|
||||
/lib/
|
||||
/distribution/
|
||||
/data/
|
||||
|
|
File diff suppressed because it is too large
Load Diff
19
package.json
19
package.json
|
@ -2,10 +2,10 @@
|
|||
"name": "kill-the-newsletter",
|
||||
"version": "1.0.1",
|
||||
"description": "Convert email newsletters into Atom feeds",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"main": "distribution/index.js",
|
||||
"types": "distribution/index.d.ts",
|
||||
"bin": {
|
||||
"kill-the-newsletter": "lib/index.js"
|
||||
"kill-the-newsletter": "distribution/index.js"
|
||||
},
|
||||
"repository": "leafac/kill-the-newsletter",
|
||||
"keywords": [
|
||||
|
@ -20,8 +20,8 @@
|
|||
"bugs": "https://github.com/leafac/kill-the-newsletter/issues",
|
||||
"homepage": "https://github.com/leafac/kill-the-newsletter#readme",
|
||||
"scripts": {
|
||||
"start": "ts-node-dev --poll src/index.ts",
|
||||
"test": "prettier --check \"src/**/*\" --end-of-line auto && jest",
|
||||
"start": "ts-node-dev --poll source/index.ts",
|
||||
"test": "prettier --check \"source/**/*\" --end-of-line auto && jest",
|
||||
"prepare": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -40,24 +40,23 @@
|
|||
"devDependencies": {
|
||||
"@types/express": "^4.17.11",
|
||||
"@types/fs-extra": "^9.0.8",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/jest": "^27.0.1",
|
||||
"@types/mailparser": "^3.0.2",
|
||||
"@types/node": "^14.14.33",
|
||||
"@types/nodemailer": "^6.4.0",
|
||||
"@types/smtp-server": "^3.5.6",
|
||||
"caxa": "^1.0.0",
|
||||
"got": "^11.8.2",
|
||||
"jest": "^26.6.3",
|
||||
"jest": "^27.1.0",
|
||||
"nodemailer": "^6.4.18",
|
||||
"prettier": "^2.2.1",
|
||||
"ts-jest": "^26.5.3",
|
||||
"ts-jest": "^27.0.5",
|
||||
"ts-node": "^9.1.1",
|
||||
"ts-node-dev": "^1.1.6",
|
||||
"typescript": "^4.2.3"
|
||||
},
|
||||
"jest": {
|
||||
"rootDir": "src",
|
||||
"preset": "ts-jest",
|
||||
"testEnvironment": "node"
|
||||
"rootDir": "source"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "lib",
|
||||
"rootDir": "source",
|
||||
"outDir": "distribution",
|
||||
|
||||
"target": "ES2019",
|
||||
"module": "commonjs",
|
||||
|
|
Loading…
Reference in New Issue