-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
84 lines (84 loc) · 3.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "koa.vuejs.template",
"version": "1.0.0",
"engines": {
"node": ">=8.0.0"
},
"description": "",
"main": "server.js",
"scripts": {
"prestart": "docker-compose up -d && node -e 'console.log(\"Waiting for PostgreSQL to finish starting...\"); setTimeout(()=>{}, 3000)'",
"start": "cd ./api && ../node_modules/.bin/nodemon -e ts --exec '../node_modules/.bin/ts-node boot.ts'",
"test:unit": "cd ./test/unit && ../../node_modules/.bin/mocha-webpack --require domMocker.js --webpack-config ./webpack.config.js ./**/*.ts",
"test:integration": "cd ./test/integration && NODE_ENV='test' NODE_CONFIG_DIR='../../api/config' TS_NODE_PROJECT='./tsconfig.json' mocha --compilers ts:../../node_modules/ts-node/register --recursive *.ts",
"pretest": "npm run prestart",
"test": "npm run test:unit && npm run test:integration",
"start:production": "NODE_ENV=production node boot.js",
"migration:create": "cd ./api && ts-node ../node_modules/.bin/typeorm migrations:create -d db/migrations -n",
"build": "tsc -p ./api; webpack --config ./client-web/webpack.config.production.js; cp -r {package.json,./api/config} ./api/build",
"provision:production": "ansible-playbook -l production -i ./ops/config.yml ./ops/provision.yml",
"deploy:production": "npm run build && ansible-playbook -l production -i ./ops/config.yml ./ops/deploy.yml",
"ssh:production": "ssh `grep -A2 'hosts' ./ops/config.yml | tail -n +2 | head -n 1`"
},
"author": "Brady Holt",
"license": "MIT",
"devDependencies": {
"@types/bcrypt": "^1.0.0",
"@types/chai": "^4.0.0",
"@types/config": "^0.0.32",
"@types/koa": "^2.0.39",
"@types/koa-static": "^3.0.0",
"@types/mocha": "^2.2.41",
"@types/node": "^7.0.29",
"@types/nodemailer": "^1.3.32",
"@types/webpack": "^2.2.15",
"axios": "^0.16.2",
"bootstrap": "^4.0.0-alpha.6",
"chai": "^4.0.2",
"css-loader": "^0.28.4",
"extract-text-webpack-plugin": "^2.1.2",
"file-loader": "^0.11.2",
"html-webpack-plugin": "^2.22.0",
"jsdom": "^9.5.0",
"mocha": "^3.4.2",
"mocha-webpack": "^1.0.0-beta.1",
"nodemon": "^1.11.0",
"source-map-loader": "^0.2.1",
"style-loader": "^0.18.2",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.1",
"ts-loader": "^2.0.3",
"ts-node": "^3.0.6",
"typescript": "^2.3.4",
"url-loader": "^0.5.8",
"vue": "^2.3.4",
"vue-class-component": "^5.0.1",
"vue-loader": "^12.2.1",
"vue-property-decorator": "^5.1.0",
"vue-router": "^2.5.3",
"vue-template-compiler": "^2.3.4",
"webpack-dev-server": "^2.4.5",
"webpack-hot-middleware": "^2.18.0",
"webpack-node-externals": "^1.6.0",
"whatwg-fetch": "^2.0.3",
"write-file-webpack-plugin": "^4.1.0"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"config": "^1.26.1",
"js-yaml": "^3.8.4",
"jsonwebtoken": "^7.4.1",
"koa": "^2.2.0",
"koa-bodyparser": "^4.2.0",
"koa-router": "^7.2.0",
"koa-static": "^3.0.0",
"koa-webpack-dev-middleware": "^1.4.6",
"koa-webpack-hot-middleware": "^1.0.3",
"nodemailer": "^4.0.1",
"pg": "^6.2.4",
"reflect-metadata": "^0.1.10",
"routing-controllers": "^0.7.0",
"typeorm": "^0.1.0-alpha.10",
"webpack": "^2.3.3"
}
}