50 lines
2.3 KiB
JSON
50 lines
2.3 KiB
JSON
{
|
|
"name": "douscord",
|
|
"description": "PTUT",
|
|
"version": "1.0.0",
|
|
"author": "xdrm-brackets <xdrm.brackets.dev@gmail.com> SeekDaSky <mascaro.lucas@yahoo.fr G. Fauvet <gfauvet@gmail.com>",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"clean": "rm ./public_html/*.html; rm ./public_html/*.js; rm ./public_html/*.css; rm ./public_html/*svg; rm ./public_html/*.map; exit 0",
|
|
"clean:all": "npm run clean; npm run clean:electron; npm run clean:release; npm run clean:package; exit 0",
|
|
"clean:electron": "rm -r ./electron-build; exit 0",
|
|
"clean:release": "rm -r ./releases; exit 0",
|
|
"clean:package": "rm -r ./package; exit 0",
|
|
"dev": "parcel watch ./parcel/index.html --out-dir ./public_html --no-hmr",
|
|
"build:alternative": "cross-env NODE_ENV=production parcel watch ./parcel/index.html --out-dir ./public_html --no-hmr",
|
|
"build": "parcel build ./parcel/index.html --public-url ./ --out-dir ./public_html --no-source-maps --no-minify",
|
|
"build:electron": "parcel build ./parcel/index.html --public-url ./ --out-dir ./electron-build --no-source-maps --no-minify --target=electron; npm run build:electron:setup",
|
|
"build:electron:setup": "npm run build:electron:setup-config; npm run build:electron:setup-index;",
|
|
"build:electron:setup-config": "cp ./electron.json ./electron-build/package.json; npm --prefix ./electron-build install",
|
|
"build:electron:setup-index": "cp ./electron.js ./electron-build/index.js",
|
|
"electron": "electron ./electron-build",
|
|
"package": "npm run build:electron; electron-packager ./electron-build douscord --asar --platform linux --arch x64 --out ./releases --overwrite;",
|
|
"package:deb": "electron-installer-debian --src ./releases/douscord-linux-x64 --dest ./packages --arch x64"
|
|
},
|
|
"dependencies": {
|
|
"vue": "^2.5.9",
|
|
"vue-hot-reload-api": "^2.3.0",
|
|
"vue-router": "^2.5.3"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not ie <= 8"
|
|
],
|
|
"devDependencies": {
|
|
"@vue/component-compiler-utils": "^1.0.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-preset-env": "^1.6.0",
|
|
"babel-preset-stage-3": "^6.24.1",
|
|
"cross-env": "^5.0.5",
|
|
"electron": "^1.8.4",
|
|
"electron-installer-debian": "^0.8.1",
|
|
"electron-packager": "^12.0.0",
|
|
"node-sass": "^4.8.3",
|
|
"parcel-bundler": "^1.7.0",
|
|
"vue-template-compiler": "^2.5.16"
|
|
}
|
|
}
|