xmpp.chapril.org-conversejs/package.json
JC Brand 01fce55733 Add prettierx and tentatively use it for some formatting
I'm using prettierx, which is a fork of prettier so that we can have
spaces before the brackets in a function declaration.

I don't like how restrictive prettier is concerning its configuration
and formatting.

- it messes up some indentation in specs/
- it removes a second newline when I specifically want to have two
- it doesn't allow spaces before brackets in function declarations (hence prettierx)
- it adds spaces for function parameters with default values

None of this is configurable.

So auto-formatting is not turned on by default, but it might be a useful
tool in some cases.

Fixes an issue where indentation was off in converse-core.js, causing
vim-sleuth to wrongly indent by three spaces only.
2019-06-05 10:25:31 +02:00

110 lines
3.3 KiB
JSON

{
"name": "converse.js",
"version": "4.2.0",
"description": "Browser based XMPP chat client",
"browser": "dist/converse.js",
"module": "src/converse.js",
"files": [
"CHANGES.md",
"LICENSE.txt",
"README.md",
"dist/",
"locale/**/*.json",
"sass/",
"sounds/",
"src/"
],
"scripts": {
"converse.css": "webpack --type=css --mode=development && rm -r tmp",
"converse.min.css": "npm run converse.css && cleancss --skip-rebase dist/converse.css > dist/converse.min.css",
"converse.js": "webpack --mode=development",
"converse.min.js": "npm run converse.js && webpack --mode=production",
"converse-headless.js": "webpack --mode=development --type=headless",
"converse-headless.min.js": "npm run converse-headless.js && webpack --mode=production --type=headless",
"clean": "rm -rf node_modules stamp-npm dist *.zip",
"build": "npm run converse.min.css && npm run converse-headless.min.js && npm run converse.min.js",
"lerna": "lerna bootstrap --hoist --ignore-scripts",
"prepare": "npm run lerna && npm run build"
},
"repository": {
"type": "git",
"url": "git://github.com/conversejs/converse.js.git"
},
"keywords": [
"XMPP",
"Jabber",
"chat",
"messaging",
"chatrooms",
"webchat"
],
"author": {
"name": "JC Brand",
"email": "jc@opkode.com"
},
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/conversejs/converse.js/issues"
},
"engines": {
"browser": "*"
},
"devDependencies": {
"@babel/cli": "^7.2.2",
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@converse/headless": "^4.0.2",
"@fortawesome/fontawesome-free": "5.3.1",
"babel-loader": "^8.0.4",
"backbone.nativeview": "conversejs/Backbone.NativeView#5997c8197ca594e6b8469447f28310c78bd1d95e",
"backbone.overview": "jcbrand/Backbone.Overview#b3e759127d859c90e8e21700a9a5714a3b828f0a",
"backbone.vdomview": "^1.0.1",
"bootstrap": "^4.0.0",
"bootstrap.native": "^2.0.26",
"bootstrap.native-loader": "2.0.0",
"bourbon": "^4.3.2",
"bytebuffer": "^3.5.5",
"clean-css-cli": "^4.0.10",
"css-loader": "^1.0.1",
"dayjs": "^1.8.13",
"es6-promise": "^4.1.0",
"eslint": "^5.10.0",
"eslint-plugin-lodash": "^2.7.0",
"exports-loader": "^0.7.0",
"fast-text-encoding": "^1.0.0",
"file-loader": "^3.0.1",
"filesize": "^3.6.1",
"formdata-polyfill": "^3.0.12",
"hellojs": "^1.16.1",
"http-server": "^0.10.0",
"imports-loader": "^0.8.0",
"install": "^0.9.5",
"jasmine-core": "2.99.1",
"jed": "1.1.1",
"jsdoc": "^3.5.5",
"lerna": "^3.14.1",
"lodash-template-webpack-loader": "jcbrand/lodash-template-webpack-loader",
"long": "^3.1.0",
"mini-css-extract-plugin": "^0.5.0",
"minimist": "^1.2.0",
"node-sass": "^4.11.0",
"npm": "^6.4.1",
"po2json": "^0.4.4",
"prettierx": "^0.6.0",
"requirejs": "2.3.5",
"run-headless-chromium": "^0.1.1",
"sass-loader": "^7.1.0",
"sinon": "^2.1.0",
"sizzle": "^2.3.3",
"snabbdom": "0.7.2",
"style-loader": "^0.23.1",
"uglify-es": "^3.0.24",
"urijs": "^1.19.1",
"wait-until-promise": "^1.0.0",
"webpack": "^4.28.1",
"webpack-cli": "^3.1.2",
"xss": "^0.3.3"
},
"dependencies": {}
}