- Change the build process to allow cache busting - Optimisations to the build process - Several improvements of UI geared towards mobile experience -
63 lines
2.2 KiB
JSON
63 lines
2.2 KiB
JSON
{
|
|
"dependencies": {
|
|
"@popperjs/core": "^2.11.8",
|
|
"animejs": "^4.0.2",
|
|
"bootstrap": "^5.3.6",
|
|
"datatables.net": "^2.3.1",
|
|
"highlight.js": "^11.11.1",
|
|
"jquery": "^3.7.1",
|
|
"marked": "^16.0.0",
|
|
"nouislider": "^15.8.1",
|
|
"parallax": "^0.0.0",
|
|
"prismjs": "^1.30.0",
|
|
"select2": "^4.1.0-rc.0",
|
|
"tabulator-tables": "^6.3.1",
|
|
"typed.js": "^2.1.0",
|
|
"vanilla-jsoneditor": "^3.5.0",
|
|
"vue": "^3.5.17"
|
|
},
|
|
"devDependencies": {
|
|
"@parcel/transformer-sass": "^2.15.2",
|
|
"@parcel/transformer-vue": "^2.15.2",
|
|
"parcel": "^2.15.2"
|
|
},
|
|
"alias": {
|
|
"vue": "vue/dist/vue.esm-bundler.js"
|
|
},
|
|
"browserslist": [
|
|
"> 0.5%",
|
|
"last 2 versions",
|
|
"not dead"
|
|
],
|
|
"@parcel/transformer-js": {
|
|
"inlineFS": true,
|
|
"inlineEnvironment": [
|
|
"NODE_ENV"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"prebuild": "mkdir -p static/dist && npm run sync-assets",
|
|
"sync-assets": "rsync -av ../eveai_app/static/assets/ static/assets/ && rsync -av ../eveai_chat_client/static/assets/ static/assets/",
|
|
"build": "npm run prebuild && npm run build:main && npm run build:chat && npm run postbuild",
|
|
"build:main": "NODE_ENV=production parcel build frontend_src/entries/main.html",
|
|
"build:chat": "NODE_ENV=production parcel build frontend_src/entries/chat-client.html",
|
|
"predev": "mkdir -p static/dist && npm run sync-assets",
|
|
"dev": "npm run predev && parcel frontend_src/js/main.js --dist-dir static/dist --public-url /static/dist/ & parcel frontend_src/js/chat-client.js --dist-dir static/dist --public-url /static/dist/",
|
|
"prewatch": "mkdir -p static/dist && npm run sync-assets",
|
|
"watch": "npm run prewatch && parcel watch frontend_src/js/main.js --dist-dir static/dist --public-url /static/dist/ & parcel watch frontend_src/js/chat-client.js --dist-dir static/dist --public-url /static/dist/",
|
|
"clean": "rm -rf static/dist/* static/assets .parcel-cache",
|
|
"postbuild": "node scripts/generate-manifest.mjs"
|
|
},
|
|
"targets": {
|
|
"default": {
|
|
"context": "browser",
|
|
"distDir": "static/dist",
|
|
"publicUrl": "/static/dist/",
|
|
"outputFormat": "esmodule",
|
|
"isLibrary": false,
|
|
"optimize": true,
|
|
"sourceMap": false
|
|
}
|
|
}
|
|
}
|