-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.13 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
{
"name": "typetalk-deck",
"version": "1.0.0",
"description": "",
"main": "electron/main.js",
"build": {
"appId": "jp.blogspot.uqtimes.samples.electron",
"directories": {
"app": "app"
},
"artifactName": "${productName}_installer.${ext}",
"mac": {
"category": "public.app-category.developer-tools",
"target": "dmg"
},
"win": {
"target": "nsis"
}
},
"scripts": {
"start": "rm -rd .cache/ ; npm run build ; ./node_modules/.bin/watch 'npm run build' ./src",
"build": "./node_modules/.bin/parcel build ./src/index.ts --target electron --no-minify -d ./build -o index",
"electron": "./node_modules/.bin/electron ./electron/main.js",
"tslint": "./node_modules/.bin/tslint --fix ./src/**/*.ts",
"test": "./node_modules/.bin/jest --coverage --no-cache",
"test-watch": "npm test ; ./node_modules/.bin/watch 'npm run test' ./src",
"clean-cache": "rm -rd .cache/ ; rm ./build/index.js ./build/index.map ./build/index.css",
"build-app": "rm -rd ./app/build ; cp -rf ./build ./app/build ; cp -rf ./secret.json ./app ; cp -rf ./electron ./app",
"pack": "npm run build-app ; npm run pack:mac ; npm run pack:win",
"pack:mac": "./node_modules/.bin/build --mac --x64",
"pack:win": "./node_modules/.bin/build --win --x64"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/jest": "^22.2.0",
"electron": "^1.8.3",
"electron-builder": "^20.8.1",
"jest": "^22.4.3",
"parcel-bundler": "^1.6.2",
"ts-jest": "^22.4.2",
"tslint": "^5.9.1",
"typescript": "^2.7.2",
"watch": "^1.0.2"
},
"dependencies": {
"@hyperapp/router": "^0.7.0",
"electron-notifications": "^1.0.0",
"hyperapp": "^1.1.2",
"request": "^2.85.0",
"showdown": "^1.8.6",
"ws": "^5.1.0"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfigFile": "./tsconfig.json"
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}