mirror of
https://github.com/thelounge/thelounge
synced 2024-11-14 16:27:22 +00:00
fe6da75854
- Remove minified libs and compiled templates - Add a `prepublish` script to build assets, that run on `npm install` and right before publishing See https://docs.npmjs.com/misc/scripts - Include these compiled assets to the `.gitignore` file - Add an empty .npmignore to make sure the compiled assets are not ignored when publishing https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package - Update the README to reflect changes in development Note that the Travis CI configuration does not need any tweaking because it cleans up all extra and changed files, up to publishing on npm. That is, right before `prepublish` gets run. See https://docs.travis-ci.com/user/deployment/npm#Releasing-build-artifacts
7 lines
177 B
Text
7 lines
177 B
Text
node_modules/
|
|
npm-debug.log
|
|
|
|
# Built assets created at npm install/prepublish time
|
|
# See https://docs.npmjs.com/misc/scripts
|
|
client/js/libs.min.js
|
|
client/js/lounge.templates.js
|