xmpp.chapril.org-conversejs/package.json
JC Brand 4b6626ee70 Improve and simplify the webpack builds
I've now also figured out why loading of chunks failed when running
using converse.js (but not when using converse.min.js or when running `make watch`).

When running `make dist`, first `converse.js` and `converse.min.js` were
built with `mode` set to `development` (via `webpack.dev.js`) and then
`converse.min.js` was again built with mode set to `production` (via
`webpack.prod.js`).

When running only one build or the other (either `webpack.dev.js` or
`webpack.prod.js`) then the loading of chunks didn't fail, so it had
something to do with running both builds back to back.

I've now removed the `.dev.js` webpack config files and instead build
the minimized and non-minimized from the same config file
`webpack.build.js`.

I did the same for the headless builds.
2022-05-05 07:28:44 +02:00

116 lines
3.1 KiB
JSON

{
"name": "converse.js",
"version": "9.1.0",
"description": "Browser based XMPP chat client",
"browser": "dist/converse.js",
"module": "src/converse.js",
"files": [
"*.js",
"*.json",
"CHANGES.md",
"LICENSE.txt",
"README.md",
"COPYRIGHT",
"dist/",
"docs/**/*.rst",
"docs/**/*.md",
"sass/**/*.scss",
"src/*.js",
"src/**/*.pot",
"src/**/*.po",
"src/**/*.js",
"src/**/*.html",
"src/**/*.svg",
"src/**/*.md",
"src/**/*.txt",
"src/**/*.json"
],
"scripts": {
"serve": "webpack serve --config webpack/webpack.serve.js",
"clean": "rm -rf node_modules dist *.zip src/headless/dist src/headless/node_modules",
"headless": "webpack --config webpack/webpack.headless.js",
"headless-dev": "webpack --config webpack/webpack.headless.js --mode=development",
"cdn": "ASSET_PATH=https://cdn.conversejs.org/dist/ npm run build",
"build": "webpack --config webpack/webpack.build.js",
"dev": "webpack --config webpack/webpack.build.js --mode=development",
"watch": "webpack --watch --config webpack/webpack.build.js --mode=development",
"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": [
"converse.js",
"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.14.5",
"@babel/core": "^7.17.9",
"@babel/preset-env": "^7.14.7",
"@converse/headless": "file:src/headless",
"autoprefixer": "^10.4.5",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.5",
"bootstrap.native-loader": "2.0.0",
"clean-css-cli": "^5.6.0",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.7.1",
"eslint": "^7.32.0",
"fast-text-encoding": "^1.0.3",
"html-webpack-plugin": "^5.3.2",
"http-server": "^14.1.0",
"imports-loader": "^3.0.0",
"install": "^0.13.0",
"jsdoc": "^3.6.7",
"karma": "^6.3.19",
"karma-chrome-launcher": "^3.1.1",
"karma-cli": "^2.0.0",
"karma-jasmine": "^5.0.0",
"karma-jasmine-html-reporter": "^1.7.0",
"karma-webpack": "^5.0.0",
"lerna": "^4.0.0",
"mini-css-extract-plugin": "^2.6.0",
"minimist": "^1.2.6",
"po-loader": "0.6.1",
"postcss": "^8.4.12",
"postcss-clean": "1.2.0",
"postcss-loader": "^6.2.1",
"prettierx": "^0.19.0",
"sass": "^1.51.0",
"sass-loader": "^12.6.0",
"style-loader": "^3.1.0",
"webpack": "^5.72.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.8.1",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@fortawesome/fontawesome-free": "5.14.0",
"bootstrap": "^4.6.0",
"bootstrap.native": "^2.0.27",
"client-compress": "^2.2.2",
"dompurify": "^2.3.1",
"favico.js-slevomat": "^0.3.11",
"jed": "1.1.1",
"lit": "^2.2.2"
}
}