-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpackage.json
58 lines (58 loc) · 2.38 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
{
"name": "aspnet.core.vuejs.template",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"postinstall": "dotnet restore ./api && dotnet restore ./api.test",
"build": "dotnet build ./api",
"test:api": "cd ./api.test && dotnet xunit",
"pretest:client": "./node_modules/typescript/bin/tsc -p ./client-web.test/",
"test:client": "mocha --require ignore-styles --recursive client-web.test/build/client-web.test",
"test": "npm run test:api && npm run test:client",
"migrate": "cd ./api/ && dotnet ef migrations add $(date +%s) && dotnet ef database update",
"prestart": "docker-compose up -d",
"start": "cd ./api && cross-env NODE_PATH=../node_modules/ ASPNETCORE_ENVIRONMENT=Development dotnet watch run",
"start:release": "npm run prerelease && cd ./api/bin/Release/netcoreapp1.0/publish/ && dotnet api.dll",
"provision:prod": "ansible-playbook -l production -i ./ops/hosts ./ops/provision.yml",
"prerelease": "cross-env ASPNETCORE_ENVIRONMENT=Production webpack --config ./client-web/webpack.config.js && cd ./api && dotnet publish --configuration Release",
"deploy:prod": "npm run prerelease && ansible-playbook -l production -i ./ops/hosts ./ops/deploy.yml",
"ssh:prod": "ssh `grep 'deploy_user=' ./ops/hosts | tail -n1 | awk -F'=' '{ print $2}'`@`awk 'f{print;f=0} /[production]/{f=1}' ./ops/hosts | head -n 1`"
},
"author": "",
"license": "ISC",
"devDependencies": {},
"dependencies": {
"@types/chai": "^3.4.32",
"@types/mocha": "^2.2.31",
"aspnet-webpack": "^1.0.11",
"bootstrap": "^4.0.0-alpha.6",
"chai": "^3.5.0",
"cross-env": "^3.1.3",
"css-loader": "^0.28.0",
"extendify": "^1.0.0",
"extract-text-webpack-plugin": "^2.1.0",
"file-loader": "^0.11.1",
"global": "^4.3.1",
"html-webpack-plugin": "^2.22.0",
"ignore-styles": "^5.0.1",
"mocha": "^3.0.2",
"prop-types": "^15.5.4",
"source-map-loader": "^0.1.5",
"style-loader": "^0.13.1",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.1",
"ts-loader": "^2.0.3",
"typescript": "^2.2.2",
"url-loader": "^0.5.8",
"vue": "^2.2.6",
"vue-class-component": "^5.0.1",
"vue-loader": "^11.3.4",
"vue-property-decorator": "^5.0.1",
"vue-router": "^2.3.1",
"vue-template-compiler": "^2.2.6",
"webpack": "^2.3.3",
"webpack-hot-middleware": "^2.18.0",
"whatwg-fetch": "^2.0.3"
}
}