latus/template/package.json
2020-11-30 06:28:29 -06:00

38 lines
1.5 KiB
JSON

{
"name": "latus",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"build:client": "SIDE=CLIENT webpack --mode production --config webpack.config.js",
"build:docker": "yarn run build:client && yarn run build:server && docker build -t cha0s6983/reddichat:latest . && docker tag cha0s6983/reddichat:latest docker.i12e.cha0s.io/cha0s6983/reddichat:latest",
"build:server": "SIDE=SERVER webpack --mode production --config webpack.config.js",
"client": "SIDE=CLIENT webpack-dev-server --mode development --config webpack.config.js",
"docker": "docker-compose -p reddichat up",
"inspect": "node ./inspect.js",
"lint": "eslint --cache --format codeframe --ext mjs,jsx,js src",
"repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/reddichat-*.sock | tail -n 1)",
"server": "NODE_PRESERVE_SYMLINKS=1 webpack --watch --mode development --config webpack.config.js",
"test:client": "NODE_PRESERVE_SYMLINKS=1 SIDE=client mocha --watch",
"test:server": "NODE_PRESERVE_SYMLINKS=1 SIDE=server mocha --watch"
},
"dependencies": {
"@latus/core": "^1.0.0",
"@latus/http": "^1.0.0",
"dotenv": "8.2.0"
},
"devDependencies": {
"@neutrinojs/airbnb-base": "^9.1.0",
"@neutrinojs/clean": "^9.1.0",
"@neutrinojs/mocha": "^9.1.0",
"@neutrinojs/node": "^9.1.0",
"babel-plugin-webpack-alias": "^2.1.2",
"eslint": "^6",
"eslint-import-resolver-webpack": "^0.12.1",
"js-yaml": "3.14.0",
"neutrino": "^9.1.0",
"source-map-support": "0.5.19",
"webpack": "^4",
"webpack-cli": "^3"
}
}