mirror of
https://github.com/thelounge/thelounge
synced 2024-11-14 00:07:17 +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
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "thelounge",
|
|
"description": "The self-hosted Web IRC client",
|
|
"version": "1.0.2",
|
|
"preferGlobal": true,
|
|
"bin": {
|
|
"lounge": "index.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/thelounge/lounge.git"
|
|
},
|
|
"scripts": {
|
|
"start": "node index",
|
|
"build": "grunt",
|
|
"test": "HOME=test/fixtures mocha test/**/*.js && npm run lint",
|
|
"lint": "eslint .",
|
|
"prepublish": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"browser",
|
|
"web",
|
|
"chat",
|
|
"client",
|
|
"irc",
|
|
"server"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"bcrypt-nodejs": "0.0.3",
|
|
"cheerio": "0.20.0",
|
|
"commander": "2.9.0",
|
|
"event-stream": "3.3.2",
|
|
"express": "4.13.4",
|
|
"lodash": "~2.4.1",
|
|
"mkdirp": "0.5.1",
|
|
"moment": "2.11.2",
|
|
"read": "1.0.7",
|
|
"request": "2.69.0",
|
|
"slate-irc": "0.8.1",
|
|
"socket.io": "~1.0.6"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^1.5.1",
|
|
"grunt": "~0.4.5",
|
|
"grunt-cli": "^0.1.13",
|
|
"grunt-contrib-uglify": "~0.5.0",
|
|
"grunt-contrib-watch": "^0.6.1",
|
|
"handlebars": "^2.0.0",
|
|
"mocha": "~2.0.1"
|
|
}
|
|
}
|