Skip to content

Commit

Permalink
Updated for ts
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoBruni committed Feb 13, 2024
1 parent 989de73 commit 792f0dc
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
"test": "tap -j1 --allow-incomplete-coverage ./test/*.test.js",
"coverage": "tap -j1 ./test/*.test.js",
"lint": "eslint \"src/**/*.[jt]s?(x)\" \"test/**/*.?(c)[jt]s\"",
"lint:fix": "npm run lint -- --fix"
"lint:fix": "npm run lint -- --fix",
"buildcjs": "rollup ./src/index.js --file ./src/index.cjs --format cjs",
"clean": "rimraf ./dist",
"prepublishOnly": "npm run tsc && npm run buildcjs && npm test",
"test:ci": "npm run prepublishOnly",
"tsc": "npm run clean; tsc"
},
"repository": "https://github.com/jeka-kiselyov/fastify-mongoose-api.git",
"keywords": [
Expand All @@ -29,6 +34,7 @@
],
"license": "MIT",
"dependencies": {
"@types/node": "^20.11.17",
"fastify": "^4.26.0",
"fastify-plugin": "^4.5.1",
"mongoose": "^8.1.1"
Expand All @@ -43,6 +49,14 @@
"grunt-eslint": "^24.3.0",
"grunt-tape": "^0.1.0",
"prettier": "^3.2.5",
"tap": "^18.7.0"
}
"rimraf": "^5.0.5",
"rollup": "^4.10.0",
"tap": "^18.7.0",
"typescript": "^5.3.3"
},
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"types": "./dist/index.d.ts"
}

0 comments on commit 792f0dc

Please sign in to comment.