-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 2.73 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
85
86
87
88
89
90
91
92
{
"name": "szpion",
"version": "0.0.2",
"description": "Daily Sprint Invigilation",
"author": "Rafał Hajdacki",
"license": "MIT",
"homepage": "https://github.com/rhajdacki/szpion#readme",
"main": "source/server/main.ts",
"repository": {
"type": "git",
"url": "https://github.com/rhajdacki/szpion"
},
"config": {
"deployHost": "example.host",
"deployDir": "/example/dir",
"deployPort": "8080"
},
"scripts": {
"start": "npm run start:server & npm run start:client",
"start:mock": "npm run start:server -- --mockJIRA & npm run start:client",
"start:client": "NODE_ENV=development parcel serve --target browser --port 8081 --cache-dir ./target/dev/cache --out-dir ./target/dev/client ./source/client/index.html",
"start:server": "NODE_ENV=development nodemon --watch ./source --inspect -r ts-node/register ./source/server/main.ts",
"start:prod": "npm run build && ./target/prod/szpion",
"clean": "rm -rf ./target",
"test": "tsc && jest --coverage",
"test:watch": "jest --watch",
"build": "npm run build:client && npm run build:server && npm run build:pkg",
"build:client": "parcel build --target browser --public-url . --cache-dir ./target/prod/cache --out-dir ./target/prod/client ./source/client/index.html",
"build:server": "parcel build --target node --bundle-node-modules --cache-dir ./target/prod/cache --out-dir ./target/prod/server ./source/server/main.ts",
"build:pkg": "pkg --output ./target/prod/szpion .",
"deploy": "./deploy.sh ./target/prod/szpion $npm_package_config_deployHost $npm_package_config_deployDir $npm_package_config_deployPort"
},
"dependencies": {
"classcat": "^3.2.3",
"cross-fetch": "^2.2.2",
"hyperapp": "^1.2.9",
"koa": "^2.5.2",
"koa-better-http-proxy": "^0.2.4",
"koa-router": "^7.4.0",
"koa-send": "^5.0.0"
},
"devDependencies": {
"@hyperapp/html": "^1.1.1",
"@types/jest": "^23.3.1",
"@types/koa": "^2.0.46",
"@types/koa-router": "^7.0.31",
"@types/koa-send": "^4.1.1",
"@types/node": "^10.9.4",
"@types/node-fetch": "^2.1.2",
"bulma": "0.7.1",
"bulma-pageloader": "^2.1.0",
"jest": "^23.5.0",
"node-sass": "^4.9.3",
"nodemon": "^1.18.3",
"parcel-bundler": "^1.10.0",
"pkg": "^4.3.4",
"sass": "^1.14.1",
"ts-jest": "^23.1.4",
"ts-node": "^7.0.1",
"typescript": "^3.0.1"
},
"browserslist": [
"> 5%"
],
"engines": {
"node": ">= 10.0.0"
},
"jest": {
"coverageDirectory": "./target/coverage",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"bin": "./target/prod/server/main.js",
"pkg": {
"assets": [
"./target/prod/client/**/*"
],
"targets": [
"node10-linux-x64"
]
}
}