packaging: Use an include list in package.json
This commit is contained in:
commit
efd24fd12c
25
.npmignore
25
.npmignore
@ -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
|
|
||||||
|
|
@ -42,6 +42,15 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.0.0"
|
"node": ">=14.0.0"
|
||||||
},
|
},
|
||||||
|
"files": [
|
||||||
|
"./.thelounge_home",
|
||||||
|
"./index.js",
|
||||||
|
"./yarn.lock",
|
||||||
|
"./client/index.html.tpl",
|
||||||
|
"./dist/package.json",
|
||||||
|
"./dist/**/*.js",
|
||||||
|
"./public/**"
|
||||||
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/busboy": "1.0.0",
|
"@fastify/busboy": "1.0.0",
|
||||||
"bcryptjs": "2.4.3",
|
"bcryptjs": "2.4.3",
|
||||||
|
Loading…
Reference in New Issue
Block a user