Commit Graph

9 Commits

Author SHA1 Message Date
Pavel Djundik
4888ffea3b
Fix #1703 - Keep findLinks file in npm builds 2017-11-12 12:11:24 +02:00
Pavel Djundik
3f2a017583 Create public folder with webpack 2017-10-18 21:20:12 +03:00
Pavel Djundik
bdf93481e6 Do not ignore .lounge_home in npm releases 2017-09-29 20:10:57 +03:00
Pavel Djundik
58b2d8c788 Ignore all dotfiles in npmignore 2017-06-29 12:49:07 +03:00
Jérémie Astori
0b9c8a3432 Add nyc and Webpack config files to the files ignored when releasing
Comparing https://unpkg.com/thelounge@2.1.0/ and https://unpkg.com/thelounge@2.2.0/, these have slipped in.
2017-01-31 21:20:35 -05:00
Pavel Djundik
fb87bd3a58 Webpack 2016-12-27 19:15:30 +02:00
Jérémie Astori
f9c7255d0b Ignore unnecessary files at release time
- `client/views/` contains templates whose built version is provided
  with each releases
- `.gitignore` doesn't appear in our releases, but I'm not sure if this
  comes from npm itself or Travis CI publishing for us. Adding it here
  for completeness.
- Surprisingly, `.npmignore` itself is not ignored...
- All other files and directories are for development purposes only
2016-07-13 23:57:56 -04:00
Jérémie Astori
053e8a0e36 Add code coverage 2016-06-19 13:07:42 -04:00
Jérémie Astori
fe6da75854 Remove compiled assets and generate them at prepublish time
- 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
2016-02-18 06:01:37 +00:00