packaging: Use an include list in package.json

This commit is contained in:
Reto Brunner 2023-03-14 07:35:35 +01:00
commit efd24fd12c
2 changed files with 9 additions and 25 deletions

View file

@ -1,25 +0,0 @@
# This file must not contain generated assets listed in .gitignore.
# npm-debug.log and node_modules/ are ignored by default.
# See https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package
# Ignore all dot files except for .thelounge_home
.*
!.thelounge_home
# Ignore client folder as it's being built into public/ folder
# except for the specified files which are used by the server
client/**
!client/js/constants.ts
!client/js/helpers/ircmessageparser/findLinks.ts
!client/js/helpers/ircmessageparser/cleanIrcMessage.ts
!client/index.html.tpl
public/js/bundle.vendor.js.map
coverage/
scripts/
test/
appveyor.yml
webpack.config*.js
postcss.config.js
renovate.json

View file

@ -42,6 +42,15 @@
"engines": {
"node": ">=14.0.0"
},
"files": [
"./.thelounge_home",
"./index.js",
"./yarn.lock",
"./client/index.html.tpl",
"./dist/package.json",
"./dist/**/*.js",
"./public/**"
],
"dependencies": {
"@fastify/busboy": "1.0.0",
"bcryptjs": "2.4.3",