main/package.json

42 lines
1.4 KiB
JSON
Raw Permalink Normal View History

2017-11-28 12:37:49 +00:00
{
"name": "ndli1718",
"description": "Nuit de l'Info projet team 'Into The While'",
"version": "1.0.0",
"author": "xdrm-brackets <doowap31@gmail.com>",
"license": "MIT",
"private": true,
"scripts": {
2017-12-04 23:00:22 +00:00
"build:clean": "rm ./public_html/js/bundle@*.js*",
"build:bundle": "cross-env NODE_ENV=production webpack --progress --hide-modules",
2017-12-04 23:00:22 +00:00
"build:dev": "cross-env NODE_ENV=development webpack --progress --hide-modules",
"dev": "npm run build:clean; npm run build:dev",
"build": "npm run build:clean; npm run build:bundle",
"ws-start": "java -jar ./ndli1718.jar > ./websocket.out 2>&1 &",
"ws-stop": "ps -aux | grep 'java -jar ./ndli1718.jar' | grep -v 'grep' && echo 'killing process..' && kill `ps -aux | grep \"java -jar ./ndli1718.jar\" | grep -v \"grep\" | awk '{print $2}'` && echo 'killed' || return 0",
"ws-restart": "npm run ws-stop; npm run ws-start"
2017-11-28 12:37:49 +00:00
},
"dependencies": {
"vue": "^2.5.9"
2017-11-28 12:37:49 +00:00
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"devDependencies": {
"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",
"css-loader": "^0.28.7",
"file-loader": "^1.1.4",
"vue-loader": "^13.0.5",
"vue-template-compiler": "^2.5.9",
2017-12-04 23:00:22 +00:00
"vue-router": "^2.5.3",
"webpack": "^3.8.1",
"webpack-dev-server": "^2.9.5"
2017-11-28 12:37:49 +00:00
}
}